# How to look for substring pattern inside the JSON in Kibana

**URL:** <https://discuss.elastic.co/t/how-to-look-for-substring-pattern-inside-the-json-in-kibana/212324>\
**Category:** Kibana\
**Created:** [December 18, 2019, 12:57pm UTC](https://discuss.elastic.co/t/how-to-look-for-substring-pattern-inside-the-json-in-kibana/212324 "2019-12-18T12:57:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madhur\_modi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madhur_modi/32/50583_2.png) [@madhur\_modi](https://discuss.elastic.co/u/madhur_modi)\
**Post date:** [December 18, 2019, 12:57pm UTC](https://discuss.elastic.co/t/how-to-look-for-substring-pattern-inside-the-json-in-kibana/212324/1 "2019-12-18T12:57:55Z")

</div>

Have to look for the substring inside the JSON an example :

"parsedMessage": {  
"attributes": {  
"Reponse": {"fields":{"22":{"value":"812"},"48":{"value":"PRESENT:LENGTH:60"},"49":{"value":"784"},"50":{"value":"840"},"51":{"value":"986"},"10":{"value":"61112696"},"32":{"value":"017043"},"11":{"value":"497003"},"33":{"value":"004601"},"12":{"value":"155658"},"13":{"value":"1218"},"14":{"value":"2105"},"15":{"value":"1218"},"37":{"value":"935222078983"},"16":{"value":"1217"},"39":{"value":"05"}}  
}  
}

Now let say have to find the logs for which "39":{"value":"05"} string is present in the JSON body.

---

<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:** [December 18, 2019, 8:57pm UTC](https://discuss.elastic.co/t/how-to-look-for-substring-pattern-inside-the-json-in-kibana/212324/2 "2019-12-18T20:57:57Z")

</div>

Hi,

What happens if you look for "39":{"value":"05"} in search bar in discover?  
Also where are you trying to do this?

Thanks,  
Bhavya

---

<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 15, 2020, 8:57pm UTC](https://discuss.elastic.co/t/how-to-look-for-substring-pattern-inside-the-json-in-kibana/212324/3 "2020-01-15T20:57:58Z")

</div>

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