Grafana Loki querying basics, log based metrics and setting alerts on logs

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

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

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

    Thank you! Great Post

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

    How to handle elastic search query in grafana when we have dynamic dashboard enabled

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

    Nice
    Одобряю такие видео

  • @ArvindKumar-tw3nk
    @ArvindKumar-tw3nk ปีที่แล้ว

    Thanks! I have been using ELK stack to capture logs and prepare dashboards. How is it different from ELK?

    • @LalitKumar-sn3jf
      @LalitKumar-sn3jf 15 วันที่ผ่านมา

      ELK ja far better, they are just doing catchup work, I have recently done analysis on their commercial offering....
      They charge you additionally per user
      They claim they store less by using labels, but labels are not index (grafana is coming up with bloom index in future so it will store more) labels cant support high cardinality data
      Their commercial doennot mention sla on response time ot number of queries supported so they start theottling
      It may be useful when you want to have local instances per k8 cluster ...

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

    Histogram is loading when we query for large duration like 30min or more.

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

    How Do I do Setup dashboard that show only event alert line war, info Debug in bard chat along with number of alert count.

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

      I have no idea, sorry.

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

    very helpful for me

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

    Thanks! Very helpful. I have a question and hoping to get a response from you.
    "Can these logs (the entire text) be sent as an alert to Slack/Email" ? The usecase that I'm looking for is that whenever there is a critical error in the logs, I'd like to receive an alert about 'what' the error is..? Is that possible?

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

      I am not quite sure. But should be.

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

    The expression you added is not available in latest grafana version can you please guide

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

      Which expression?

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

      @@laszlofogas I was referring to classic condition. But never mind I figured it out.
      Thanks for the video 🙏🏽

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

    Thanks!
    Can you please tell me where did you get this dashboard - 04:55 ?

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

      It is this one: github.com/gimlet-io/gimlet-stack-reference/blob/main/manifests/dashboards/grafana-dashboard-logs.yaml

  • @LalitKumar-sn3jf
    @LalitKumar-sn3jf 15 วันที่ผ่านมา

    Loki user please be aware lables in loki is not equivalent to index in any other platform. Labels does not work with high cardinality dala, its good for repeating dtaa like service name. For exaple if you start putting transaction id in label ...loki will blast away...

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

    hey brother kindly reply for me to help. i coudnt get alert option in created dashboard with loki

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

    parse error at line 1, col 3: syntax error: unexpected IDENTIFIER, expecting = or =~ or !~ or != ?

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

      i am also gettting same error
      did u solve it

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

      @@lokeshvara23 me too

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

      This error is caused by a bug that was resolved in version 9. If you copy, refresh and then paste your query, it will work.

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

    Sound up bro