You are a very sharp cookie, I was impressed not even one minute into the video. Your tip of saving out the chart values for reference has accelerated my progress immensely, I don't know why but I had gravitated towards using --set to get things done, no more, tyvm :D
Thanks for watching. You can just add the lok datasource in your external Grafana provided you expose loki outside the cluster and that grafana can reach it. Cheers.
It's very helpful and to the point. Thanks. If possible, can you please make a small demo of "Simple scalable deployment of Grafana Loki ", which is latest and as loki-stack is mostly depreciated and could not find the official documentation as well.
Hi, thanks for watching. Why do you think loki-stack is deprecated? The chart is still maintained in grafana helm repository. I can certainly do a video on simple scalable deployment. I will try and record in the coming weeks. Cheers.
Hi Venkat.. It would great if you do for both in house cluster as well as cloud provided managed k8 cluster where one don't have access to the control plane.. Once again it's a great work Thanks again
@@sandeepmishal2376 Thanks for watching. I mostly cover the concept in a more generic way and let people explore further. I know people are not going to be running clusters on their laptop in the real world. But I won't be able to cover all the scenarios. Some might be interested in gke and other eks etc. But I will keep this in mind. Cheers.
Thanks Venkat.. I understood.. May be I could have been more specific to my comment and not confused you.. I was stating it for SSO using oidc topic where it can become a bit tricky as we will not have access to control plane . Sry for the confusion I love the generic way it self..
Hi Gordis, many thanks for watching. I haven't explored Grafana Tempo. I can add it to my list and I am going through my user requested videos list at the moment.
hi thanks for this guide,but how can i display all the namespaces of the cluster,because loki display only some namespaces to me in the grafana dashboard
Hello, I have setup the grafana/loki stack similar way you did. Now in grafana dashboards i am trying to create dashboard for individual pods and i am able to do it. But when i am restarting the pods, pods name gets changed. Now i am not getting any logs on dashboard. I am not sure if its the correct way of setting the dashboard i.e individual dashboards. or i just need to setup logs for namespaces only? would be grateful for your help
Great tutorial! Is there any way you could make an updated tutorial on this? Can you also touch upon their Grafana Cloud offering versus using the open source community version?
Great content, I could able to deploy Loki for our use case by referring this video. Thanks . I am also looking out the way to get the logs using Loki API for given pod
Hi Venkat, thank you for informatic video. I'm deploying it with grafana disabled, and how do I update the grafana enabled without deleting the configured?
@@justmeandopensource so i have deployed loki-stack with grafana disabled, but i want to change it to enable, is it possible without running "helmet uninstall" command?
@@pisckipratama9529 Ah okay. You should be able to change most of the stuff without uninstalling. For example, as shown in this video, if you checked out the values of the chart with "helm show values" to a local file and used that in helm install command with --values option, then you can edit that values file, enable grafana and run "helm upgrade --install --values ". I haven't tried it in this case but I know it worked for me in the past. However there are certain stuff in the values file that you can update on live deployment. You will have to helm uninstall it first and deploy again.
nice explanation, i have a question, if i need to configure logging on multiple kubernetes clusters can i use a single grafana instance for viewing the loki logs from different clusters?, appreciate your help
Hi Malcolm, thanks for watching. Yes that set up is entirely possible. You can have all logging stuff (like prometheus, grafana etc) on a separate cluster and configure ingress routes so that they can be connected from agents on other clusters.
Hi! Many thanks for that video! I have one question. I've installed loki and grafana. But I don't see how to expand log line and find out more details of log item.
Thanks for watching. Do you mean in Grafana that you can't see the full log item? I am not sure if loki truncates the log item. I would be surprised if it does that and there is no configuration to control that behaviour.
I’ve grafana loki stack running on my local docker desktop k8s , i’m integrating it with GitHub Oauth, what root url and callback url should i set, I’m getting mismatch redirect
Hello can you please make a video for setting up log retention period in loki stack. As i have tried to set the parameter according to documentation but doesn't retain the log according to set period.
Thank you for this amazing video. I have a question that I have a customize storage class of type gp2 along with PV and PVC , so shall I need to mention the PV and PVC in the Loki yaml file or the storage class name will be sufficient enough for the yaml.
I use Qutebrowser as my web browser on Arch Linux. This browser is python based and keyboard driven. You will find it extremely useful if you are a keyboard centric person and VIM user.
Thanks for the explanation, is there any way that grafana can send full information of logs in email as alert, we are getting alert but it is only giving count, if there any way to get full information of log in email?
Hi, can you do a video on how to add additional config to get logs for a custom application? What configs do we need to edit, is it the configmap for the created promtail service?
Thanks for the video. I followed the steps but 'Explore' page is empty for me even though loki data source is added. While checking the Javascript console, I see "Datasource named Prometheus was not found". Can you help?
This explanation was awesome! I saw your logs have also this prefixed metadata: `stderr` before the real log the JSON. How can you remove this so loki will recognize the json properties correctly!? If you use for example fluent bit instead of Promtail?
Thank you so much for the video, it was very helpful for me. I would also be very grateful if someone could tell me how to get the loki, promtoil configuration files after installation???
Hi, I am getting 502 bad gateway error, when I test data source in grafana, can you help me with this, my setup is with kubeadm on aws and it's single node, I am accessing grafana with nodeport.
Thank you for all your wonderful videos, I have a query regarding logs, can we use loki to monitor application specific logs, if not would you suggest any tools for application specific? Thank you.
Thanks for such a wonderful video. I'll really enjoyed the way explained. Can we do log rotation in LOKI? bcoz, in my production environment the EBS volume is getting filled with lots of logs. if i want to delete the logs which is 10 days older, how will i do that with loki?
Hi can anyone tell me how to get MySQL server query logs to Loki grafana dashboard, Mysql query logs are in pod container (opt/bitnami/MySQL/logs/query.log ) i want this logs which are in this pod container location to show displayed in Loki grafana dashboard can anyone here guide through this
Hi Chris, thanks for watching. I haven't tested the performance with large dataset. But according to them, it should perform better than Elasticsearch as it doesn't have the index overhead.
Hi Venkat,Can you Please give me yaml file for adding S3 bucket as storage .Have tried many ways but nothing is working .It would be great if you could help
Hi, thanks for watching. I am not sure why you would want to download the logs. Its because you wanted to retain the logs from various applications, you have deployed Loki and storing logs in there where you can query and visualize stuff. If you want to download logs, you will have to write a query and store the output in a file. Hope this helps.
I don't understand why you would skip setting up an ingress, in a real production env you wouldn't use port forwarding... All tutorials related to Loki fail to acknowledge the ingress.
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?
Loki maintainer here, great job on the video!
Cool. Thanks for watching.
i agree, its good@@justmeandopensource
You are a very sharp cookie, I was impressed not even one minute into the video. Your tip of saving out the chart values for reference has accelerated my progress immensely, I don't know why but I had gravitated towards using --set to get things done, no more, tyvm :D
Hi Derek, thanks for watching. I am used to using values file :)
Thank you so much for your video, it really helped me get Loki running with my Prometheus installation!
Hi John, thanks for watching.
Very straight and specific to solution but details. It is really helpful.
Thanks for watching.
Hi Venkat, excellent video. It was very helpful. Keep doing more videos.
Hi, Thanks for watching.
Thank you. I always learn a lot from you.
My pleasure!
Thanks a lot Venkat. Much needed.
Hi Kamrul, thanks for watching.
You knew it :))
I was searching for this info regarding loki , thnx man , much appreciated it.
You are welcome and thanks for watching.
Venkat always bringing great tech contents. Thanks a lot.
Hi Leo, many thanks for watching.
With this video, I have learned a huge amount of valuable information. Thanks bro.
Glad it helped. Thanks for watching. Cheers.
Superb content and straight forward
Hi Chandu, thanks for watching. CHeers.
Thank you for the guide!)
Hi Tokhon, thanks for watching.
Thanks a lot. You saved my day :)
Glad it was helpful. Thanks for watching.
Fantastic video.
Thanks for watching.
Thanks for this great content! Congrats!
Hi Cezar, thanks for watching.
This is an amazing tutorial. Bravo and thanks
Hi Craig, Thanks for watching.
Great video Venkat ! Im trying to send to a external grafana the loki service ! thanks again for all the videos !
Thanks for watching. You can just add the lok datasource in your external Grafana provided you expose loki outside the cluster and that grafana can reach it. Cheers.
Cool !!!
Content of great relevance !!!
Thanks
great!! many thanks to you!
You are welcome. Thanks for watching.
Life saver, Thanks a lot
Hi kumar, Thanks for watching.
Thanks for the great content. Really appreciated it.
Thanks for watching Chinglong.
Thank you very much 👍
hi, thanks for watching.
great content as usual, thanks!
Thanks for watching.
Another amazing video, Mr Venkat. Would be awesome a traefik v2 video.
I have already prepared for Traefik v2. Just need to record it. Will do it soon. Cheers.
@@justmeandopensource Venkat, The only one!! :)
you the best
Thanks for watching. Cheers.
It's very helpful and to the point. Thanks.
If possible, can you please make a small demo of "Simple scalable deployment of Grafana Loki ", which is latest and as loki-stack is mostly depreciated and could not find the official documentation as well.
Hi, thanks for watching. Why do you think loki-stack is deprecated? The chart is still maintained in grafana helm repository. I can certainly do a video on simple scalable deployment. I will try and record in the coming weeks. Cheers.
Nice!
Thanks great video
Hi, thanks for watching.
That was awesome! Thank You. Can you please also make some video series on securing Kube API servers with Oauth & OIDC.
I have that in my list. Let me see if I get some time to explore that. Cheers.
Hi Venkat..
It would great if you do for both in house cluster as well as cloud provided managed k8 cluster where one don't have access to the control plane..
Once again it's a great work
Thanks again
@@sandeepmishal2376 Thanks for watching. I mostly cover the concept in a more generic way and let people explore further. I know people are not going to be running clusters on their laptop in the real world. But I won't be able to cover all the scenarios. Some might be interested in gke and other eks etc. But I will keep this in mind. Cheers.
Thanks Venkat.. I understood..
May be I could have been more specific to my comment and not confused you..
I was stating it for SSO using oidc topic where it can become a bit tricky as we will not have access to control plane . Sry for the confusion
I love the generic way it self..
@@sandeepmishal2376 Ah okay. Now it makes sense as to why you replied in this thread. Cheers.
Oh Thank you.
Thanks for watching. CHeers.
thank you Venkat
Rhanks for watching Murat.
Thanks for this good jobs
Thanks for watching.
Hi Venkat, your videos are just mind-blowing, want to ask about any upcoming videos on Grafan Tempo?
Hi Gordis, many thanks for watching. I haven't explored Grafana Tempo. I can add it to my list and I am going through my user requested videos list at the moment.
hi thanks for this guide,but how can i display all the namespaces of the cluster,because loki display only some namespaces to me in the grafana dashboard
hi thanks you ,i have found the answer , there was any logs to display in the other namespaces
awesome thanks!
Thanks for watching Javier.
Nice
Thanks for watching
Thanks 😊
Thanks for watching Adil
Thanks. (hopefully this comment shows interaction with your vids and gets you more views)
Thanks 😊
Hello, I have setup the grafana/loki stack similar way you did. Now in grafana dashboards i am trying to create dashboard for individual pods and i am able to do it. But when i am restarting the pods, pods name gets changed. Now i am not getting any logs on dashboard. I am not sure if its the correct way of setting the dashboard i.e individual dashboards.
or i just need to setup logs for namespaces only? would be grateful for your help
Please make videos on Splunk for monitoring of k8s.
I can give it a try
Great tutorial! Is there any way you could make an updated tutorial on this? Can you also touch upon their Grafana Cloud offering versus using the open source community version?
Thanks a lot, how can i make alerts if any pod having error in logs
Thanks for watching. You have to use alertmanager for that I guess. Haven't tried it myself.
Great content, I could able to deploy Loki for our use case by referring this video. Thanks . I am also looking out the way to get the logs using Loki API for given pod
Hi Venkat, thank you for informatic video.
I'm deploying it with grafana disabled, and how do I update the grafana enabled without deleting the configured?
Hi Piscki, thanks for watching. I am not sure if I understood your question correctly. Can you elaborate your requirement please? Thanks.
@@justmeandopensource so i have deployed loki-stack with grafana disabled, but i want to change it to enable, is it possible without running "helmet uninstall" command?
@@pisckipratama9529 Ah okay. You should be able to change most of the stuff without uninstalling.
For example, as shown in this video, if you checked out the values of the chart with "helm show values" to a local file and used that in helm install command with --values option, then you can edit that values file, enable grafana and run "helm upgrade --install --values ". I haven't tried it in this case but I know it worked for me in the past. However there are certain stuff in the values file that you can update on live deployment. You will have to helm uninstall it first and deploy again.
@@justmeandopensource ohh okay Venkat, thanks for the good explanation
You are welcome.
nice explanation, i have a question, if i need to configure logging on multiple kubernetes clusters can i use a single grafana instance for viewing the loki logs from different clusters?, appreciate your help
Hi Malcolm, thanks for watching. Yes that set up is entirely possible. You can have all logging stuff (like prometheus, grafana etc) on a separate cluster and configure ingress routes so that they can be connected from agents on other clusters.
@@justmeandopensource thank you very much for the quick reply
@@malcolmserrao8721 no worries
Hi! Many thanks for that video! I have one question. I've installed loki and grafana. But I don't see how to expand log line and find out more details of log item.
Thanks for watching. Do you mean in Grafana that you can't see the full log item? I am not sure if loki truncates the log item. I would be surprised if it does that and there is no configuration to control that behaviour.
I’ve grafana loki stack running on my local docker desktop k8s , i’m integrating it with GitHub Oauth, what root url and callback url should i set, I’m getting mismatch redirect
thank you, can you let me know how to setup alerts for loki stack
Hi, Thanks for watching. I haven't tried it myself but here is the documentation that might be helpful.
Hello can you please make a video for setting up log retention period in loki stack. As i have tried to set the parameter according to documentation but doesn't retain the log according to set period.
Thank you for this amazing video. I have a question that I have a customize storage class of type gp2 along with PV and PVC , so shall I need to mention the PV and PVC in the Loki yaml file or the storage class name will be sufficient enough for the yaml.
Why I am getting Crashloopback of for the loki-stack.
what is the browser you are using for demos. I can see some tabs and running commands for opening the URLs
I use Qutebrowser as my web browser on Arch Linux. This browser is python based and keyboard driven. You will find it extremely useful if you are a keyboard centric person and VIM user.
www.qutebrowser.org/
Thanks for the explanation, is there any way that grafana can send full information of logs in email as alert, we are getting alert but it is only giving count, if there any way to get full information of log in email?
Hi, thanks for watching. You could use alert manager and configure it to your liking.
Hi!
How to handle archiving of logs
Bro can you please make another video with latest loki monolithic setup and microservices loki setup on kubernetes please?
Can you tell me how to change config file for loki ? for example set max_query_series = 1000 ( dafault is 500 ) in kubernetes
Hi, can you do a video on how to add additional config to get logs for a custom application? What configs do we need to edit, is it the configmap for the created promtail service?
Thanks for the video. I followed the steps but 'Explore' page is empty for me even though loki data source is added. While checking the Javascript console, I see "Datasource named Prometheus was not found". Can you help?
When tried to setup data source for loki, it was unable to connect to loki service. Can you please help for solve this?
deploy Loki in my cluster using helm but promtail was not deployed to the bare metal servers, how do i get it deployed on them too?
This explanation was awesome!
I saw your logs have also this prefixed metadata:
`stderr` before the real log the JSON.
How can you remove this so loki will recognize the json properties correctly!? If you use for example fluent bit instead of Promtail?
Hey hi, actually im using xk6 for sending logs to loki, is it possible to send our own messages to loki like " This is loki test by chandru" Message?
Thank you so much for the video, it was very helpful for me. I would also be very grateful if someone could tell me how to get the loki, promtoil configuration files after installation???
Hi, I am getting 502 bad gateway error, when I test data source in grafana, can you help me with this, my setup is with kubeadm on aws and it's single node, I am accessing grafana with nodeport.
Thank you for all your wonderful videos, I have a query regarding logs, can we use loki to monitor application specific logs, if not would you suggest any tools for application specific? Thank you.
Thanks for such a wonderful video. I'll really enjoyed the way explained.
Can we do log rotation in LOKI? bcoz, in my production environment the EBS volume is getting filled with lots of logs. if i want to delete the logs which is 10 days older, how will i do that with loki?
Thanks for watching. You have to configure retention settings in storage configuration.
grafana.com/docs/loki/latest/operations/storage/retention/
@@justmeandopensource thank you so much..........
You are welcome.
requesting for Grafana tempo too :)
I will add it to my list. Cheers.
@@justmeandopensource Thank you! as always great content!
@@Ariel-om1lt You are welcome.
Hi , Venkat . Very informatic video. Which logging soultion you will suggest in production for cluster having more than 50 nodes?
Which shell are you using?
Zsh along with some goodies which I have explained in this video if you would like to watch.
th-cam.com/video/PUWnCbr9cN8/w-d-xo.html
No need to setup a PersistentVolumeClaim?
It all comes from helm chart. No need to setup pvc but you should have automated volume provisioning in your cluster.
Hi can anyone tell me how to get MySQL server query logs to Loki grafana dashboard,
Mysql query logs are in pod container (opt/bitnami/MySQL/logs/query.log ) i want this logs which are in this pod container location to show displayed in Loki grafana dashboard can anyone here guide through this
up!
Can You do a fluentd with loki and Amazon managed grafana
Nice tutorial, Did you test the query performace with a large mount of data? If so, Is loki more performant than EFK?
Hi Chris, thanks for watching. I haven't tested the performance with large dataset. But according to them, it should perform better than Elasticsearch as it doesn't have the index overhead.
Hi Venkat,Can you Please give me yaml file for adding S3 bucket as storage .Have tried many ways but nothing is working .It would be great if you could help
how to download these logs
Hi, thanks for watching. I am not sure why you would want to download the logs. Its because you wanted to retain the logs from various applications, you have deployed Loki and storing logs in there where you can query and visualize stuff.
If you want to download logs, you will have to write a query and store the output in a file. Hope this helps.
I don't understand why you would skip setting up an ingress, in a real production env you wouldn't use port forwarding... All tutorials related to Loki fail to acknowledge the ingress.
good job man!
i want use nodeport service on loki-stack-grafana.
teach me edit option.
tmp/loki-stack-values.yaml
Thanks for watching. I will try it out and if possible do a follow up video to this one. Cheers.
I'm sick of devops enginers using poor copy called apple, thanks for using linux pro!
Haha. I know your feeling. Been there.
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?