# Kibana Discover Json

**URL:** https://discuss.elastic.co/t/kibana-discover-json/133083
**Category:** Kibana
**Created:** [May 24, 2018, 7:13am UTC](https://discuss.elastic.co/t/kibana-discover-json/133083 "2018-05-24T07:13:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Dhanashree](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dhanashree](https://discuss.elastic.co/u/Dhanashree)
#### Post date: [May 24, 2018, 7:13am UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/1 "2018-05-24T07:13:52Z")

</div>

Hi,  
On discover tab i have created columns using the toggle column in table functionality.Now on clicking on a specific row at the leftmost side i am getting a dropdown kind of thing which is giving me the entire data for that particular record in two ways table or json.So in the json i am getting certain default fields apart from my loaded json fields.How can i remove those default fields for a particular saved search.

---

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [May 24, 2018, 11:28am UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/2 "2018-05-24T11:28:48Z")

</div>

Hello,  
The best way to do this is to use Source Filterning from the Management -\> Index Patterns -\> Source Filters. Setting a source filter will limit the fields that are returned in the requests from Elasticsearch so you'll only get the fields that you want. in the JSON.

---

<div class="post-metadata">

### Author: ![Dhanashree](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dhanashree](https://discuss.elastic.co/u/Dhanashree)
#### Post date: [May 24, 2018, 11:50am UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/3 "2018-05-24T11:50:34Z")

</div>

Hi @Marius_Dragomir  
Can you please help me with the syntax like what changes i will have to do while setting a source filter.

---

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [May 24, 2018, 12:05pm UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/4 "2018-05-24T12:05:35Z")

</div>

just type the name of the fields that you don't want displayed and then click on Add. It will be added to the list and excluded from results.

---

<div class="post-metadata">

### Author: ![Dhanashree](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dhanashree](https://discuss.elastic.co/u/Dhanashree)
#### Post date: [May 24, 2018, 12:18pm UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/5 "2018-05-24T12:18:08Z")

</div>

Hi, @Marius_Dragomir  
Actually alongwith the source fields i wish to remove \_index,\_type and similar fields which were auto created by kibana. Is there a way to achieve that?

---

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [May 24, 2018, 5:30pm UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/6 "2018-05-24T17:30:13Z")

</div>

Those are fields used internally by Elasticsearch, but you should be able to filter them as well using the source filters.

---

<div class="post-metadata">

### Author: ![Dhanashree](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dhanashree](https://discuss.elastic.co/u/Dhanashree)
#### Post date: [May 25, 2018, 4:56am UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/7 "2018-05-25T04:56:00Z")

</div>

Yes i disabled the metafields from settings so now i am not getting them in the table but at json i am getting those.While adding \_index and similar fields in source filters i am getting "The source filter doesn't match any known 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: [June 22, 2018, 4:56am UTC](https://discuss.elastic.co/t/kibana-discover-json/133083/8 "2018-06-22T04:56:05Z")

</div>

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