# Number search in messages

**URL:** <https://discuss.elastic.co/t/number-search-in-messages/74799>\
**Category:** Kibana\
**Created:** [February 12, 2017, 11:11am UTC](https://discuss.elastic.co/t/number-search-in-messages/74799 "2017-02-12T11:11:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![papakarlito](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/papakarlito/32/15447_2.png) [@papakarlito](https://discuss.elastic.co/u/papakarlito)\
**Post date:** [February 12, 2017, 11:11am UTC](https://discuss.elastic.co/t/number-search-in-messages/74799/1 "2017-02-12T11:11:48Z")

</div>

![](https://us1.discourse-cdn.com/elastic/original/2X/4/42c34f0aec496ad2ded1bbcc79034006012f468f.jpg)

Hey, guys.  
As we are newbies in Kibana, we're stuck in message search. Here is the screenshot of a content of our log files and we need to search all log files that contains message : "reading [more than 20] times".  
How could we search for it?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 12, 2017, 11:21am UTC](https://discuss.elastic.co/t/number-search-in-messages/74799/2 "2017-02-12T11:21:56Z")

</div>

The most efficient way would probably be to extract the count into a separate field based on a grok expression at indexing time. This can be done using Logstash or an ingest node pipeline.

---

<div class="post-metadata">

**Author:** ![papakarlito](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/papakarlito/32/15447_2.png) [@papakarlito](https://discuss.elastic.co/u/papakarlito)\
**Post date:** [February 12, 2017, 12:36pm UTC](https://discuss.elastic.co/t/number-search-in-messages/74799/3 "2017-02-12T12:36:37Z")

</div>

Thanks for the answer. Could you please describe an option with pipeline with more details? would be nice if there would be an example too)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 12, 2017, 12:58pm UTC](https://discuss.elastic.co/t/number-search-in-messages/74799/4 "2017-02-12T12:58:49Z")

</div>

I do not have an example, but it should be easy using a [grok filter in Logstash](https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html) or an [ingest pipeline](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/ingest.html) using a [grok processor](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/grok-processor.html).

---

<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:** [March 12, 2017, 12:59pm UTC](https://discuss.elastic.co/t/number-search-in-messages/74799/5 "2017-03-12T12:59:37Z")

</div>

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