posts/grafana-loki-kubernetes/ #271
Replies: 7 comments 2 replies
-
thank you. I had installed the stack but without persistence, with this post i enabled it. |
Beta Was this translation helpful? Give feedback.
-
Love the video and this post. Any reason why syslog isn't working for me? |
Beta Was this translation helpful? Give feedback.
-
I followed it to the letter, no luck accesing http from other servers / networks, no firewall in place for testing purposes. Any ideas? Thanks for such AWESOME guide, btw. |
Beta Was this translation helpful? Give feedback.
-
logger=tsdb.loki endpoint=checkHealth pluginId=loki dsName=Loki dsUID=b44f164b-ba45-46db-80d7-d2139ccc079b uname=admin fromAlert=false t=2023-10-31T14:59:05.401157496Z level=error msg="Error received from Loki" duration=1.848241ms stage=databaseRequest statusCode=400 contentLength=65 start=1970-01-01T00:00:01Z end=1970-01-01T00:00:04Z step=1s query=vector(1)+vector(1) queryType=instant direction=backward maxLines=0 supportingQueryType=none lokiHost=loki:3100 lokiPath=/loki/api/v1/query status=error error="parse error at line 1, col 1: syntax error: unexpected IDENTIFIER" its throwing this error with exact same config you provided above. |
Beta Was this translation helpful? Give feedback.
-
How do i include local logs in this setup. I can only see the logs for the pods. |
Beta Was this translation helpful? Give feedback.
-
Hey, just wanted to mention that loki-stack is deprecated. Obviously if it still works, no harm in continue using it, however after me spending like, 3 days on it, I think it could make for a good candidate to do a followup video. Your content is still amazing though and the Prometheus video helped me out a lot, thanks for doing what you do!! |
Beta Was this translation helpful? Give feedback.
-
If you want to use the latest version of loki (3.2.1 at time of posting), you need to change the The following example fragment worked for me. schema_config:
configs:
- from: 2024-11-13
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h |
Beta Was this translation helpful? Give feedback.
-
posts/grafana-loki-kubernetes/
In my previous video (Meet Grafana LOKI, a log aggregation system for everything and post, I promised that I would also explain how to install Granfana Loki on Kubernetes using helm.If you’re looking to set this up in docker-compose, be sure to check out this video
https://technotim.live/posts/grafana-loki-kubernetes/
Beta Was this translation helpful? Give feedback.
All reactions