Skip to content

Commit 6de7425

Browse files
authored
Update minio howto for fluent-package (#539)
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 3b8e190 commit 6de7425

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

how-to-guides/apache-to-minio.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following services are required to be set up correctly:
1010
* [Minio](https://minio.io/download/)
1111
* [Apache](https://httpd.apache.org/)
1212

13-
Also, if you have installed Fluentd through RubyGems \(without `td-agent`\), please install the [`out_s3`](../output/s3.md) plugin manually:
13+
Also, if you have installed Fluentd through RubyGems \(without `fluent-package`\), please install the [`out_s3`](../output/s3.md) plugin manually:
1414

1515
```text
1616
$ sudo fluent-gem install fluent-plugin-s3
@@ -20,21 +20,23 @@ $ sudo fluent-gem install fluent-plugin-s3
2020

2121
### Input Settings
2222

23-
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`:
2424

2525
```text
2626
<source>
2727
@type tail
2828
format apache2
2929
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
3131
tag minio.apache.access
3232
</source>
3333
```
3434

35+
{% hint style='info' %}
3536
NOTE: If you are using the standalone version of Fluentd, use `/etc/fluent/fluent.conf` instead.
37+
{% endhint %}
3638

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.
3840

3941
### Output Settings
4042

@@ -53,7 +55,7 @@ Now let's add settings for storing the incoming data in your Minio server. Since
5355
5456
<buffer time>
5557
@type file
56-
path /var/log/td-agent/s3
58+
path /var/log/fluent/s3
5759
timekey 60m # Flush the accumulated chunks every hour
5860
timekey_wait 1m # Wait for 60 seconds before flushing
5961
timekey_use_utc true # Use this option if you prefer UTC timestamps

0 commit comments

Comments
 (0)