With this config, if your hostname is koala
and if you have files like
log/t1.log
/t2.log
/...
They are sent to
receiver/koala.t1.20141219.log
/koala.t2.20141219.log
/...
Right now, the time_format
must appear in out_file
. If you don't want it in the file name, you can embedded in the path by replacing
path receiver/${tag_parts[1..-2]}.*.log
with
path receiver/*/${tag_parts[1..-2]}.log
in receiver.conf
. That would change the file structure to
receiver/20141219/koala.t1.log
/20141219/koala.t2.log
/...
looks like this gets me where i want to be :-
buffer_path receiver/${tag_parts[0]}/${tag_parts[-2]}
going to run tests with more than my single "clienthost" shortly to see how it handles load...
thanks for the assist ;-)