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
In this example, we use the access log file as an input source, so save the following `<source>` settings to `/etc/td-agent/td-agent.conf`:
23
+
In this example, we use the access log file as an input source, so save the following `<source>` settings to `/etc/fluent/fluentd.conf`:
24
24
25
25
```text
26
26
<source>
27
27
@type tail
28
28
format apache2
29
29
path /var/log/apache2/access.log
30
-
pos_file /var/log/td-agent/apache.access.log.pos
30
+
pos_file /var/log/fluent/apache.access.log.pos
31
31
tag minio.apache.access
32
32
</source>
33
33
```
34
34
35
+
{% hint style='info' %}
35
36
NOTE: If you are using the standalone version of Fluentd, use `/etc/fluent/fluent.conf` instead.
37
+
{% endhint %}
36
38
37
-
Before proceeding, please confirm that the access log file has proper file permission. If the log file is not readable by the `td-agent`/`fluentd`, the rest of this article will not work.
39
+
Before proceeding, please confirm that the access log file has proper file permission. If the log file is not readable by the `fluent-package`/`fluentd`, the rest of this article will not work.
38
40
39
41
### Output Settings
40
42
@@ -53,7 +55,7 @@ Now let's add settings for storing the incoming data in your Minio server. Since
53
55
54
56
<buffer time>
55
57
@type file
56
-
path /var/log/td-agent/s3
58
+
path /var/log/fluent/s3
57
59
timekey 60m # Flush the accumulated chunks every hour
58
60
timekey_wait 1m # Wait for 60 seconds before flushing
59
61
timekey_use_utc true # Use this option if you prefer UTC timestamps
0 commit comments