Skip to content

fukata/fluent-plugin-hostname

Repository files navigation

fluent-plugin-hostname, a plugin for Fluentd

Fluentd plugin put the hostname in the data.

Configuration

HostnameOutput

<match hoge.foo>
    type hostname
    key_name host
    add_prefix filtered
</match>

<match filterd.hoge.foo>
    ...
</match>

Output messages like:

{"field1": "value1", "field2": "value2", "host": "app01.hoge"}

Copyright

Copyright (c) 2012 Tatsuya Fukata. See LICENSE.txt for further details.

About

fluent plugin mixin data hostname

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages