Skip to content

Instantly share code, notes, and snippets.

@jsturtevant
Last active May 21, 2019 16:09
Show Gist options
  • Save jsturtevant/26b3f9b9fc87cf517d37c49759295eb6 to your computer and use it in GitHub Desktop.
Save jsturtevant/26b3f9b9fc87cf517d37c49759295eb6 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