Replies: 1 comment
-
same problem here; vs loki hosted in Grafana cloud. Any learnings/tips? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have enabled basic auth for loki. But vector client is unable to authenticate itself while sending messages. Below is my vector client config
When I check the nginx logs , I can see the loki user is trying to POST something but getting 401. Below are my Nginx log
10.0.1.6 - lokiuser [31/Jan/2023:22:37:47 +0000] 401 "POST /loki/api/v1/push HTTP/1.1" 10 "-" "Vector/0.27.0 (x86_64-unknown-linux-gnu 5623d1e 2023-01-18)" "-"
I am switching from logstash to vector. I thought try to with logstash again to confirm if there is some other problem, But it turns out that with logstash it just works fine. This is my logstash config -
Below are my nginx logs for logstash
10.0.1.42 - new [01/Feb/2023:00:39:38 +0000] 204 "POST /loki/api/v1/push HTTP/1.1" 0 "-" "loki-logstash" **"-"**
Any pointers? How can I get this resolved ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions