# Query edition problem kibana

**URL:** <https://discuss.elastic.co/t/query-edition-problem-kibana/16380>\
**Category:** Elasticsearch\
**Created:** [March 14, 2014, 4:14pm UTC](https://discuss.elastic.co/t/query-edition-problem-kibana/16380 "2014-03-14T16:14:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![philg](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@philg](https://discuss.elastic.co/u/philg)\
**Post date:** [March 14, 2014, 4:14pm UTC](https://discuss.elastic.co/t/query-edition-problem-kibana/16380/1 "2014-03-14T16:14:28Z")

</div>

hello  
my context kibana + ES 0.90.11 + ES Head plugin

i have some problem with kibana query editor :  
i have indexed my logs in ES, and displayed in kibana using basic queries .  
Perfect !

i need more complex queries on a max\_bitrate field ( integer)

for example, i need this query --\> 300 \< max\_bitrate \<1000

using ES head plugin it works i see the result, with raw json query like  
this  
{"query":{"bool":{"must":[{"  
range":{"rglog3.max\_bitrate":{"gt":"300","lt":"1000"}}}......

but then how to put in the query editor of Kibana to get the query  
works ?  
i did not succeed

any clue , or pointer to doc will be great because i cannot find  
thanks

philippe

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ac40cafe-1acd-458c-8699-908da4baa870%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ac40cafe-1acd-458c-8699-908da4baa870%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [March 14, 2014, 6:13pm UTC](https://discuss.elastic.co/t/query-edition-problem-kibana/16380/2 "2014-03-14T18:13:28Z")

</div>

You'll need to use the query\_string syntax:

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html)

It should be something like:

rglog3.max\_bitrate:[301 TO 999]

or:

rglog3.max\_bitrate:\>300 AND rglog3.max\_bitrate:\<1000

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0353c6c5-6c54-4c43-ab1a-4c51e7f66843%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0353c6c5-6c54-4c43-ab1a-4c51e7f66843%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![philg](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@philg](https://discuss.elastic.co/u/philg)\
**Post date:** [March 17, 2014, 8:19am UTC](https://discuss.elastic.co/t/query-edition-problem-kibana/16380/3 "2014-03-17T08:19:33Z")

</div>

thanks ok, understood now  
it works  
philippe

On Friday, March 14, 2014 7:13:28 PM UTC+1, Binh Ly wrote:

> You'll need to use the query\_string syntax:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html)
> 
> It should be something like:
> 
> rglog3.max\_bitrate:[301 TO 999]
> 
> or:
> 
> rglog3.max\_bitrate:\>300 AND rglog3.max\_bitrate:\<1000

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6e123f5f-0f17-4e66-9539-8e718da821a4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e123f5f-0f17-4e66-9539-8e718da821a4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:42am UTC](https://discuss.elastic.co/t/query-edition-problem-kibana/16380/4 "2017-07-06T01:42:52Z")

</div>


