Skip to content

Commit 77bc7d5

Browse files
committed
Add trace source docs
1 parent 46c62c4 commit 77bc7d5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

website/docs/r/http_source.html.markdown

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |-
66
---
77

88
# sumologic_http_source
9-
Provides a [Sumologic HTTP source][1].
9+
Provides a [Sumologic HTTP source][1] or [Sumologic HTTP Traces source][2].
1010

1111
__IMPORTANT:__ The endpoint is stored in plain-text in the state. This is a potential security issue.
1212

@@ -24,6 +24,14 @@ resource "sumologic_http_source" "http_source" {
2424
}
2525
}
2626
27+
resource "sumologic_http_traces_source" "http_traces_source" {
28+
name = "HTTP Traces"
29+
description = "My description"
30+
category = "my/source/category"
31+
collector_id = "${sumologic_collector.collector.id}"
32+
content_type = "Zipkin"
33+
}
34+
2735
resource "sumologic_collector" "collector" {
2836
name = "my-collector"
2937
description = "Just testing this"
@@ -35,6 +43,7 @@ resource "sumologic_collector" "collector" {
3543
In addition to the common properties, the following arguments are supported:
3644

3745
- `message_per_request` - (Optional) When set to `true`, will create one log message per HTTP request.
46+
- `content_type` - (Optional) When configuring a HTTP Traces Source, set this property to `Zipkin`. This should only be used when creating a Traces source.
3847

3948
### See also
4049
* [Common Source Properties](https://github.com/SumoLogic/terraform-provider-sumologic/tree/master/website#common-source-properties)
@@ -59,3 +68,4 @@ terraform import sumologic_http_source.test my-test-collector/my-test-source
5968
```
6069

6170
[1]: https://help.sumologic.com/Send_Data/Sources/02Sources_for_Hosted_Collectors/HTTP_Source
71+
[2]: https://help.sumologic.com/Traces/HTTP_Traces_Source

0 commit comments

Comments
 (0)