Filter for alerts without a label?

  • What Grafana version and what operating system are you using?
    8.2.5

  • What are you trying to achieve?
    Filter for alerts that don’t have a label set

  • How are you trying to achieve it?
    I tried a few filters:

{label=""}
{label!="val"}
  • What happened?
    The 1st filter returned all the alerts, i.e. did not filter
    The 2nd filter did what you would expect and returned alerts with the label and not val