# Kibana query string help please :(

**URL:** <https://discuss.elastic.co/t/kibana-query-string-help-please/109981>\
**Category:** Kibana\
**Created:** [December 1, 2017, 7:59pm UTC](https://discuss.elastic.co/t/kibana-query-string-help-please/109981 "2017-12-01T19:59:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandondash](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@brandondash](https://discuss.elastic.co/u/brandondash)\
**Post date:** [December 1, 2017, 7:59pm UTC](https://discuss.elastic.co/t/kibana-query-string-help-please/109981/1 "2017-12-01T19:59:09Z")

</div>

I posted a thread last night lamenting my lack of knowledge on how to use the @ symbol in the Kibana query string. Since that time I have come to learn that I really don't understand the documentation for queries in general.

Here are two sample strings I am trying to search for and the two failed Kibana query strings to search for them. When I say "failed" I mean "The search returns no results". Can anyone tell me why each of the two examples don't work and how I should fix them?

STRING TO SEARCH FOR: \<any 5 digits\>@foo  
EXAMPLE: 12345@foo  
KIBANA QUERY STRING THAT DOES NOT WORK: /[0-9]{5}@foo/

STRING TO SEARCH FOR: join\<a bunch of stuff\>roomToJoin=\<a bunch of stuff\>\<any 5 digits\>  
EXAMPLE: join?thisvalue=asdf&thatvalue=qwer&roomToJoin=zxcv&myID=12345  
KIBANA QUERY STRING THAT DOES NOT WORK: /join.\*roomToJoin=.\*[0-9]{5}/

I've tried these in other editors that can read regex and they work. What's going on??

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [December 1, 2017, 11:37pm UTC](https://discuss.elastic.co/t/kibana-query-string-help-please/109981/2 "2017-12-01T23:37:04Z")

</div>

Hi Brandon,

I think you posted a similar question and one of the things I replied with was this link;

> **[Elasticsearch/Kibana Queries - In Depth Tutorial](https://www.timroes.de/2016/05/29/elasticsearch-kibana-queries-in-depth-tutorial/#using-json-in-the-kibana-search)**
>
> This tutorial explains how to write and understand Kibana and Elasticsearch queries
> in depth and how the mapping of Elastichsearch influences these queries.

Please let me know if you still have questions.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![brandondash](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@brandondash](https://discuss.elastic.co/u/brandondash)\
**Post date:** [December 6, 2017, 6:42pm UTC](https://discuss.elastic.co/t/kibana-query-string-help-please/109981/3 "2017-12-06T18:42:51Z")

</div>

Thanks again, Lee. Yes you answered this in my prior thread.

---

<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:** [January 3, 2018, 6:43pm UTC](https://discuss.elastic.co/t/kibana-query-string-help-please/109981/4 "2018-01-03T18:43:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
