fluent-plugin-tailpath

Fluentd plugin to tail files and add the file path to the message

Installation

Use RubyGems:

gem install fluent-plugin-tailpath

Configuration

For more info, the configuration is identical to im_file

Example:

 <source>
   type tailpath
   path /var/log/httpd-access.log
   pos_file /var/log/td-agent/httpd-access.log.pos
   tag apache.access
   format apache2
 </source>

Copyright (c) 2014 Jacob Wirth. See LICENSE for details.