fluent/fluentd — pull request #281 by szhem (2014-03-24 18:59:00+00:00)
Title: added path_key to include read path into the event under this key

When sending the events to the elasticsearch it''s quite useful to be able to understand what file is the origin of the received event.
The patch adds additional optional 'path_key' tag to the configuration, to hold the filename

type tail
path_key path
path /var/log/syslog
tag syslog

All the changes are backward compatible as the path is inserted into the event only if path_key is specified.