Skip to content

Commit 9c71cd5

Browse files
authored
Merge pull request #68 from ericahn/main
Allow custom Better Stack URI
2 parents 720fce0 + d88498b commit 9c71cd5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ Set the secrets below associated with your desired log destination
7676

7777
### Better Stack Logs (formerly Logtail)
7878

79-
| Secret | Description |
80-
|-----------------------------|--------------------------------|
81-
| `BETTER_STACK_SOURCE_TOKEN` | Better Stack Logs source token |
79+
| Secret | Description |
80+
|-------------------------------|---------------------------------------------------------------------------|
81+
| `BETTER_STACK_SOURCE_TOKEN` | Better Stack Telemetry source token |
82+
| `BETTER_STACK_INGESTING_HOST` | Better Stack source ingesting host (default is `in.logs.betterstack.com`) |
8283

8384
### Datadog
8485

vector-configs/sinks/better-stack.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[sinks.better_stack]
99
type = "http"
1010
inputs = ["remap_better_stack_timestamp"]
11-
uri = "https://in.logs.betterstack.com"
11+
uri = "https://${BETTER_STACK_INGESTING_HOST:-in.logs.betterstack.com}"
1212
encoding.codec = "json"
1313
auth.strategy = "bearer"
1414
auth.token = "${BETTER_STACK_SOURCE_TOKEN:-$LOGTAIL_TOKEN}"

0 commit comments

Comments
 (0)