Meet Grafana LOKI, a Log Aggregation System for EVERYTHING

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ธ.ค. 2024

ความคิดเห็น • 355

  • @TechnoTim
    @TechnoTim  3 ปีที่แล้ว +68

    OK, nerd talk: What's your favorite logging system? (would this ever come up in a normal conversation???)

    • @axelolaussonholtenas2970
      @axelolaussonholtenas2970 3 ปีที่แล้ว +6

      LibreNMS

    • @camerontgore
      @camerontgore 3 ปีที่แล้ว +12

      For prod systems I really love Splunk

    • @bruceritchie7613
      @bruceritchie7613 3 ปีที่แล้ว +9

      I've tried graylog, elk, datadog, cloud watch and a few others. Most are overkill, some are crazy expensive and none are perfect (or even great) Loki was on the 'check out at some point' list

    • @VoislavVasiljevski
      @VoislavVasiljevski 3 ปีที่แล้ว +11

      ELK (elasticsearch, logstash, kibana)

    • @michaelkasede1489
      @michaelkasede1489 3 ปีที่แล้ว +9

      @@VoislavVasiljevski ELK is definitely on the "one of the best" list. It's only down side is, it's resource intensive.

  • @forzaracer
    @forzaracer ปีที่แล้ว +21

    These guides are insane. No one goes to the detail that you do. You explain why and how commands and config files work rather that just reading them. Love your channel!

  • @thegeogian
    @thegeogian 3 ปีที่แล้ว +65

    "Make sure you're in a directory... I dont know where else you'd be..." Made me laugh so hard xD

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +22

      haha! I was going to re-record that part but I was like "just roll with it"

    • @thegeogian
      @thegeogian 3 ปีที่แล้ว +12

      @@TechnoTim best decision

    • @HTOP1982
      @HTOP1982 ปีที่แล้ว

      Root?

  •  3 ปีที่แล้ว +25

    Great tutorial! One thing to note if you want to log specific docker containers you don't need to install promtail or change the deamon file. Just need the docker plugin for Loki and extra configuration in docker-compose for your specific containers that should use dedicated Loki logging driver.

    • @ClaudeAlexandreRochatProfile
      @ClaudeAlexandreRochatProfile ปีที่แล้ว +3

      Hello, this sound interesting can you give an example or link ? Thanks

    • @chelo-homelab
      @chelo-homelab 9 หลายเดือนก่อน

      Yes please, that will help a ton!

  • @resetToDefaultSettings
    @resetToDefaultSettings 2 ปีที่แล้ว +2

    I've watched so many deployment videos trying to get a better all around understanding on all the NMS out there, what they can do, how they operate under the hood, etc. This by far is the absolute best I have seen and definitely earned you a sub. Most deployment videos tend to be quite dry, very un-explainative, and usually feel like a 'just do this real quick and it works' video. Thank you!!!

  • @rupert8606
    @rupert8606 2 ปีที่แล้ว

    Fantastic tutorial... everything explained really well, and worked perfectly.. great way to get up and running with Loki / Promtail / Grafana quickly!!

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว +1

      Glad it helped!

  • @Harry-hi3kr
    @Harry-hi3kr 3 ปีที่แล้ว +7

    Been using Loki for over 2 years for work and play. Even out performed some enterprise level logging we tried too!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      Nice! Thanks for sharing!

  • @AshfaqueAhmed-b8d
    @AshfaqueAhmed-b8d ปีที่แล้ว +2

    Yo bro, I like your video and the way explained every single bit and steps are just beyond awesome. Thanks for this quality content. God bless you my friend.

  • @toshy50
    @toshy50 3 ปีที่แล้ว +2

    Thanks man! This is just so much easier and less troublesome then configuring a proper ELK stack.

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Glad it helped!

  • @UzielBueno-xd2ud
    @UzielBueno-xd2ud ปีที่แล้ว +2

    Thanks! This was informative! It's worth mentioning that Promtail is not required if you are setting Loki as the Docker daemon default logging driver

  • @brightly9368
    @brightly9368 2 ปีที่แล้ว +2

    IDK may be I am wrong fix me if so. The man talks as if he is talking inside my brain. Awesome job

  • @weitanglau162
    @weitanglau162 3 ปีที่แล้ว +36

    Please make a video for Tempo as well!
    Then we can see how you monitor logs, traces and metrics using grafana and setting alerts!
    That would be cool!

    • @annanayagarwal9836
      @annanayagarwal9836 3 ปีที่แล้ว +2

      Tempo Maintainer here and YES! Would love to see that!

  • @renobodyrenobody
    @renobodyrenobody 2 ปีที่แล้ว

    Excellent! I am a long time user of Grafana and do a lot with it, but now the job is to manage the logs: here we are! Loki is the tool we want to deploy. Thanks a lot for your video, brillant, will be very helpful!

  • @paulnieuwkamp8067
    @paulnieuwkamp8067 3 ปีที่แล้ว +3

    Hi Tim, you look like the kind of guy to keep (their system) up to date, but for those that may not know, there was a high-severity, zero-day vulnerability for Grafana a few days ago that enabled remote access to local files. Anybody that could access the site could access any file on the system, like for instance /etc/passwd. There are proof-of-concepts publicly available so it takes hardly any skill for script kiddies to start scanning.
    Grafana released a fix right away. If you have not already, install the latest versions / patches!

    • @toshy50
      @toshy50 3 ปีที่แล้ว +1

      +1 I've noticed this as well, but by using the "latest" tag the fixed version should be pulled next time you up the containers with the "--build" argument. Just want to add a small note for others as well, that using "latest" is not a best practice, and you should specify the version you want to use (especially in production), else you could end up pulling a vulnerable version without even realizing.

  • @ThomasWilent
    @ThomasWilent 2 ปีที่แล้ว

    5 min in and I can already tell your my new favorite tech guide guy. The detail is really welcome!

  • @pivertd
    @pivertd ปีที่แล้ว

    Now, because of you, I want it ! Thanks for the great work.

  • @TrueCharts
    @TrueCharts 3 ปีที่แล้ว +2

    We went ahead and added Grafana and Loki to our TrueNAS SCALE Apps as well :)
    Took some work, but well worth it ^^

  • @itskagiso
    @itskagiso 2 ปีที่แล้ว +2

    This was a lengthy but worth every second. Managed to get this up and running and Im happy but I would love a guide on getting syslog integrated

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว +2

      Nice work! Noted!

  • @GeorgeKowalski
    @GeorgeKowalski 3 ปีที่แล้ว

    Thanks!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Wow! Thank you!

  • @JohnMatthew1
    @JohnMatthew1 ปีที่แล้ว

    GREAT VIDEO, got me through Loki and Syslog, thank you Tim

  • @slothchunk
    @slothchunk ปีที่แล้ว

    thank you for validating my use of nano. we are nano brothers, brother.

  • @wildflowers465
    @wildflowers465 2 ปีที่แล้ว

    Remap Caps Lock to Ctrl if your control key is broken! Easier to reach, I do this by default. Great tutorial.

  • @jaygreentree4394
    @jaygreentree4394 3 ปีที่แล้ว +4

    Before watching this video I was thinking to myself I wish Tim had a grafana tutorial.

  • @grouper1596
    @grouper1596 6 หลายเดือนก่อน

    Thank you for the video. Helped a lot!

  • @fretbuzzly
    @fretbuzzly 7 หลายเดือนก่อน +10

    I swear software is annoying. If you look at the official docs to install this thing using docker-compose there's no mention of most of what Tim talks about. "Creake a loki folder and run this wget. Done." And if you look at the yaml file from the repo it's completely different than Tim's. If software developers knew how to communicate they'd be dangerous.

    • @oxJake
      @oxJake 5 หลายเดือนก่อน +1

      It’s because of the age of the video software has updates things change

  • @halo64654
    @halo64654 2 หลายเดือนก่อน +2

    Your documentation (as far as copy & pasting goes) does not work anymore. Docker containers will not be able to find directories, or run without root, and will be stuck in a restart loop.

  • @magnoliaraoul
    @magnoliaraoul 3 ปีที่แล้ว +2

    I was waiting for this video. Very well explained as always, thanks Tim !
    To take a quick glance at my docker logs, i like to use Dozzle, a very small and straight to the point tool, but it does the job

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Thank you! Glad you liked it!

  • @vigscodes
    @vigscodes ปีที่แล้ว +2

    Is there a GitHub repository showing the various configuration files? That would be helpful.

  • @lolikpof
    @lolikpof 7 หลายเดือนก่อน +1

    Can this be used in a closed source commercial product? The AGPL license is concerning. Even though no changes are made to the source code, and it would only be used for internal purposes, section 13 of the license is concerning. The software is a web application, so it would be accessible over a network, and while logs would obviously not be shown to end users, and technically aren't even necessary for the application to work, they are necessary for development and debugging.. Can't figure out whether it can be used in my company or not

  • @hassanad94
    @hassanad94 5 หลายเดือนก่อน

    Thanks for this tuto. :) I get a lot of value from it :D

  • @MarkDodgson
    @MarkDodgson 2 ปีที่แล้ว +4

    Great video, I have a question about the promtail adding docker section. when you set up the docker loki driver, the daemon config was sending logs directly to loki so I am not sure what the promtail configuration actually did in this setup. Additionally, the promtail config was set to push from /var/lib/containers.... but this would have ben for the folder within the container of promtail only and not host. Have I missunderstood something?

    • @WoBuGs-yt
      @WoBuGs-yt 9 หลายเดือนก่อน +1

      You are correct, I believe the loki driver method is completely different form the promtail one with the docker pipeline stage
      See the other comment I just posted about this for more details :)

  • @royalcanadianbearforce9841
    @royalcanadianbearforce9841 2 ปีที่แล้ว +2

    Just found your channel. I freaking LOVE these deep dives. Thank you so much for your hard work and insights!

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Thank you and welcome!

  • @larsvontrierpung9337
    @larsvontrierpung9337 ปีที่แล้ว

    Thanx a lot. Something that would be cool is to have a guide howto setup loki,mimir,tempo with grafana and prometheus in k8. Thanks!

  • @jharding65
    @jharding65 3 ปีที่แล้ว +1

    This is great and timely! Awesome vid! You make logging look fun! Gonna try it out right now!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Thank you! Let us know how it goes!

  • @belbono
    @belbono 2 ปีที่แล้ว +1

    The docker loki plugin had a serious problem, so it was not an option for production use. I don´ t know if this issue has been solved. The last time I was reading through the related issues the developers said, that they might not be able to provide a solution anytime soon. Let me describe: If your container host has high IO load and/or the loki server is not reachable for some reason the whole docker daemon hang up, because it wasn´t able to write the logs. The worst possible situation is when shutting down multiple containers. It wasn´ t possible to define some timeout. It was required to kill the daemon process and remove the container files (/var/lib/docker/containers) the daemon normally manages.
    I never used the plugin again. I´m happy with configuring the log property of a container and have promtail to scrape this. The result is the same, but without the possibility of a blocked daemon.

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Thanks for sharing your expertise and experience!

  • @elmoustaphamalick9925
    @elmoustaphamalick9925 24 วันที่ผ่านมา

    Thanks man you made my day :)

  • @simonostendorf6280
    @simonostendorf6280 3 ปีที่แล้ว +3

    New monitoring:
    error and alert monitoring: CheckMK
    performance monitoring: Prometheus + Grafana
    log monitoring: Loki + Grafana
    status monitoring: uptime kuma

    • @shekharnandkoemarsing158
      @shekharnandkoemarsing158 3 ปีที่แล้ว

      Only need a trace management solution and you are all set up

    • @MrNecrotik
      @MrNecrotik 3 ปีที่แล้ว

      Starting to get into k8s but wouldn't your alerting and status all be in Grafana?

    • @simonostendorf6280
      @simonostendorf6280 3 ปีที่แล้ว +1

      @@MrNecrotik Yes its inside K8S. I think i will use two different grafana instances

  • @michaelganesan4578
    @michaelganesan4578 2 ปีที่แล้ว

    Thank you for the demo. I really appreciate it. I am in the process of setting up a syslog server.

  • @chrisumali9841
    @chrisumali9841 3 ปีที่แล้ว

    Thanks for the demo and info, have a great day

  • @rupakrath637
    @rupakrath637 ปีที่แล้ว

    Thank you so much for the knowledgeable session

  • @cpt_Ruckus
    @cpt_Ruckus 3 ปีที่แล้ว +2

    Loki is great, very versatile. Be warned tho if you have limited storage space the loki database can grow in size quick!
    Edit: loki doesn't trim old logs by default.. I only keep logs up to two weeks old. Huge data saver!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      Good tip!

    • @djdubd
      @djdubd 3 ปีที่แล้ว +1

      What config items do you need to set to change the default storage locations? I'm looking at their config reference and having trouble making sense of it

    • @SebastianSastre
      @SebastianSastre ปีที่แล้ว

      This is the first I though when Tim was explaining the setup.

  • @grunkasvunka2988
    @grunkasvunka2988 2 หลายเดือนก่อน

    Awesome video!

  • @MinhHaiNehehe
    @MinhHaiNehehe 21 วันที่ผ่านมา

    Hi , i would like to say thank you !

  • @TheApeMachine
    @TheApeMachine 3 ปีที่แล้ว +2

    You know it's like really simple to develop plugins for Grafana? In my recent job we had to develop some very custom dashboards on the data we were collecting and it turns out Grafana has this whole eco-system to develop not only panel plugins, or data source plugins, but even app plugins, which integrate directly into the Grafana UI. It's really nice, since you get all user management and auto-reloading of data mechanisms for free :) And when I say easy, I mean really hard if you don't know it's basically React (and I didn't know React). But once you figure it out, it's easy.

    • @TheApeMachine
      @TheApeMachine 3 ปีที่แล้ว

      It was an interesting video though, I had been wondering about this logging stack for a while and if I should chase it. The thing is, Kibana is just too powerful. Like even having unstructured data and being able to structure it on the fly is just everything.

  • @uzairnizamuddin1837
    @uzairnizamuddin1837 2 ปีที่แล้ว +1

    I would like to reach a position where my ctrl and enter breaks. How can I do it?

  • @kokizzu
    @kokizzu 3 ปีที่แล้ว +1

    you can use ./bla (relative path) for binding volume

  • @michaelcooper5490
    @michaelcooper5490 ปีที่แล้ว

    Awesome tutorial Tim, as usual you nailed thank you for your hard work.

  • @lucianopacione8755
    @lucianopacione8755 ปีที่แล้ว +1

    Hi! Before all, amazing video!!
    But, I'm having an issue when I try to do the first query, I see "No logs volume available". I already checked /ready and /metrics and looks good. Do you know which can be the problem?
    Thanks a lot

    • @udaydito721
      @udaydito721 17 วันที่ผ่านมา

      Hi, is this fixed?
      I'm also facing similar issue
      Thanks,

  • @NFvidoJagg2
    @NFvidoJagg2 ปีที่แล้ว

    for the syslog, see if you can point the logs towards a dummy ip address. this way if someone gets into you system, they won't be able to find and mess with the logging server

  • @sevanchandra1
    @sevanchandra1 2 ปีที่แล้ว

    You are my inspiration!! Great job!!

  • @pantatzz
    @pantatzz 2 ปีที่แล้ว

    Gratefull i found this channel, thanks sir. Greeting from indonesia

  • @mvaldes
    @mvaldes 3 ปีที่แล้ว +1

    i usually do Elasticsearch, i know its heavy in use and maintenance but also plugs into other things like my wiki so its great. Loki does look promising tho.

  • @abdulrahmanmohammed1382
    @abdulrahmanmohammed1382 ปีที่แล้ว

    Awesome video @TechnoTim . Around the 15:24 mark, he was talking about how you would usually check Docker logs then scrolled down his container names, how did he do that? I'm assuming it is a particular shell, maybe? Anyone knows?

    • @TechnoTim
      @TechnoTim  ปีที่แล้ว

      I am using zsh with oh-my-zsh and the docker plugin enabled. Search my website for zsh. I have examples.

  • @nada176
    @nada176 3 ปีที่แล้ว +2

    Messing with influxdb but will check out Loki next. Wondering how Loki performs with TBs of logs without switching to cloud storage. Thanks for the video!

  • @MadChristianX
    @MadChristianX 2 ปีที่แล้ว +1

    Thank you for your great work, i think i have nearly a copy of your homelab in my home

  • @gr4yweb
    @gr4yweb 3 ปีที่แล้ว

    Thank you for your video. I enjoyed it very much and I know what I will do when I have some more free time around christmas this year.

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Thank you! Me too!

  • @JasonTurner
    @JasonTurner 3 ปีที่แล้ว

    Great presentation of some solid content! Thanks for sharing!

  • @smeuse
    @smeuse 3 ปีที่แล้ว +3

    Used graylog for a while, hated it. This looks much nicer, going to give it a whirl. Currently just aggregating into a rsyslog server with some scripts to compress and logrotate.

  • @frankihk
    @frankihk ปีที่แล้ว

    Hi , may I know how to add the prometheus , snmp exporter also include in the docker?
    My purpose is monitor linux system, windows system , and network deivce e.g Cisco switch , FortiGate firewall . Thank you

  • @Nikzww187
    @Nikzww187 3 ปีที่แล้ว

    this tutorial was awesome, appreciate you!

  • @johnconnor7778
    @johnconnor7778 2 ปีที่แล้ว +2

    Awesome video, Tim! Could you share your dashboard config from 0:47? It looks like exactly what I need.

  • @mahabubulhasan7827
    @mahabubulhasan7827 ปีที่แล้ว

    Thanks, great explanation indeed

  • @project_mini_hero
    @project_mini_hero 4 หลายเดือนก่อน

    Hey Tim, great content as per usual!! I just saw your video and been struggling to set up logging from a firewall with this especially since promtail will be deprecated next year and they are switching to alloy. I wanted to know what are you using today in 2024 and if your still use this setup, have you migrated to alloy instead ?

  • @leagueoflegendswildriftnep2236
    @leagueoflegendswildriftnep2236 3 ปีที่แล้ว

    I also used 24:24 and its really awesome, but now there's issue i could not fix, in kubernetes 1.22.x chart is deprecated and solution is to update clusterrole to /v1 from /v1beta1 but no idea in helm how to?

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      We'll have to wait for grafana to update this. This is just a deprecation warning, it still works.

  • @therus000
    @therus000 ปีที่แล้ว

    Good day
    i got this error when install plugin
    docker plugin enable loki
    Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/resolv.conf" to rootfs at "/etc/resolv.conf": stat /etc/resolv.conf: no such file or directory: unknown
    ls -l /etc/resolv.conf
    lrwxrwxrwx 1 root root 32 Dec 26 16:15 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf

  • @b9944236
    @b9944236 ปีที่แล้ว

    Great explanation, thanks a lot.

  • @9910313742
    @9910313742 2 ปีที่แล้ว

    I want to send only Error Logs and need to define that in promtail configuration file , so i do not need to send all logs to loki before sending logs it will filtered and send only error logs that is required , pls help ???

  • @fasooly1992
    @fasooly1992 ปีที่แล้ว

    Is there a video on how to set up the dashboard?

  • @prasaddotcom
    @prasaddotcom 2 ปีที่แล้ว

    Hi , I tried to extract logs from mssql server using promtail , loki grafana I window environment, logs are coming to grafana dashboard. Problem here is in logs words are displaying as I n s t a n c e instead of instance. Can you please help with solution to resolve my issue.

  • @reyastaroth
    @reyastaroth ปีที่แล้ว

    Hello, I have LXC containers (15) with dockers running inside, have you found a way to monitor them without installing the agent on all of them?

  • @andymok7945
    @andymok7945 2 ปีที่แล้ว

    Can this be done in a VM? I really don't have the time to learn about docker, containers. Thanks.

  • @AshishGupta-oc2cz
    @AshishGupta-oc2cz 2 ปีที่แล้ว

    Very Nicely Explained, keep it up.

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Glad you liked it

  • @ThorstenS-linux
    @ThorstenS-linux 3 ปีที่แล้ว

    really nice content dude!

  • @joeripelgrims8900
    @joeripelgrims8900 ปีที่แล้ว

    I seem to be missing something with the syslog portion. I set it up with the listening ports. I then went into one of my network devices and pointed it to loki on port 1514. Now what? I don't see anything in grafana indicating that any syslogs are coming in. I must be missing something really basic.

  • @mohamedaly4101
    @mohamedaly4101 2 ปีที่แล้ว

    Great video. Thanks for putting this info out. I will use it to monitor my home network. QQ on syslog, once I place the configuration in the yaml file, I dnt need to use something like rsyslog on a server to listen to the syslog and forward it to promtail? I can send the my syslog directly to promtail container on port 1514?

  • @deviouschu
    @deviouschu ปีที่แล้ว

    Simply amazing

  • @kolaythant3554
    @kolaythant3554 ปีที่แล้ว

    let me ask 1 question Loki is possible to connect with old container logs after using docker plugin

  • @Stoney_Eagle
    @Stoney_Eagle 3 ปีที่แล้ว

    You can't start logging this professional now dude, I stayed hidden so far from you but now it's impossible 🤣
    You have so many docker tutorials and you're actuality running them in your house that... I have to...
    I hereby declare you the docker King of TH-cam!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว +1

      Thanks 😅. I did get a little enterprise on this one, did I? 😆

    • @Stoney_Eagle
      @Stoney_Eagle 3 ปีที่แล้ว

      @@TechnoTim This is what I want in my feed, some good knowledge instead of that Tiktok crap. 😉

  • @pyhoff
    @pyhoff ปีที่แล้ว

    Stupid question, what do you use for SIEM solution in this setup, LOKI is not one or do they plan on it as per github. What would you forward logs to? Graylog or ELK?

  • @tyaprak
    @tyaprak 3 ปีที่แล้ว

    I love grep, awk, wc, uniq and sort commands :)

  • @alexandrumaer
    @alexandrumaer 3 ปีที่แล้ว

    Tried Loki, because it's easy to correlate it with Jaeger so you could check out traces based on trace ids found in logs. But to have advanced features on your logs, there's nothing else like elk+kibana. It only depends on what your needs are. Cheers and thumbs up for your videos ;) keep up the good work!

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Good call! Thank you!

  • @Travis94ZX
    @Travis94ZX 2 ปีที่แล้ว

    Unfortunately, I found that the syslog functions do not work with my firewall (SonicWALL) and promtail. Looking at some dashboards on Grafana related to SonicWALL it says something about setting up rsyslog in front of promtail to get it to work.

  • @Deffcolony
    @Deffcolony 2 ปีที่แล้ว

    Hi Techno Tim, Docker compose does not work. Services are not exposed... I get a 404 page not found at port 3100 the port 3000 is not exposed at all... What do i have to do now?

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Not sure, possibly check the config again?

  • @majorgear1021
    @majorgear1021 ปีที่แล้ว

    I got this working well for standard logs . I'm curious if I can send other logs, like from ansible pull or from application that I write, to promtail as well.
    Google wasn't useful for answering this question, so maybe I'll hit up reddit and Grafana forums.

  • @ameenjohnson1061
    @ameenjohnson1061 3 ปีที่แล้ว +2

    Great video! I installed grafana, prometheus, loki and promtail on my Proxmox host and I am really liking it. One question: is there an easy way to get promtail to get logs from my Proxmox LXC containers and VMs? Or do I need to install promtail into each LXC/VM in order to get the logs into loki?

    • @reyastaroth
      @reyastaroth ปีที่แล้ว +1

      Hello, I have LXC containers (15) with dockers running inside, have you found a way to monitor them without installing the agent on all of them?

  • @arjuna5051
    @arjuna5051 9 หลายเดือนก่อน

    Hey, how can I add Prometheus to this stack?

  • @michaelcooper5490
    @michaelcooper5490 ปีที่แล้ว

    Hey Tim, Love the video great job, How would this apply to the Raspberry Pi/Orange Pi/Rock Pi? Thanks for your hard work. Can it be installed on RPi 4 or the others I mentioned above?

  • @dstdg18
    @dstdg18 3 ปีที่แล้ว

    What plugin causes the yellow, green, and purple stripes in Tim's text editor to show which indent he's at? Time code 4:00 as a reference.

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      It's indent-rainbow and I love it!

  • @OddBallTrails
    @OddBallTrails 2 ปีที่แล้ว

    Wondering if we need same driver while setting up the loki, promtail logging system in my k8s cluster ? Please suggest, thanks. I am trying to set this logging system for my cluster but having some hard time to understand how to write the scrape config to get logs from all pods in the namespace :(

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      It should do this automatically. I have docs for this docs.technotim.live/posts/grafana-loki-kubernetes/

  • @veasnachea6924
    @veasnachea6924 2 ปีที่แล้ว

    very nice video, well done, thanks.

  • @MohamadSyahiran-n2r
    @MohamadSyahiran-n2r 11 หลายเดือนก่อน

    Need a tutorial on how to use Grafana Agent with the Grafana Loki

  • @qusifarhan9744
    @qusifarhan9744 9 หลายเดือนก่อน

    this video is great help

  • @ramanujadasu1
    @ramanujadasu1 2 ปีที่แล้ว

    Hey, Thanks for providing docker-compose grafana loki setup. Could you please kubernats (using kind) grafana loki yml if possible(for capturing the ISTIO logs)

  • @exact-estimate
    @exact-estimate 2 ปีที่แล้ว

    Great video, just set it up. One question though: Retention, what are the limits, and where can you set them to stop it taking up all the space on my host?!

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว

      Log retention is configurable

  • @bladrbrettel6511
    @bladrbrettel6511 2 ปีที่แล้ว +1

    Hey Tim, great tutorial I had a bit of difficulty to set it up on my synology NAS, case, je deamon.json is not located in /etc/docker...
    it's in /var/packages/Docker/etc wich is a siimlink to /volume1/@appconf/Docker
    and second diff it's not named daemon.json but dockerd.json...
    this may help people using their Synology NAS to host a few apps ;)

  • @saltandsham
    @saltandsham 3 ปีที่แล้ว

    Hi Tim Great video. I got the local logs working fine but when trying to get the logs from my docker containers its not working. Could you please point me in the right direction to check for any logs as to where it could be failing ?
    Thanks

    • @TechnoTim
      @TechnoTim  3 ปีที่แล้ว

      Be sure that your yaml for promtail is correct after applying the changes. Check promtail logs to be sure there aren't any errors

  • @typeer
    @typeer 2 ปีที่แล้ว

    very nice thanks for this

  • @MikeCarr07
    @MikeCarr07 11 หลายเดือนก่อน

    Would you deploy Loki in Kubernetes and use it only for that or would you send logs from other hosts to it as well?

    • @TechnoTim
      @TechnoTim  11 หลายเดือนก่อน +1

      You can do either if you need the logs

    • @MikeCarr07
      @MikeCarr07 11 หลายเดือนก่อน

      @@TechnoTim What are you doing?

  • @timbockhop7223
    @timbockhop7223 2 ปีที่แล้ว

    Hi Tim
    thanks for all the good stuff you create!
    I really would like to log actions on my kids' windows 10 computers (they're 8 yo).
    Just "items" like which program has been started and on google & youtube what was being queried/returned/displayed...
    Do you have an idea how to achieve that?

  • @mahimaverma3131
    @mahimaverma3131 2 ปีที่แล้ว

    @Techno Tim, can we see more than a month old log along with a description(full stack trace) through Grafana Loki. Would this be an efficient tool for maintaining too old logs in application's Eco system.

    • @TechnoTim
      @TechnoTim  2 ปีที่แล้ว +1

      I believe you can. Check out the storage retention options!