You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/source.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ This Data Source allows you to look up existing Sources using their table name.
25
25
-**data_region** (String) Region where we store your data.
26
26
-**id** (String) The ID of this source.
27
27
-**ingesting_paused** (Boolean) This property allows you to temporarily pause data ingesting for this source (e.g., when you are reaching your plan's usage quota and you want to prioritize some sources over others).
28
+
-**ingestion_host** (String) The host where the logs or metrics should be sent. See [documentation](https://betterstack.com/docs/logs/start/) for your specific source platform for details.
28
29
-**live_tail_pattern** (String) Freeform text template for formatting Live tail output with columns wrapped in {column} brackets. Example: "PID: {message_json.pid} {level} {message}"
29
30
-**logs_retention** (Number) Data retention for logs in days. There might be additional charges for longer retention.
30
31
-**metrics_retention** (Number) Data retention for metrics in days. There might be additional charges for longer retention.
Copy file name to clipboardExpand all lines: docs/resources/source.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ This resource allows you to create, modify, and delete your Sources. For more in
85
85
86
86
-**created_at** (String) The time when this monitor group was created.
87
87
-**id** (String) The ID of this source.
88
+
-**ingestion_host** (String) The host where the logs or metrics should be sent. See [documentation](https://betterstack.com/docs/logs/start/) for your specific source platform for details.
88
89
-**table_name** (String) The table name generated for this source.
89
90
-**token** (String) The token of this source. This token is used to identify and route the data you will send to Better Stack.
90
91
-**updated_at** (String) The time when this monitor group was updated.
Copy file name to clipboardExpand all lines: internal/provider/resource_source.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,12 @@ var sourceSchema = map[string]*schema.Schema{
117
117
}
118
118
},
119
119
},
120
+
"ingestion_host": {
121
+
Description: "The host where the logs or metrics should be sent. See [documentation](https://betterstack.com/docs/logs/start/) for your specific source platform for details.",
122
+
Type: schema.TypeString,
123
+
Optional: false,
124
+
Computed: true,
125
+
},
120
126
"ingesting_paused": {
121
127
Description: "This property allows you to temporarily pause data ingesting for this source (e.g., when you are reaching your plan's usage quota and you want to prioritize some sources over others).",
0 commit comments