Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fluent-plugin-collectd-influxdb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-collectd-influxdb

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Output filter plugin Output filter plugin to rewrite Collectd JSON output to be inserted into InfluxDB

Rewrites the message coming from Collectd to make it compatible with the way InfluxDB stores data in series.

Installation

Use RubyGems:

gem install fluent-plugin-collectd-influxdb

Configuration

<match pattern>
  type collectd_influxdb
</match>

If following record is passed:

[{"time" => 1000, "host" => 'host_v', "interval" => 5, "plugin" => 'plugin_v', "plugin_instance" => 'plugin_instance_v', "type" => 'type_v', "type_instance" => 'type_instance_v', "values" => ['v1', 'v2'], "dsnames" => ['n1', 'n2'], "dstypes" => ['t1', 't2']}]

then you got new record like below:

[{"n1"=>"v1", "n2"=>"v2"}]

and the record tag will be changed to

host_v.plugin_v.plugin_instance_v.type_v.type_instance_v

Empty values in "plugin", "plugin_instance", "type" or "type_instance" will not be copied into the new tag name

WARNING

  • This plugin was written to deal with a specific use-case, might not be the best fit for everyone. If you need more configurability/features, create a PR
AuthorGiuseppe Iannello
LicenseMIT License

FAQs

Package last updated on 10 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc