# Kibana Searches Custom Highlighting and Pattern Extraction

**URL:** <https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239>\
**Category:** Kibana\
**Created:** [May 17, 2018, 2:20am UTC](https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239 "2018-05-17T02:20:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KelSolaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kelsolaar/32/31295_2.png) [@KelSolaar](https://discuss.elastic.co/u/KelSolaar)\
**Post date:** [May 17, 2018, 2:20am UTC](https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239/1 "2018-05-17T02:20:21Z")

</div>

Hi,

My question is I think related to [Highlight query functionality in Kibana](https://discuss.elastic.co/t/highlight-query-functionality-in-kibana/45365), I made a search in Kibana that matches **component is not matching!** and as a result yield messages like this as expected:

> [2018-05-16 20:48:29,081 5300 WARNING] Size of "nemo" component is not matching!

What I would like to do is highlight **nemo** in the UI instead of **component is not matching!** as it currently happen (with a yellow background colour). I'm a bit confused on how to achieve that.

How can you also extract the **nemo** pattern from Kibana? A naive regex could be written as follows:

> of "(.\*)" component

Cheers,

Thomas

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [May 17, 2018, 6:55pm UTC](https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239/2 "2018-05-17T18:55:47Z")

</div>

@bargs?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [May 17, 2018, 8:18pm UTC](https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239/3 "2018-05-17T20:18:28Z")

</div>

This isn't currently possible in Kibana today, however we do have a github ticket about it [https://github.com/elastic/kibana/issues/12256](https://github.com/elastic/kibana/issues/12256)

I'd encourage you to add any details you might have about your use case to that ticket, or at least give it a 👍 if it looks like what you need.

---

<div class="post-metadata">

**Author:** ![KelSolaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kelsolaar/32/31295_2.png) [@KelSolaar](https://discuss.elastic.co/u/KelSolaar)\
**Post date:** [May 17, 2018, 8:42pm UTC](https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239/4 "2018-05-17T20:42:14Z")

</div>

Hi Bargs,

Thanks, I will! 🙂

Cheers,

Thomas

---

<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:** [June 14, 2018, 8:42pm UTC](https://discuss.elastic.co/t/kibana-searches-custom-highlighting-and-pattern-extraction/132239/5 "2018-06-14T20:42:20Z")

</div>

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