Graphite codec plugin
- Plugin version: v3.0.6
- Released on: 2021-08-12
- Changelog
For other versions, see theVersioned plugin docs.
For questions about the plugin, open a topic in theDiscuss forums. For bugs or feature requests, open an issue inGithub. For the list of Elastic supported plugins, please consult theElastic Support Matrix.
This codec will encode and decode Graphite formated lines.
Setting | Input type | Required |
---|---|---|
exclude_metrics | array | No |
fields_are_metrics | boolean | No |
include_metrics | array | No |
metrics | hash | No |
metrics_format | string | No |
- Value type isarray
- Default value is
["%{[^}]+}"]
Exclude regex matched metric names, by default exclude unresolved%{{field}}
strings
- Value type isboolean
- Default value is
false
Indicate that the event @fields should be treated as metrics and will be sent as is to graphite
- Value type isarray
- Default value is
[".*"]
Include only regex matched metric names
- Value type ishash
- Default value is
{}
The metric(s) to use. This supports dynamic strings like%{{host}}
for metric names and also for values. This is a hash field with key of the metric name, value of the metric value. Example:
[ "%{host}/uptime", "%{uptime_1m}" ]
The value will be coerced to a floating point value. Values which cannot be coerced will zero (0)
- Value type isstring
- Default value is
"*"
Defines format of the metric string. The placeholder*
will be replaced with the name of the actual metric. This supports dynamic strings like%{{host}}
.
metrics_format => "%{host}.foo.bar.*.sum"
If no metrics_format is defined the name of the metric will be used as fallback.