Sha256: c7f3c7b76f4cd3c6c5550fd4cb9e2f67342f5d166d6b8b90c6b7883295bfe4e5
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
# systemd input plugin for [Fluentd](http://github.com/fluent/fluentd) [<img src="https://travis-ci.org/reevoo/fluent-plugin-systemd.svg?branch=master" alt="Build Status" />](https://travis-ci.org/reevoo/fluent-plugin-systemd) [<img src="https://codeclimate.com/github/reevoo/fluent-plugin-systemd/badges/gpa.svg" />](https://codeclimate.com/github/reevoo/fluent-plugin-systemd) ## Overview **systemd** input plugin reads logs from the systemd journal ## Installation Simply use RubyGems: gem install fluent-plugin-systemd or fluent-gem install fluent-plugin-systemd or td-agent-gem install fluent-plugin-systemd ## Configuration <source> type systemd path /var/log/journal filters [{ "_SYSTEMD_UNIT": "kube-proxy.service" }] pos_file kube-proxy.pos tag kube-proxy read_from_head true </source> **path** Path to the systemd journal, defaults to `/var/log/journal` **filters** Array of filters, see [here](http://www.rubydoc.info/gems/systemd-journal/Systemd%2FJournal%2FFilterable%3Afilter) for futher documentation, defaults to no filtering. **pos file** Path to pos file, stores the journald cursor. File is created if does not exist. **read_from_head** If true reads all avalible journal from head, otherwise starts reading from tail, ignored if pos file exists. Defaults to false. **tag** Required the tag for events generated by this input plugin. ## Dependencies This plugin depends on libsystemd ## Running the tests To run the tests simply run `rake test` For systems without systemd the tests are run in a docker container. So you will need docker or systemd installed to work on this. ## Licence etc [MIT](LICENCE) Issues and pull requests welcome
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-systemd-0.0.1 | README.md |