No commit activity in last 3 years
No release in over 3 years
Store Fluentd event to Consul Key/Value Storage
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 0.2.1
 Project Readme

Consul output plugin for Fluentd

fluent-plugin-consul store Fluentd event to Consul Key/Value Storage

Installing

gem install fluent-plugin-consul

Configuration

example configuration

<store>
  type consul
  consul_uri http://localhost:8500 # default
  kv_prefix fluentd # default
</store>

Storing to Consul

input a json format data and store to Consul

for example, input record is

{
    "server": {
        "ip":"10.0.0.10",
        "netmask":"255.0.0.0"
    },
    "client": {
        "ip":"192.168.33.10",
        "netmask":"255.255.255.0"
    }
}

stored Key/Value Storage of Consul

  • {kv_prefix}/server/ip: 10.0.0.10
  • {kv_prefix}/server/netmask: 255.0.0.0
  • {kv_prefix}/client/ip: 192.168.33.10
  • {kv_prefix}/client/netmask: 255.255.255.0