File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ layout : " sumologic"
3+ page_title : " SumoLogic: sumologic_http_source"
4+ description : |-
5+ Provides a way to retrieve Sumo Logic HTTP Source details (id, names, etc) for an HTTP Source managed by another terraform stack.
6+ ---
7+
8+ # sumologic_http_source
9+
10+ Provides a way to retrieve Sumo Logic HTTP Source details (id, names, etc) for an HTTP Source managed by another terraform stack.
11+
12+
13+ ## Example Usage
14+ ``` hcl
15+ data "sumologic_http_source" "this" {
16+ collector_id = 121212
17+ name = "source_name"
18+ }
19+ ```
20+
21+ A HTTP Source can be looked up by using a combination of ` collector_id ` & ` name ` .
22+ If either ` id ` or ` name ` are not present, the data source block fails with a panic (at this point).
23+
24+ ## Attributes reference
25+
26+ The following attributes are exported:
27+
28+ - ` id ` - The internal ID of the collector. This can be used to attach sources to the collector.
29+ - ` name ` - The name of the collector.
30+ - ` description ` - The description of the collector.
31+ - ` category ` - The default source category for any source attached to this collector.
32+ - ` timezone ` - The time zone to use for this collector. The value follows the [ tzdata] [ 2 ] naming convention.
33+ - ` multiline ` - Multiline processing enabled or not.
34+ - ` url ` - The HTTP endpoint to use for sending data to this source.
35+
36+
You can’t perform that action at this time.
0 commit comments