# Can I load a elastic search query in kibana form a local file?

**URL:** <https://discuss.elastic.co/t/can-i-load-a-elastic-search-query-in-kibana-form-a-local-file/59272>\
**Category:** Kibana\
**Created:** [August 30, 2016, 6:52am UTC](https://discuss.elastic.co/t/can-i-load-a-elastic-search-query-in-kibana-form-a-local-file/59272 "2016-08-30T06:52:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Eberhard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomas_eberhard/32/11679_2.png) [@Thomas\_Eberhard](https://discuss.elastic.co/u/Thomas_Eberhard)\
**Post date:** [August 30, 2016, 6:52am UTC](https://discuss.elastic.co/t/can-i-load-a-elastic-search-query-in-kibana-form-a-local-file/59272/1 "2016-08-30T06:52:35Z")

</div>

I work with kibana on a server and use the elastic search query dsl for more complex queries.  
Sometimes I feel working with the searchfield in kibana is not as convenient as formulating the queries with a text editor. I wonder if there is a way apart from copy/paste to write my queries in .json files and execute them from the kibana searchfield.

something like: `execute from ip : query.json`

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 30, 2016, 11:01am UTC](https://discuss.elastic.co/t/can-i-load-a-elastic-search-query-in-kibana-form-a-local-file/59272/2 "2016-08-30T11:01:09Z")

</div>

Nope, you can't.

---

<div class="post-metadata">

**Author:** ![Thomas\_Eberhard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomas_eberhard/32/11679_2.png) [@Thomas\_Eberhard](https://discuss.elastic.co/u/Thomas_Eberhard)\
**Post date:** [September 12, 2016, 5:27pm UTC](https://discuss.elastic.co/t/can-i-load-a-elastic-search-query-in-kibana-form-a-local-file/59272/3 "2016-09-12T17:27:43Z")

</div>

Well that was plain and simple, thanks a lot. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:39pm UTC](https://discuss.elastic.co/t/can-i-load-a-elastic-search-query-in-kibana-form-a-local-file/59272/4 "2017-07-06T13:39:05Z")

</div>


