Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions input/tail.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ It is included in Fluentd's core.
<source>
@type tail
path /var/log/httpd-access.log
pos_file /var/log/td-agent/httpd-access.log.pos
pos_file /var/log/fluent/httpd-access.log.pos
tag apache.access
<parse>
@type apache2
Expand Down Expand Up @@ -312,7 +312,7 @@ If you set `multiline_flush_interval 5s`, `in_tail` flushes buffered event after
Fluentd will record the position it last read from this file:

```text
pos_file /var/log/td-agent/tmp/access.log.pos
pos_file /var/log/fluent/tmp/access.log.pos
```

`pos_file` handles multiple positions in one file so no need to have multiple `pos_file` parameters per `source`.
Expand All @@ -335,7 +335,7 @@ The interval of doing compaction of pos file.
The targets of compaction are unwatched, unparsable, and the duplicated line. You can use this value when `pos_file` option is set:

```text
pos_file /var/log/td-agent/tmp/access.log.pos
pos_file /var/log/fluent/tmp/access.log.pos
pos_file_compaction_interval 72h
```

Expand Down
6 changes: 3 additions & 3 deletions input/windows_eventlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $ fluent-gem install fluent-plugin-windows-eventlog
<storage>
@type local
persistent true
path C:\opt\td-agent\winevt.pos
path C:\opt\fluent\winevt.pos
</storage>
</source>
```
Expand Down Expand Up @@ -102,8 +102,8 @@ If you set `root_dir` in `<section>` and set `@id` in the plugin configuration,
```text
<storage>
persistent true
path C:\opt\td-agent\winevt.pos # This is required when persistent is true.
# Or, use <system> section's root_dir parameter.
path C:\opt\fluent\winevt.pos # This is required when persistent is true.
# Or, use <system> section's root_dir parameter.
</storage>
```

Expand Down
6 changes: 3 additions & 3 deletions output/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ In `buffered` mode, the user can specify `<secondary>` with any output plugin in

`<secondary>` is useful for backup when destination servers are unavailable, e.g. `forward`, `mongo`, etc. We strongly recommend `out_secondary_file` plugin for `<secondary>`.

This example sends logs to Elasticsearch using a file buffer `/var/log/td-agent/buffer/elasticsearch`, and any failure will be sent to `/var/log/td-agent/error/` using `my.logs` for file names:
This example sends logs to Elasticsearch using a file buffer `/var/log/fluent/buffer/elasticsearch`, and any failure will be sent to `/var/log/fluent/error/` using `my.logs` for file names:

```text
<match my.logs>
Expand All @@ -268,11 +268,11 @@ This example sends logs to Elasticsearch using a file buffer `/var/log/td-agent/
logstash_format true
<buffer>
@type file
path /var/log/td-agent/buffer/elasticsearch
path /var/log/fluent/buffer/elasticsearch
</buffer>
<secondary>
@type secondary_file
directory /var/log/td-agent/error
directory /var/log/fluent/error
basename my.logs
</secondary>
</match>
Expand Down
2 changes: 1 addition & 1 deletion output/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $ fluent-gem install fluent-plugin-kafka
# buffer settings
<buffer topic>
@type file
path /var/log/td-agent/buffer/td
path /var/log/fluent/buffer/td
flush_interval 3s
</buffer>

Expand Down
4 changes: 2 additions & 2 deletions output/rewrite_tag_filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ The plugins are required to be installed:
time_format %d/%b/%Y:%H:%M:%S %z
</parse>
tag apache.access
pos_file /var/log/td-agent/apache_access.pos
pos_file /var/log/fluent/apache_access.pos
</source>

# Forward to monitoring server
Expand Down Expand Up @@ -344,7 +344,7 @@ The plugins are required to be installed:
time_format %d/%b/%Y:%H:%M:%S %z
</parse>
tag apache.access
pos_file /var/log/td-agent/apache_access.pos
pos_file /var/log/fluent/apache_access.pos
</source>

# Forward to monitoring server
Expand Down
Loading