Grafana elasticsearch lucene query to limit columns
In grafana I’m using elasticsearch data source with the query type of Logs. All the colums are displayed but I just want to see 2 of 3 of them , source_timestamp , access_Type and active_event_count. I want to know if I can use Lucene.
Note I know I can use the transform >> Organize fields by name and turn off each column. But there are a ton columns in this dataset and there is no negate features (hid all but only display a few) and the columns can grow later on which would affect my visuals if I’m only toggling them off to filter
I’ve tried putting these into the Lucene Query field but does not display anything :
_fields: [@source_timestamp,access_type, active_events_count]_fields: ["@source_timestamp","access_type", "active_events_count"]
Read more here: Source link

