Skip to content

Commit 4fdf946

Browse files
committed
Clarify output format for splunkmetric
(cherry picked from commit 146a30e)
1 parent 38207ae commit 4fdf946

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

plugins/serializers/splunkmetric/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
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.
66
If 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

1110
An example event looks like:
1211
```javascript

0 commit comments

Comments
 (0)