No commit activity in last 3 years
No release in over 3 years
Fluentd Parser Plugin to add choice for `format` option for elasticsearch logs with in_tail plugin.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

>= 0.10.46
 Project Readme

Fluentd Parser for elasticsearch Build Status

Fluentd Parser Plugin to add choice for format option for elasticsearch logs with in_tail plugin.

Installation

install with gem or fluent-gem command as:

# for fluentd
$ gem install fluent-parser-elasticsearch

# for td-agent
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-parser-elasticsearch

Usage

After installing this plugin, it has got ready to use this 3rd party format like below.

<source>
  type     tail
  tag      elasticsearch.general_log
  format   elasticsearch
  path     /var/log/elasticsearch/elasticsearch.log
  pos_file /var/log/td-agent/elasticsearch.log.pos
</source>

<match elasticsearch.*>
  type     stdout
</match>

TODO

Pull requests are very welcome!!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2014- Kentaro Yoshida (@yoshi_ken)

License

Apache License, Version 2.0