fix(serializers.splunkmetric): Fix TOML option name for multi-metric (#13511)
This commit is contained in:
parent
ef86635d21
commit
dba873cf2c
|
|
@ -91,6 +91,7 @@ to manage the HEC authorization, here's a sample config for an HTTP output:
|
||||||
## more about them here:
|
## more about them here:
|
||||||
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
|
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
|
||||||
data_format = "splunkmetric"
|
data_format = "splunkmetric"
|
||||||
|
|
||||||
## Provides time, index, source overrides for the HEC
|
## Provides time, index, source overrides for the HEC
|
||||||
splunkmetric_hec_routing = true
|
splunkmetric_hec_routing = true
|
||||||
# splunkmetric_multimetric = true
|
# splunkmetric_multimetric = true
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
type Serializer struct {
|
type Serializer struct {
|
||||||
HecRouting bool `toml:"splunkmetric_hec_routing"`
|
HecRouting bool `toml:"splunkmetric_hec_routing"`
|
||||||
MultiMetric bool `toml:"splunkmetric_multi_metric"`
|
MultiMetric bool `toml:"splunkmetric_multimetric"`
|
||||||
OmitEventTag bool `toml:"splunkmetric_omit_event_tag"`
|
OmitEventTag bool `toml:"splunkmetric_omit_event_tag"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue