No commit activity in last 3 years
No release in over 3 years
Fluentd plugin to tail files and add the file path to the message
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

~> 0.10.17
 Project Readme

fluent-plugin-tailpath, a plugin for Fluentd

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

Adds the following fields to log entires:

log_path - the full path to the source log file (eg. /var/log/nginx/access.log)
raw_message - the full un-modified log 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

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