Dashboard ES|QL Visualization configuration resets with every query change

Hello everyone,

I'm wondering if this is a normal behavior. When I make any change at ES|QL visualization query in a dashboard and click "Run query", the editor resets the visualization configuration, so that I have to assign columns, colors, names, formats, etc. again. Without "Run query" the changes will not be saved, so there is no way to avoid this reconfiguration.

I run Kibana 9.0.1, but I had the same problem with 8.17.x too.
Now I have a specific use case where I need 2-level aggregation over date histogram. It can be implemented quite easy with ES|EL, but not possible with Lens.

Any ideas, how to prevent Kibana Dashboard ES|QL editor from resetting the configuration?

Thanks!

Regards,
Alexander

Hi @allatrue

this has been recently fixed with [ES|QL][Lens] Keeps the chart configuration when possible by stratoula · Pull Request #210780 · elastic/kibana · GitHub

1 Like

Hi @Marco_Liberati ,

thanks for quick response.
So, it looks like I have to wait until Kibana 9.1 is released.

Regards,
Alexander