Fluentd output to file not working

20 views
Skip to first unread message

nsaran...@gmail.com

unread,
May 16, 2017, 12:56:56 PM5/16/17
to Fluentd Google Group
I've configured td-agent.conf as below.

Output to file
>
>  
>
> <source>
>
>   @type tail
>
>   path /opt/ei/apps/madswseid1/logs/madswseid1-tcs1/tomcat.log
>
>   tag tomcat.log
>
>   format none
>
>   refresh_interval 60
>
> </source>
>
>  
>
> <match tomcat.log>
>
>   @type file
>
>   path /var/log/fluentd/mylogs
>
>   time_slice_format %Y%m%d
>
>   time_slice_wait 10m
>
>   time_format %Y%m%dT%H%M%S%z
>
>   compress gzip
>
>   utc
>
> </match>



But I don't see the log collected under /var/logs/Fluentd/mylogs

Am I wrong anywhere? Please guide.

Mr. Fiber

unread,
May 16, 2017, 8:01:20 PM5/16/17
to Fluentd Google Group
path /var/log/fluentd/mylogs

Files are generated under  /var/log/fluentd/ directory, not  /var/log/fluentd/mylogs directory.
Check official article first:



Masahiro


--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages