You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
676 B
34 lines
676 B
4 years ago
|
<source>
|
||
|
@type forward
|
||
|
@id input1
|
||
|
@label @mainstream
|
||
|
port 24224
|
||
|
</source>
|
||
|
|
||
|
<filter **>
|
||
|
@type stdout
|
||
|
</filter>
|
||
|
|
||
|
<label @mainstream>
|
||
|
<match docker.**>
|
||
|
@type file
|
||
|
@id output_docker1
|
||
|
path /fluentd/log/docker.*.log
|
||
|
symlink_path /fluentd/log/docker.log
|
||
|
append true
|
||
|
time_slice_format %Y%m%d
|
||
|
time_slice_wait 1m
|
||
|
time_format %Y%m%dT%H%M%S%z
|
||
|
</match>
|
||
|
<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>
|