-
What Grafana version and what operating system are you using?
Grafana v10.4.2 -
What are you trying to achieve?
Currently connected to elasticsearch data source. I want to create a table by using the logs but I want to limit the columns shown. -
How are you trying to achieve it?
I tried 2 approahes:
- Transfrom data (for tables). >> Organize fields by name >>Hide each of the fields except for the ones I want to display
- Override, using regex:
^(?!@source_timestamp$|event_severity$|label$).+$
This kinda works so it hides everything except for the values in the parenthesis - Lucene:
_fields: ["@source_timestamp","event_severity", "label"]
- What happened?
- works visually, extremely tedious if there are a lot of fields. If the field list grows it wont hide it
- works visually, but im guessing its querying the whole table and filtering out. would rather only query for what I need
- does not work but I would like to use this because it doesn’t query the whole table just to get the 3 fields I need
- What did you expect to happen?
I expected only 3 fields to appear when using Lucene but I simply cannot get lucene to work properly