# Kibana Saved Search Default fileds in json

**URL:** https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909
**Category:** Kibana
**Created:** [June 7, 2018, 7:03am UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909 "2018-06-07T07:03:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sos](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@sos](https://discuss.elastic.co/u/sos)
#### Post date: [June 7, 2018, 7:03am UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909/1 "2018-06-07T07:03:33Z")

</div>

Hi,  
I have used the discover tab as saved search in my kibana dashboard.There on the very left side of a particular row we get a dropdown where we get the table as well as json structure for that particular record. But in the json structure we get extra default fields such as  
"\_index": "xxxx",  
"\_type": "doc",  
"\_id": "ua1BwGMBZD9jqgzvGci7",  
"\_version": 1,  
"\_score": null,  
"\_source": {  
}  
"@version": "1"  
"fields": {  
"@timestamp": [  
"2018-06-02T01:18:14.244Z"  
]  
},  
"sort": [  
1527902294244  
]

I want to remove all the above fields from json structure.  
I only want my json fields which are custom to be shown in that json structure excluding all the default fields which are created on their own.  
I have tried this using source fiters but only some of the fields are excluded.  
The above mentioned fields are not removed . What is to be done.How can i achieve that.

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [June 7, 2018, 2:15pm UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909/2 "2018-06-07T14:15:33Z")

</div>

Hi @sos,

Unfortunately, that's currently not possible. I'd recommend [adding a feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) to add something like this.

Thanks,  
Chris

---

<div class="post-metadata">

### Author: ![topel](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@topel](https://discuss.elastic.co/u/topel)
#### Post date: [June 7, 2018, 2:32pm UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909/3 "2018-06-07T14:32:16Z")

</div>

What makes you want to remove these values? Are you going to present that JSON to an end user?  
If not and there is another step in your tool chain - is it possible for you to just ignore the fields or remove them there?

---

<div class="post-metadata">

### Author: ![sos](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@sos](https://discuss.elastic.co/u/sos)
#### Post date: [June 8, 2018, 4:31am UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909/4 "2018-06-08T04:31:06Z")

</div>

Yes the json is to be presented to an end user and so i only want the custom fields to be shown excluding the default fields.

---

<div class="post-metadata">

### Author: ![topel](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@topel](https://discuss.elastic.co/u/topel)
#### Post date: [June 8, 2018, 7:43am UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909/5 "2018-06-08T07:43:27Z")

</div>

Well that seems to be bad luck then. No chance in intercepting the data and modifying it before it gets to the end user? Good luck anyways!

---

<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: [July 6, 2018, 7:43am UTC](https://discuss.elastic.co/t/kibana-saved-search-default-fileds-in-json/134909/6 "2018-07-06T07:43:31Z")

</div>

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