Elasticsearch : usage of runtime fields in Grafana

  • What Grafana version and what operating system are you using?
    V9.4.1 on linux

  • What are you trying to achieve?
    I defined some runtime fields in an elasticsearch index, and I would like to query them in a dashboard panel.

  • How are you trying to achieve it?
    I tried to use them in metrics or group by clauses, but the fields don’t appear in the list.

  • What happened?
    Nothing, the fields are not present.

  • What did you expect to happen?
    I expect the fields to be present in the list or a way to request them.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?
    This one explains the concept of runtime fields :
    Runtime fields context | Painless Scripting Language [8.6] | Elastic


having the same problem. runtime fields or scripted fields don’t seem to pop up in grafana when I’m using elasticsearch as a data source

1 Like