Simple and useful. Thank you for sharing this content.
@Thetips4you2 жыл бұрын
You are welcome.
@VinicciusLemos3 жыл бұрын
Thanks Man Help me a lot!
@Thetips4you3 жыл бұрын
You are welcome. Happy to hear.
@kartikeysrivastava96572 жыл бұрын
i want logs from BDCOM switch in my loki grafana. Where i can find switch syslog of my switch.
@maheshkulkarni26342 жыл бұрын
Thanks for sharing this useful tutorial! Does Loki supports service discovery of targets like Prometheus supports for AWS, Azure? Please advise.
@visva20053 жыл бұрын
Most awaited Video. Thanks for the sharing.
@Thetips4you3 жыл бұрын
Great to hear. You are welcome.
@rubalfromthehimalayas Жыл бұрын
How to horizontally scale loki? There is an error of too many incoming requests
@stephanfrank77632 жыл бұрын
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?
@Thetips4you2 жыл бұрын
Dis you check the config files and all are set correctly? And also the ports are open?
@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 Жыл бұрын
Check promtail and loki is configured correctly. Loki may not be receiving data from Promtail.
@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
@deepanshupandey70102 жыл бұрын
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
@Thetips4you2 жыл бұрын
Are you getting this error on the web browser?
@saujanyamhatre71272 жыл бұрын
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
@Thetips4you2 жыл бұрын
Can you send me the screen shot in Instagram
@souravjena59272 жыл бұрын
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
@Thetips4you2 жыл бұрын
Grafana logs will be under var/logs/grafana.log, permission issue you need to analyze from a linux point of view.
@souravjena59272 жыл бұрын
@@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 ??
@carlosterrazas89132 жыл бұрын
I want to do the same, I don't know how to do it, I need the users log
@Mahen-t3p Жыл бұрын
thanks
@Thetips4you Жыл бұрын
You are welcome
@Weesy3 жыл бұрын
it doesnt work for me. When i want to query, i dont have "job" available to pick. Only thing that appears is "__name__"
@Thetips4you3 жыл бұрын
Please confirm that the data is coming from loki to grafana.
@Weesy3 жыл бұрын
@@Thetips4you thank you for the response? How do i do that if i may ask?
@Thetips4you3 жыл бұрын
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.
@Weesy3 жыл бұрын
@@Thetips4you ok thank you!
@shadows7771003 жыл бұрын
hi, can u teach us how to add loki and promtail services?
@Thetips4you3 жыл бұрын
You can refer the videos and contact if there are any issue's.
@shadows7771003 жыл бұрын
@@Thetips4you i mean, using daemon/scripts to auto execute even u close ssh or reboot ur server.
@MadAxel-zz5ni2 жыл бұрын
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).
@Thetips4you2 жыл бұрын
The version would have updated. What is the issue?
@ciprianciulpan96482 жыл бұрын
@@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
@sharanreddy90702 жыл бұрын
What are the advantages of grafana agent over promtail agent?please can you answer this?
@Thetips4you2 жыл бұрын
Grafana is for different use and Loki is for different use. You cannot compare both.
@sharanreddy90702 жыл бұрын
@@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
bhhai sahab, woh angwez wala accent thowa zyada nahi ho gaya.
@Thetips4you Жыл бұрын
If you say so. Thanks
@kosyoyanev3 жыл бұрын
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.
@Thetips4you3 жыл бұрын
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.
@VinicciusLemos3 жыл бұрын
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.
@Thetips4you3 жыл бұрын
@@VinicciusLemos Thank you and Happy to hear your feedback.
@Venkatatours3 жыл бұрын
@@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?
@ervikasrastogi2 жыл бұрын
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?
@souravjena59272 жыл бұрын
Hey , have you got any solution for this ???
@souravjena59272 жыл бұрын
Hey how you change the permission of grafana logs directory ? while running promtail am getting permission denied to /var/logs/grafana
@ervikasrastogi2 жыл бұрын
@@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.
@dkot383 жыл бұрын
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] #
@Thetips4you3 жыл бұрын
Looks like the problem with the config.yaml , check in line 50