Skip to content

Instantly share code, notes, and snippets.

@sujaypillai
Forked from jsturtevant/fluentd.conf
Created May 21, 2019 16:09
Show Gist options
  • Save sujaypillai/4047529e176fd3c39ac2112607c37720 to your computer and use it in GitHub Desktop.
Save sujaypillai/4047529e176fd3c39ac2112607c37720 to your computer and use it in GitHub Desktop.
simple fluentd conf
<source>
@type forward
</source>
<match test.**>
@type stdout
</match>
<source>
@type tail
format none
path c:\var\log\containers\*.log
pos_file c:\var\log\containers\fluentd_test.pos
tag test
rotate_wait 5
read_from_head true
refresh_interval 60
</source>
<match test>
@type stdout
</match>
<source>
@type tail
format none
path C:\logs\log.log
pos_file C:\logs\fluentd_test.pos
tag test
rotate_wait 5
read_from_head true
refresh_interval 60
</source>
<match test>
@type stdout
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment