File tree Expand file tree Collapse file tree 4 files changed +16
-13
lines changed
exporter/splunkhecexporter Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
## 🛑 Breaking changes 🛑
6
6
7
+ - Remove squash on configtls.TLSClientSetting for splunkhecexporter (#5541 )
7
8
- Remove squash on configtls.TLSClientSetting for elastic components (#5539 )
8
9
- Remove squash on configtls.TLSClientSetting for observiqexporter (#5540 )
9
10
- Remove squash on configtls.TLSClientSetting for AWS components (#5454 )
Original file line number Diff line number Diff line change @@ -61,14 +61,15 @@ exporters:
61
61
disable_compression : false
62
62
# HTTP timeout when sending data. Defaults to 10s.
63
63
timeout : 10s
64
- # Whether to skip checking the certificate of the HEC endpoint when sending data over HTTPS. Defaults to false.
65
- insecure_skip_verify : false
66
- # Path to the CA cert to verify the server being connected to.
67
- ca_file : /certs/ExampleCA.crt
68
- # Path to the TLS cert to use for client connections when TLS client auth is required.
69
- cert_file : /certs/HECclient.crt
70
- # Path to the TLS key to use for TLS required connections.
71
- key_file : /certs/HECclient.key
64
+ tls :
65
+ # Whether to skip checking the certificate of the HEC endpoint when sending data over HTTPS. Defaults to false.
66
+ insecure_skip_verify : false
67
+ # Path to the CA cert to verify the server being connected to.
68
+ ca_file : /certs/ExampleCA.crt
69
+ # Path to the TLS cert to use for client connections when TLS client auth is required.
70
+ cert_file : /certs/HECclient.crt
71
+ # Path to the TLS key to use for TLS required connections.
72
+ key_file : /certs/HECclient.key
72
73
# Application name is used to track telemetry information for Splunk App's using HEC by App name.
73
74
splunk_app_name : " OpenTelemetry-Collector Splunk Exporter"
74
75
# Application version is used to track telemetry information for Splunk App's using HEC by App version.
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ type Config struct {
76
76
MaxContentLengthLogs uint `mapstructure:"max_content_length_logs"`
77
77
78
78
// TLSSetting struct exposes TLS client configuration.
79
- TLSSetting configtls.TLSClientSetting `mapstructure:",squash "`
79
+ TLSSetting configtls.TLSClientSetting `mapstructure:"tls,omitempty "`
80
80
81
81
// App name is used to track telemetry information for Splunk App's using HEC by App name. Defaults to "OpenTelemetry Collector Contrib".
82
82
SplunkAppName string `mapstructure:"splunk_app_name"`
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ exporters:
14
14
source : " otel"
15
15
sourcetype : " otel"
16
16
index : " metrics"
17
- insecure_skip_verify : false
18
- ca_file : " "
19
- cert_file : " "
20
- key_file : " "
17
+ tls :
18
+ insecure_skip_verify : false
19
+ ca_file : " "
20
+ cert_file : " "
21
+ key_file : " "
21
22
timeout : 10s
22
23
sending_queue :
23
24
enabled : true
You can’t perform that action at this time.
0 commit comments