# Enabled = false, still indexing everything in kibana

**URL:** <https://discuss.elastic.co/t/enabled-false-still-indexing-everything-in-kibana/168894>\
**Category:** Elasticsearch\
**Created:** [February 18, 2019, 7:51pm UTC](https://discuss.elastic.co/t/enabled-false-still-indexing-everything-in-kibana/168894 "2019-02-18T19:51:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vorandrew](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vorandrew/32/41058_2.png) [@vorandrew](https://discuss.elastic.co/u/vorandrew)\
**Post date:** [February 18, 2019, 7:51pm UTC](https://discuss.elastic.co/t/enabled-false-still-indexing-everything-in-kibana/168894/1 "2019-02-18T19:51:55Z")

</div>

My template + What's being written

> <https://gist.github.com/santacruz123/e6c77bd7a5e37e712661111ca78d3177>

Still have everything showing up and slowing interface

 ![17](https://us1.discourse-cdn.com/elastic/original/3X/5/6/565313366b0e4d55298479c3027f270aff13a02a.png)

- 

Kibana index does not detect fields

 ![08](https://us1.discourse-cdn.com/elastic/original/3X/8/9/8957d02095a1ab83b0574b1ebfdceb105f2fa1f5.png)

---

<div class="post-metadata">

**Author:** ![gbrown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gbrown/32/34482_2.png) [@gbrown](https://discuss.elastic.co/u/gbrown)\
**Post date:** [February 19, 2019, 9:50pm UTC](https://discuss.elastic.co/t/enabled-false-still-indexing-everything-in-kibana/168894/2 "2019-02-19T21:50:47Z")

</div>

Setting `enabled: false` on a field in your mapping will prevent that field from being indexed by Elasticsearch, but it's still stored in the `_source` field if it's included in the documents sent to Elasticsearch, and it looks like that `_source` is what's used by the Kibana Discover tab.

If you want to keep those fields out of the `_source` entirely, you could remove them at ingest time using an [ingest pipeline](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/ingest.html), specifically using the [remove processor](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/remove-processor.html). If you want those fields to be stored, but not displayed in the Discover tab in Kibana, I'm not sure if there's a way to do that - it would be best to ask in [the Kibana category](https://discuss.elastic.co/c/kibana) on these forums.

---

<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:** [March 19, 2019, 9:50pm UTC](https://discuss.elastic.co/t/enabled-false-still-indexing-everything-in-kibana/168894/3 "2019-03-19T21:50:48Z")

</div>

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