Kibana blocks when executing slow Timelion queries


#1

Hi,

We use Grafana for visualization with a plugin to access Timelion in our Kibana setup. The problem we ran into is that whenever we run a bigger query (e.g request a whole month of data and group by some field) our whole Kibana instance freezes.

If I understand it correctly, Kibana is running on a single thread and when Timelion has to process the data it receives from ES it blocks this single thread.

Is there any solution to handle multiple Timelion queries at the same time other than running multiple Kibana instances?

Best Regards,
Máté


(Nathan Reese) #2

What time interval are you using for the timelion request? Maybe a larger interval will help so there is less data to process on the server?

This does sound like a performance bug with the way timelion is structured. Can you open a bug report at https://github.com/elastic/kibana/issues/new?template=Bug_report.md and please provide examples of the expression that is causing performance problems.

Thanks,
Nathan