Log panel -> custom fields

  • What Grafana version and what operating system are you using?
    9.4.1 (Docker image)

  • What are you trying to achieve?
    Prepare meaningful dashboard from logs stored in elasticsearch

  • How are you trying to achieve it?
    Using Log panel UI component

  • What happened?
    I’m unable to show fields by default

  • What did you expect to happen?
    Possibility to define which fields will be displayed by default

Hi,
I’m trying to replace kibana by grafana for exploring logs that are stored in Elasticsearch (Opensearch actually).
In Explore tab I’m able to go through logs quite easily it works nicely. But I won’t to create dashboard which will be used by some “not so skilled users” and here I have found a problem, I’m unable define which fields will be visible by default in the dashboard so the output is… not very nice. Is there some posibility how to define that for a dashboard / Log panel?

Thanks

Through the Transform data feature, the following can be achieved:

  1. Add a new “Organize fields by name” operation:
  • Able to hide certain unnecessary fields
  • Can move the @message field to the first row
  1. Add a new “Labels to fields” operation:
  • Can add labels to the fields