Skip to content

xthexder/fluent-plugin-tailpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages