Low commit activity in last 3 years
No release in over a year
Fluentd plugin for cmetrics format handling.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2.24
~> 13.0
~> 3.3

Runtime

>= 0.2.0
>= 0.14.10, < 2
 Project Readme

fluent-plugin-cmetrics

Fluentd plugin for cmetrics format handling.

Installation

RubyGems

$ gem install fluent-plugin-cmetrics

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-cmetrics"

And then execute:

$ bundle

Plugin helpers

Fluent::Plugin::CMetricsParserFilter

cmetrics_metric_key (string) (optional)

cmetrics metric key

Default value: cmetrics.

cmetrics_labels_key (string) (optional)

cmetrics labels key

Default value: labels.

format_to_splunk_metric (bool) (optional)

format to Splunk metrics

dimensions_key (string) (optional)

dimensions key

<fields> section (optional) (single)

This secsion is used for adding extra fields into cmetrics msgpack payload parsed records.

For example, the following configuration should add hostname records into parsed records:

<filter super.awesome.tag.**>
  @type cmetrics_parser
  format_to_splunk_metric true
  dimensions_key dims
  <fields>
    hostname
  </fields>
</filter>

On later data pipeline, hostname key can be used as some additional work.

Fluent::Plugin::CMetricsSplunkMetricPayloadFormatter

cmetrics_name_key (string) (optional)

cmetrics metrics name key

Default value: name.

cmetrics_value_key (string) (optional)

cmetrics metrics value key

Default value: value.

cmetrics_dims_key (string) (optional)

cmetrics metrics dimensions key

Default value: dims.

host_key (string) (optional)

Specify host key

Default value: host.

index (string) (optional)

Specify splunk index name

source (string) (optional)

Specify splunk source name

sourcetype (string) (optional)

Specify splunk sourcetype name

only_use_last_field_keys (bool) (optional)

Whether using only last key values or not when processing for field keys

Default value: false

<fields> section (optional) (single)

This secsion is used for adding extra fields as dimensions into cmetrics msgpack Splunk metric payload.

Fluent::Plugin::ForwardedCMetricsParserFilter

cmetrics_labels_key (string) (optional)

cmetrics labels key

Default value: labels.

format_to_splunk_metric (bool) (optional)

format to Splunk metrics

dimensions_key (string) (optional)

dimensions key

<fields> section (optional) (single)

This secsion is used for adding extra fields as dimensions into cmetrics msgpack Splunk metric payload.

Copyright

  • Copyright(c) 2021- Calyptia Inc.
  • Current manitainer: Hiroshi Hatake hatake@calyptia.com
  • License
    • Apache License, Version 2.0