Hi Ward Bekker, I got this error when I am trying to add a Loki data source in grafana. 503 service unavailable the server is temporarily unable to service your request due to maintenance downtime or capacity problem
This tutorial got me up-and-running fast, thanks! I want to extend the Loki data source so that local database event log files are also visible in the explorer. I've tried adding a job to the scrape_configs section in the promtail yaml file to no effect. I've also seen file-bases service discovery briefly mentioned in the documentation, but can't find details/examples. The only thing that has worked so far is to move the file to /var/log, or create a hard link there. Do you know of resources/examples that would help? I've searched with no luck.
Hello it's very nice tutorial. I did the exact same things at 2.18 when you were getting log file names my grafana only shows __name__ and I can't access any log files. Can you help me out?
Did you happen to find out what was missing? PS: I think I know, the mounting that was done in the docker-compose.yaml for promtail is for linux and I am doing this on windows docker desktop. So I simply changed this to volumes: - D:\AppMonitor\loki\logs:/var/log
All looks nice and easy but after dockers are started I can't open grafana. Browser states "ERR_CONNECTION_REFUSED". Just called the localhost without any specific url, like it's shown in the video. Is there something else I have to pay attention?
Many thanks you for the tutorial! My logs are basically json, but can't find json fields in so called Labels. Do you know how to be able to filter/aggregate by json fields?
Loki doesn't index the JSON data (by design). You can configure promtail to parse key/values that you want to set as labels. Check the json stage in pipelines. github.com/grafana/loki/blob/master/docs/clients/promtail/pipelines.md
Great question. In the case of Loki it doesn't assume docker for deployment. See github.com/grafana/loki/blob/master/docs/installation/local.md for using make to create a single binary. Docker does tend to make it much easier to get new stuff up and running, without the need to install a toolchain and all kinds of dependencies on your local system.
Bedankt!
Can you guide how to export sql server logs from remote machine to prometheus
Hi Ward Bekker, I got this error when I am trying to add a Loki data source in grafana. 503 service unavailable the server is temporarily unable to service your request due to maintenance downtime or capacity problem
This tutorial got me up-and-running fast, thanks! I want to extend the
Loki data source so that local database event log files are also
visible in the explorer. I've tried adding a job to the
scrape_configs section in the promtail yaml file to no effect. I've
also seen file-bases service discovery briefly mentioned in the
documentation, but can't find details/examples. The only thing that
has worked so far is to move the file to /var/log, or create a hard
link there. Do you know of resources/examples that would help? I've
searched with no luck.
Hello it's very nice tutorial. I did the exact same things at 2.18 when you were getting log file names my grafana only shows __name__ and I can't access any log files. Can you help me out?
Did you happen to find out what was missing?
PS: I think I know, the mounting that was done in the docker-compose.yaml for promtail is for linux and I am doing this on windows docker desktop. So I simply changed this to
volumes:
- D:\AppMonitor\loki\logs:/var/log
All looks nice and easy but after dockers are started I can't open grafana. Browser states "ERR_CONNECTION_REFUSED". Just called the localhost without any specific url, like it's shown in the video. Is there something else I have to pay attention?
Many thanks you for the tutorial! My logs are basically json, but can't find json fields in so called Labels. Do you know how to be able to filter/aggregate by json fields?
Loki doesn't index the JSON data (by design). You can configure promtail to parse key/values that you want to set as labels. Check the json stage in pipelines. github.com/grafana/loki/blob/master/docs/clients/promtail/pipelines.md
Thanks a lot, Can you show how can i create dashboard from loki datasource
Check out the following video where I introduce the new Log panel: th-cam.com/video/WzlHH_ZGDAU/w-d-xo.html
Why are the "modern" tools so tied to docker? Why can't these be agnostic..
Great question. In the case of Loki it doesn't assume docker for deployment. See github.com/grafana/loki/blob/master/docs/installation/local.md for using make to create a single binary. Docker does tend to make it much easier to get new stuff up and running, without the need to install a toolchain and all kinds of dependencies on your local system.