Clicking on the service_name filter will throw an error because we include the bar != baz in subsequent calls to Loki's APIs. Loki expects at least one "positive" filter tho.
We should likely include service_name+=.+ in those calls, because then Loki will be happy.
When there are two filters:
service_name = foo
bar != baz
Clicking on the
service_name
filter will throw an error because we include thebar != baz
in subsequent calls to Loki's APIs. Loki expects at least one "positive" filter tho.We should likely include
service_name+=.+
in those calls, because then Loki will be happy.https://github.com/grafana/explore-logs/assets/8092184/ced8e6f8-a1c9-4521-a93c-870e464a8383