What variable names are available in file names?

69 views
Skip to first unread message

Lance N.

unread,
May 25, 2013, 10:17:53 PM5/25/13
to flu...@googlegroups.com
In the out_file and out_webhdfs plugins, what variables are available for subtitution in the file names?
The out_webhdfs man page mentions ${hostname} and ${uuid:random}. I'm not a Ruby developer and do not know how to find these in the source code. Where are they declared?

In particular I would like to use the routing tag in the file name. Is this possible?

Thanks,

Lance Norskog

Satoshi Tagomori

unread,
May 26, 2013, 3:26:25 AM5/26/13
to flu...@googlegroups.com
out_webhdfs is using fluent-mixin-config-placeholders, so variables below are supported now:
 * ${hostname}
 * ${uuid:random}
 * ${uuid:hostname}
 * ${uuid:timestamp}

For more, see: https://github.com/tagomoris/fluent-mixin-config-placeholders

2013年5月26日日曜日 11時17分53秒 UTC+9 Lance N.:

Lance Norskog

unread,
May 28, 2013, 1:27:39 PM5/28/13
to flu...@googlegroups.com
Thank you!
--
You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/NBOLnUY4w0o/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages