# Substring Search on log message in kibana 4

**URL:** <https://discuss.elastic.co/t/substring-search-on-log-message-in-kibana-4/81145>\
**Category:** Kibana\
**Created:** [April 4, 2017, 12:49pm UTC](https://discuss.elastic.co/t/substring-search-on-log-message-in-kibana-4/81145 "2017-04-04T12:49:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manopmk](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@manopmk](https://discuss.elastic.co/u/manopmk)\
**Post date:** [April 4, 2017, 12:49pm UTC](https://discuss.elastic.co/t/substring-search-on-log-message-in-kibana-4/81145/1 "2017-04-04T12:49:45Z")

</div>

Hi  
I want to display only logs which i search substring

for example in my logs have message type as ERROR  
if i search error, i want to display only logs which have error not entire log  
how to filter in kibana 4

 ![](https://us1.discourse-cdn.com/elastic/original/3X/a/c/acdf2a1e50d51dbcb479bbd29676fff8f8ba657a.png)

**note** : in search field i gave **"astrikERRORastrik"**  
but it just highlighting error not filter the result..  
can you help me

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [April 4, 2017, 3:54pm UTC](https://discuss.elastic.co/t/substring-search-on-log-message-in-kibana-4/81145/2 "2017-04-04T15:54:49Z")

</div>

The search bar will filter down a set of documents, but it won't filter sections of individual documents. Is it possible for you to push one document per log line?

I would also recommend looking into something like logstash or elasticsearch ingest node to parse these log lines out into separate fields.

---

<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:** [May 2, 2017, 3:55pm UTC](https://discuss.elastic.co/t/substring-search-on-log-message-in-kibana-4/81145/3 "2017-05-02T15:55:00Z")

</div>

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