Promtail Loki Grafana Using Docker Compose | Grafana Loki Demo

preview_player
Показать описание
In this video we are going to learn about how to setup Promtail Loki Grafana Using Docker Compose. In previous videos on Grafana Loki, we have seen setting up Grafana Loki Promtail using CentOs and normal docker containers. In this Loki tutorial we learn about loki and promtail config files and how to write the docker compose file for running Promtail, Loki and Grafana services.

----------------------------------------------------------------------------------
Setup Grafana Loki on CentOs:
---------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Grafana Loki Promtail on Docker:
---------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Git hub for Docker compose and Config files:
------------------------------------------------------------------------------
=======================================
Follow me @:
=======================================
Music credit: "Royalty Free Music from Bensound"
Рекомендации по теме
Комментарии
Автор

not sure why getting this error while trying to run the services
"failed parsing config: does not exist, set
config.file for custom config path".

Can u please help me with this?
I have my folder structure same as that you have.

apekshaagrawal
Автор

is there a way to do alerts with logs like this? e.g. if any log has the "ERROR" words it will fire up an alert and notify.

JC.
Автор

why after i connect data sources, in explore "no logs found". can you help mee??

rehan-pned
Автор

Could the same configuration be done in Windows? And how do you send logs to loki? Thanks a lot!

ninoponchev
Автор

Hi there, thanks for the video. Been using Grafana for a while and got Promtail/Loki working in Docker tonight. With this current config though, help me wrap my head around WHERE these logs are coming from. Are these logs coming from the Loki or the Promtail container....or is the the Docker host? If I wanted to monitor other logs in other containers on the same Docker network what are we looking at adding?

Thanks so much!

twentyfor
Автор

Hello, let me introduce myself, my name is Pablo and I wonder if you could help me with how to configure grafana for multi tenat

pablojimenez
Автор

Followed your video and yaml files, but cannot figure out why I am getting this error. I even made the /usr/local/promtailloki permissions recursive 777. On docker-compose up I get this and loki does not come up.

loki_1 | level=error caller=log.go:106 msg="error running loki" err="mkdir /usr/local/promtailloki: permission denied\nerror initialising module:

heatherlayson