fix(serializers.splunkmetric): Fix TOML option name for multi-metric (#13511)

This commit is contained in:
Sven Rebhan 2023-06-28 13:53:04 +02:00 committed by GitHub
parent ef86635d21
commit dba873cf2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 31 deletions

View File

@ -91,6 +91,7 @@ to manage the HEC authorization, here's a sample config for an HTTP output:
## more about them here:
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
data_format = "splunkmetric"
## Provides time, index, source overrides for the HEC
splunkmetric_hec_routing = true
# splunkmetric_multimetric = true

View File

@ -10,7 +10,7 @@ import (
type Serializer struct {
HecRouting bool `toml:"splunkmetric_hec_routing"`
MultiMetric bool `toml:"splunkmetric_multi_metric"`
MultiMetric bool `toml:"splunkmetric_multimetric"`
OmitEventTag bool `toml:"splunkmetric_omit_event_tag"`
}