File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
plugins/serializers/splunkmetric Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11# Splunk Metrics serializer
22
3- This serializer formats and outputs the metric data in a format that can be consumed by a Splunk metrics index.
4- It can be used to write to a file using the file output, or for sending metrics to a HEC using the standard telegraf HTTP output.
3+ The Splunk Metrics serializer outputs metrics in the [ Splunk metric HEC JSON format] [ splunk-format ] .
54
5+ It can be used to write to a file using the file output, or for sending metrics to a HEC using the standard telegraf HTTP output.
66If you're using the HTTP output, this serializer knows how to batch the metrics so you don't end up with an HTTP POST per metric.
77
8- Th data is output in a format that conforms to the specified Splunk HEC JSON format as found here:
9- [ Send metrics in JSON format] ( http://dev.splunk.com/view/event-collector/SP-CAAAFDN ) .
8+ [ splunk-format ] : http://dev.splunk.com/view/event-collector/SP-CAAAFDN#json
109
1110An example event looks like:
1211``` javascript
You can’t perform that action at this time.
0 commit comments