# Key value searching

**URL:** <https://discuss.elastic.co/t/key-value-searching/342279>\
**Category:** Kibana\
**Tags:** search\
**Created:** [September 4, 2023, 4:11pm UTC](https://discuss.elastic.co/t/key-value-searching/342279 "2023-09-04T16:11:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katya](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@Katya](https://discuss.elastic.co/u/Katya)\
**Post date:** [September 4, 2023, 4:11pm UTC](https://discuss.elastic.co/t/key-value-searching/342279/1 "2023-09-04T16:11:47Z")

</div>

Hello everyone.

I'm trying to find logs in Kibana which contain the key and value in the table's key, but don't know which syntax is correct for this search.

Example:

The table contains the key "body".

"body" is a JSON like {"id":"123123123","param":"abc"}.

I'm trying to find all logs which contain "param":"abc".

How should I do it properly?

Thanks 🙏

---

<div class="post-metadata">

**Author:** ![Samuele\_Lolli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samuele_lolli/32/107848_2.png) [@Samuele\_Lolli](https://discuss.elastic.co/u/Samuele_Lolli)\
**Post date:** [September 5, 2023, 6:12am UTC](https://discuss.elastic.co/t/key-value-searching/342279/2 "2023-09-05T06:12:18Z")

</div>

Hi @Katya,  
im not sure where are you trying to find logs because in Kibana you can use different "languages" to query values.  
You can try something like that:

```auto
body : '{"id":"123123123","param":"abc"}'

```

that is exacly what you are talking about.

> I'm trying to find all logs which contain "param":"abc".

If you share some screens or information i can help you more.

---

<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:** [October 3, 2023, 6:13am UTC](https://discuss.elastic.co/t/key-value-searching/342279/3 "2023-10-03T06:13:13Z")

</div>

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