Skip to content

Commit f4f00ad

Browse files
author
Joshua Sierles
authored
Merge pull request #54 from peaceful-james/fix-logflare-config
Modernize logflare config
2 parents 66fb514 + 82845a1 commit f4f00ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vector-configs/sinks/logflare.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
[sinks.logflare]
99
type = "http"
1010
inputs = ["remap_logflare_loglevel"]
11-
uri = "https://api.logflare.app/logs/vector?api_key=${LOGFLARE_API_KEY}&source=${LOGFLARE_SOURCE_TOKEN}"
11+
uri = "https://api.logflare.app/logs/vector?source=${LOGFLARE_SOURCE_TOKEN}"
12+
request.headers = {"X-API-Key" = "${LOGFLARE_API_KEY}"}
1213
encoding.codec = "json"
1314
compression = "none"
1415

0 commit comments

Comments
 (0)