Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created September 18, 2022 19:11
Show Gist options
  • Save jmrobles/12242942287c5ce551b77440610ef0e0 to your computer and use it in GitHub Desktop.
Save jmrobles/12242942287c5ce551b77440610ef0e0 to your computer and use it in GitHub Desktop.
<source>
@type http
@id input1
@label @mainstream
port 9880
bind 0.0.0.0
body_size_limit 32m
keepalive_timeout 10s
</source>
<filter **>
@type stdout
</filter>
<label @mainstream>
<match **>
@type file
@id output1
path /fluentd/log/data.*.log
symlink_path /fluentd/log/data.log
append true
time_slice_format %Y%m%d
time_slice_wait 10m
time_format %Y%m%dT%H%M%S%z
</match>
</label>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment