Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grafana Explore filtering on Parsed Field

Tags:

grafana

I have a basic Grafana parsed log where I have a query to view all the logs in Production:

{environment="production"}

Is there a way to filter on Parsed Fields that are not labels in these queries? For example, my parsed query looks like:

parsed Log information

Is it possible to filter on host, level or name without having them as labels?

like image 573
el n00b Avatar asked Oct 12 '25 20:10

el n00b


1 Answers

You can do use JSON parsing / LogQL as follows:

{environment="production"}|json|level="debug"

also see related Grafana Community post.

like image 61
Hartmut Avatar answered Oct 16 '25 07:10

Hartmut