Grafana Loki Promtail | Grafana Loki Setup And Configuration On CentOs

  Рет қаралды 45,200

Thetips4you

Thetips4you

Күн бұрын

Пікірлер: 59
@prateekpandey4781
@prateekpandey4781 3 жыл бұрын
thanxx a ton mate. Super impressive illustration.
@Thetips4you
@Thetips4you 3 жыл бұрын
You are welcome.
@arvindpal3200
@arvindpal3200 3 жыл бұрын
Thanks for sharing this valuable knowledge to us
@Thetips4you
@Thetips4you 3 жыл бұрын
You are welcome.
@edircabralsantana6672
@edircabralsantana6672 2 жыл бұрын
Simple and useful. Thank you for sharing this content.
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome.
@VinicciusLemos
@VinicciusLemos 3 жыл бұрын
Thanks Man Help me a lot!
@Thetips4you
@Thetips4you 3 жыл бұрын
You are welcome. Happy to hear.
@kartikeysrivastava9657
@kartikeysrivastava9657 2 жыл бұрын
i want logs from BDCOM switch in my loki grafana. Where i can find switch syslog of my switch.
@maheshkulkarni2634
@maheshkulkarni2634 2 жыл бұрын
Thanks for sharing this useful tutorial! Does Loki supports service discovery of targets like Prometheus supports for AWS, Azure? Please advise.
@visva2005
@visva2005 3 жыл бұрын
Most awaited Video. Thanks for the sharing.
@Thetips4you
@Thetips4you 3 жыл бұрын
Great to hear. You are welcome.
@rubalfromthehimalayas
@rubalfromthehimalayas Жыл бұрын
How to horizontally scale loki? There is an error of too many incoming requests
@stephanfrank7763
@stephanfrank7763 2 жыл бұрын
Thank you for the video. In my installation i don't see anything in grafana about log files. Each file i choose from catalog, i read the following message:"Empty results, no matching label for {filename=~"/var/log/boot.log|/var/log/dnf.log"}" Why grafana can't read or see, what loki and promtail sending to?
@Thetips4you
@Thetips4you 2 жыл бұрын
Dis you check the config files and all are set correctly? And also the ports are open?
@JorgeRodriguezMosquera
@JorgeRodriguezMosquera Жыл бұрын
Ive got an issue when adding Loki as datasource in Grafana. Error says: "Data source connected, but no labels received. Verify that Loki and Promtail is configured properly." any ideas??
@Thetips4you
@Thetips4you Жыл бұрын
Check promtail and loki is configured correctly. Loki may not be receiving data from Promtail.
@JorgeRodriguez-py5xc
@JorgeRodriguez-py5xc Жыл бұрын
@@Thetips4you thank you for the response. Now the problem changed, I have actually Grafana and Loki running as docker service in their default ports and promtail as a system service. When I try to add Loki datasource, Grafana starts testing, but the result is similar as before: “Unable to fetch labels from Loki (Failed to call resource), please check the server los for more details. Thank you in advance
@deepanshupandey7010
@deepanshupandey7010 2 жыл бұрын
I am able to install grafana and also added the firewall : sudo firewall-cmd --permanent --zone=public --add-port=3000/tcp . It says ERR_EMPTY_RESPONSE, can you help me with this
@Thetips4you
@Thetips4you 2 жыл бұрын
Are you getting this error on the web browser?
@saujanyamhatre7127
@saujanyamhatre7127 2 жыл бұрын
i was getting the error of mapping values are not allowed in this context i followed same method as per video but still i am getting same error please tell the solution
@Thetips4you
@Thetips4you 2 жыл бұрын
Can you send me the screen shot in Instagram
@souravjena5927
@souravjena5927 2 жыл бұрын
Hi , could you please tell me how can I gets the grafana logs ?? like my requirement is to get how many users logging to grafana every day and then need to visualise it in grafana dashboard . I tried by following your steps but while running Loki and promtail in my Linux server am getting cannot execute binaries file even after giving execute permission
@Thetips4you
@Thetips4you 2 жыл бұрын
Grafana logs will be under var/logs/grafana.log, permission issue you need to analyze from a linux point of view.
@souravjena5927
@souravjena5927 2 жыл бұрын
@@Thetips4you Hey , what changes need to be done in both Loki and promtail yaml file to get grafana logs which is in the path /var/log/grafana.logs???could you please help me out ?am able to run Loki now in my server but while running promtail am getting unable to parse config ; unmarshal errors in line 3 and line 5 file http_listen_port not found in type main config !!!what changes need to be done ??
@carlosterrazas8913
@carlosterrazas8913 2 жыл бұрын
I want to do the same, I don't know how to do it, I need the users log
@Mahen-t3p
@Mahen-t3p Жыл бұрын
thanks
@Thetips4you
@Thetips4you Жыл бұрын
You are welcome
@Weesy
@Weesy 3 жыл бұрын
it doesnt work for me. When i want to query, i dont have "job" available to pick. Only thing that appears is "__name__"
@Thetips4you
@Thetips4you 3 жыл бұрын
Please confirm that the data is coming from loki to grafana.
@Weesy
@Weesy 3 жыл бұрын
@@Thetips4you thank you for the response? How do i do that if i may ask?
@Thetips4you
@Thetips4you 3 жыл бұрын
I would suggest you to check the promtail and Loki config files to make sure the scraping host, folder, url to loki is setup correctly.
@Weesy
@Weesy 3 жыл бұрын
@@Thetips4you ok thank you!
@shadows777100
@shadows777100 3 жыл бұрын
hi, can u teach us how to add loki and promtail services?
@Thetips4you
@Thetips4you 3 жыл бұрын
You can refer the videos and contact if there are any issue's.
@shadows777100
@shadows777100 3 жыл бұрын
@@Thetips4you i mean, using daemon/scripts to auto execute even u close ssh or reboot ur server.
@MadAxel-zz5ni
@MadAxel-zz5ni 2 жыл бұрын
Thanks man! it helped... I had some issues with the loki yaml version and promtail yaml (version issues as the link you have provided is for the master branch (now at 2.7.0 i think) and the loki version mentioned in the video is 2.6.1) and also with the loki folder permissions (my fault).
@Thetips4you
@Thetips4you 2 жыл бұрын
The version would have updated. What is the issue?
@ciprianciulpan9648
@ciprianciulpan9648 2 жыл бұрын
@@Thetips4you it is not updated in what i had downloaded. Maybe it was my fault but i think i have followed all steps desceibed. Anyway it is a great video and helped me a lot.. again thanks
@sharanreddy9070
@sharanreddy9070 2 жыл бұрын
What are the advantages of grafana agent over promtail agent?please can you answer this?
@Thetips4you
@Thetips4you 2 жыл бұрын
Grafana is for different use and Loki is for different use. You cannot compare both.
@sharanreddy9070
@sharanreddy9070 2 жыл бұрын
@@Thetips4you like why do we go for grafana agent why cant we go for promtail....is there any advantages of using grafana agent
@DaveBraford-Grimes
@DaveBraford-Grimes Жыл бұрын
Working as "root" is stupid, and encourages others to be stupid too. Only work as "root" when you ABSOLUTELY must - don't be stupid. That said, this video is a good intro on how loki/promtail works. You should also consider using your distro's packaging system to install these tools.
@Thetips4you
@Thetips4you Жыл бұрын
Completely agree on working as root. You always keep root account absolutely out in production instances. Thank you for the suggestions as well.
@AshfaqueAhmed-b8d
@AshfaqueAhmed-b8d Жыл бұрын
bhhai sahab, woh angwez wala accent thowa zyada nahi ho gaya.
@Thetips4you
@Thetips4you Жыл бұрын
If you say so. Thanks
@kosyoyanev
@kosyoyanev 3 жыл бұрын
Pretty useless video. Doesn`t show something new that was not already posted 100 times. Does not show any specific knowledge that is of value to someone.
@Thetips4you
@Thetips4you 3 жыл бұрын
Hello Friend, every one have different expectations, for what you see as useless may not same for others and what you see as useful may be useless for others.
@VinicciusLemos
@VinicciusLemos 3 жыл бұрын
I Don't Agree"! It's Very Useful. each one has its way of explaining or working I managed to install it perfectly with the help of this video.
@Thetips4you
@Thetips4you 3 жыл бұрын
@@VinicciusLemos Thank you and Happy to hear your feedback.
@Venkatatours
@Venkatatours 3 жыл бұрын
@@Thetips4you its very useful for me . Manager assigned the similar task. But we have to extract the MS sql server logs . But condition he put is not to install any client like promtail in DB system. How we get the logs from remote system?
@ervikasrastogi
@ervikasrastogi 2 жыл бұрын
Hi....I have loki promtail and grafana setup and want to see grafana usage per user with dashboard from grafana.log..I have referer label in logs which is having dashboard name along with https url but i only want to show dashboards accessed userwise..can you please help me for same?
@souravjena5927
@souravjena5927 2 жыл бұрын
Hey , have you got any solution for this ???
@souravjena5927
@souravjena5927 2 жыл бұрын
Hey how you change the permission of grafana logs directory ? while running promtail am getting permission denied to /var/logs/grafana
@ervikasrastogi
@ervikasrastogi 2 жыл бұрын
@@souravjena5927 If you are running promtail as docker contianer then map this directory with persistent storage in docker-compose file and then whatever the permission you will give to persistent storage, same will reflect to /var/logs/grafana.
@dkot38
@dkot38 3 жыл бұрын
I get this error [root @ localhost loki] # ./loki-linux-amd64 -config.file = loki-local-config.yaml failed parsing config: loki-local-config.yaml: yaml: unmarshal errors: line 50: field unordered_writes not found in type validation.plain [root @ localhost loki] #
@Thetips4you
@Thetips4you 3 жыл бұрын
Looks like the problem with the config.yaml , check in line 50
[ Kube 100 ] Getting started with Grafana Loki in Kubernetes
15:39
Just me and Opensource
Рет қаралды 50 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Christian Lempa
Рет қаралды 693 М.
How To Setup Grafana Loki Promtail On Docker
15:54
Thetips4you
Рет қаралды 15 М.
Open source observability explained - the Grafana Labs stack
19:32
6 Easy Ways to Improve your Log Dashboards with Grafana and Loki
16:34
Grafana : Loki LogQL
18:03
SBCODE
Рет қаралды 27 М.
Monitoring, Logging, And Alerting In Kubernetes
22:07
DevOps Toolkit
Рет қаралды 31 М.
Grafana Loki to access Kubernetes logs
26:04
Anais Urlichs
Рет қаралды 17 М.