You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [Plugin Management](..//installation/post-installation-guide#plugin-management) section how to install fluent-plugin-kinesis on your environment.
44
44
45
45
## Configuration
46
46
47
-
Let's start configuring Fluentd. If you used the deb/rpm package, Fluentd's config file is located at `/etc/td-agent/td-agent.conf`. Otherwise, it is located at `/etc/fluentd/fluentd.conf`.
47
+
Let's start configuring Fluentd. If you used the deb/rpm package, Fluentd's config file is located at `/etc/fluent/fluentd.conf`.
48
48
49
49
### Tail Input
50
50
@@ -54,7 +54,7 @@ For the input source, we will set up Fluentd to track the recent Apache logs \(t
54
54
<source>
55
55
@type tail
56
56
path /var/log/apache2/access_log
57
-
pos_file /var/log/td-agent/apache2.access_log.pos
57
+
pos_file /var/log/fluent/apache2.access_log.pos
58
58
<parse>
59
59
@type apache2
60
60
</parse>
@@ -126,13 +126,11 @@ For those who are interested in security, all communication between Fluentd and
126
126
127
127
## Test
128
128
129
-
Restart `td-agent` to make sure that the configuration change is available:
129
+
Restart `fluentd` to make sure that the configuration change is available:
130
130
131
131
```text
132
-
# init
133
-
$ sudo /etc/init.d/td-agent restart
134
132
# systemd
135
-
$ sudo systemctl restart td-agent.service
133
+
$ sudo systemctl restart fluentd
136
134
```
137
135
138
136
To test the configuration, just have a couple of accesses to your Apache server. This example uses the `ab`\(Apache Bench\) program:
0 commit comments