Logflare / logflare

Never get surprised by a logging bill again. Centralized structured logging for Cloudflare, Vercel, Elixir and Javascript.
https://logflare.app
Apache License 2.0
835 stars 45 forks source link

fix: Loki now works with `username` and `password` in the config #2239

Closed chasers closed 4 weeks ago

chasers commented 1 month ago
## PATCH backend
curl -X "PATCH" "http://localhost:4000/api/backends/cafe18a6-505c-4412-b838-be2aab7ee507" \
     -H 'Authorization: Bearer 6404d476fd62450e6f76497b9eabcc7528e914b69aebb17507393c38560f6a62' \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "metadata": {},
  "config": {
    "username": "me",
    "password": "god",
    "url": "https://logs-prod3.grafana.net/loki/api/v1/push"
  },
  "name": "loki-test",
  "type": "loki"
}'