Grafana : Loki LogQL

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

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

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

    Finally I found a really great explanation! Many many thanks!!!

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

    how can we group logs by error name and send alert to email when error occurs

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

    Thanks a lot: finally the video I was searching for. Why does not Grafana propose this kind of video in their documentation, something corresponding on what we have in practice when we start?

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

    The first time I saw complex queries in prometheus I struggled to understand them. Thanks, great explanation, now LogQL and PromQL make a lot more sense!

  • @WurTheDopeAtBoy
    @WurTheDopeAtBoy 6 หลายเดือนก่อน +1

    well done on simplifying LogQL. i thought it was a somewhat tricky syntax to understand initially but this video was a lot of help.

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

    This is a really awesome video. Thanks so much for sharing your deep and practical knowledge on this.

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

    How can I filter logs and add variables for dashboard, I'm getting AWS ALB logs using logstash>promtail>Loki> grafana but don't have idea how to filter the logs

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

    So once you have an scalar time series from an aggregate function (like sum), then ... how do you do derivatives of that?

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

    Very good content. but one suggestion: go easy on the cuts. Please retain the pauses. They are good for comprehension. No need to hurry. I feel the need to pause too many times.

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

    Thanks for this awesome video. I have a doubt that I am printing log having all the content but I just want to print the specific word with its value and remove all, does that possible in loki.

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

    thank you

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

    Hey, Thanks a lot for making this video. Very helpful.

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

    Is it possible to send our own log message("This is loki test" ) to loki?

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

      Try this.
      stackoverflow.com/questions/67316535/send-logs-directly-to-loki-without-use-of-agents
      But I can't get it to work

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

    Thank you for making these videos, they have really helped me during my internship! One question: Why does the count of log lines go down when using the count_over_time query? It should stay the same number, or increase when new log lines are added in the log file right?

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

      look at the [1m] part in count_over_time query. It says, for every point count backwards 1 minute and count how many lines there were. Sometimes there are more lines, and sometimes less when you recalculate 1m back from every point in the series. You can use any time range you want in the query and it effects the graph. E.g., [10s] or [1h] or [5m]

  • @Kidsfun1414-d5x
    @Kidsfun1414-d5x 2 ปีที่แล้ว

    I can not able to add colorfull log levels below the graph any idea??

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

      you are using a different version of Grafana than I show in the video. There is a new version of Grafana released on average every two weeks. There is always something changing whether you agree with it or not.