Get Kibana queries to execute them later directly into ElasticSearch

I've never tried but perhaps this thread will give you some ideas?