Skip to content

Commit 5bb2859

Browse files
author
Sebastian Spaink
committed
remove sample config for sumologic
1 parent 85622c2 commit 5bb2859

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

plugins/outputs/sumologic/sumologic.go

-52
Original file line numberDiff line numberDiff line change
@@ -19,58 +19,6 @@ import (
1919
)
2020

2121
const (
22-
sampleConfig = `
23-
## Unique URL generated for your HTTP Metrics Source.
24-
## This is the address to send metrics to.
25-
# url = "https://events.sumologic.net/receiver/v1/http/<UniqueHTTPCollectorCode>"
26-
27-
## Data format to be used for sending metrics.
28-
## This will set the "Content-Type" header accordingly.
29-
## Currently supported formats:
30-
## * graphite - for Content-Type of application/vnd.sumologic.graphite
31-
## * carbon2 - for Content-Type of application/vnd.sumologic.carbon2
32-
## * prometheus - for Content-Type of application/vnd.sumologic.prometheus
33-
##
34-
## More information can be found at:
35-
## https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/HTTP-Source/Upload-Metrics-to-an-HTTP-Source#content-type-headers-for-metrics
36-
##
37-
## NOTE:
38-
## When unset, telegraf will by default use the influx serializer which is currently unsupported
39-
## in HTTP Source.
40-
data_format = "carbon2"
41-
42-
## Timeout used for HTTP request
43-
# timeout = "5s"
44-
45-
## Max HTTP request body size in bytes before compression (if applied).
46-
## By default 1MB is recommended.
47-
## NOTE:
48-
## Bear in mind that in some serializer a metric even though serialized to multiple
49-
## lines cannot be split any further so setting this very low might not work
50-
## as expected.
51-
# max_request_body_size = 1000000
52-
53-
## Additional, Sumo specific options.
54-
## Full list can be found here:
55-
## https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/HTTP-Source/Upload-Metrics-to-an-HTTP-Source#supported-http-headers
56-
57-
## Desired source name.
58-
## Useful if you want to override the source name configured for the source.
59-
# source_name = ""
60-
61-
## Desired host name.
62-
## Useful if you want to override the source host configured for the source.
63-
# source_host = ""
64-
65-
## Desired source category.
66-
## Useful if you want to override the source category configured for the source.
67-
# source_category = ""
68-
69-
## Comma-separated key=value list of dimensions to apply to every metric.
70-
## Custom dimensions will allow you to query your metrics at a more granular level.
71-
# dimensions = ""
72-
`
73-
7422
defaultClientTimeout = 5 * time.Second
7523
defaultMethod = http.MethodPost
7624
defaultMaxRequestBodySize = 1000000

0 commit comments

Comments
 (0)