# Removing fields from existing pattern

**URL:** <https://discuss.elastic.co/t/removing-fields-from-existing-pattern/50439>\
**Category:** Kibana\
**Created:** [May 19, 2016, 12:48pm UTC](https://discuss.elastic.co/t/removing-fields-from-existing-pattern/50439 "2016-05-19T12:48:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawidos160](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@dawidos160](https://discuss.elastic.co/u/dawidos160)\
**Post date:** [May 19, 2016, 12:48pm UTC](https://discuss.elastic.co/t/removing-fields-from-existing-pattern/50439/1 "2016-05-19T12:48:40Z")

</div>

Hi.

I'm pretty new in Kibana and Elastic. Of course I'm reading the docs but unfortunatelly can't find answers on a few question.

I'm administrating existing cluster and try to optimized it and keep it straight but for now my biggest problem is disk space - data stored by logstash are 6x times bigger than original logs.

I know that all metas incresed size so I figured out that I will remove a few fields from \_source but I can't do this.

From kibana we go to settings-\>indices and got one index contains 278 fields. I really don't need so much fileds but I cant delete them. Is there any chance to removes unnecesary \_source fields?

And I know that it is kibana topic but maybe you can help me with logstash data size? I found that you can change compression but I don't know how. I can't find index pattern on server to add index.codec and set it to best\_compression. We use kopf plugin which have some additional options but it can't change index.codec too.

Thanks for your attention 🙂

PS. Sorry if I create topic in bad categories

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 19, 2016, 12:53pm UTC](https://discuss.elastic.co/t/removing-fields-from-existing-pattern/50439/2 "2016-05-19T12:53:17Z")

</div>

The only way to do this would be to reindex - essentially delete the data and then send it back with the reduced 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:** [July 6, 2017, 1:52pm UTC](https://discuss.elastic.co/t/removing-fields-from-existing-pattern/50439/3 "2017-07-06T13:52:56Z")

</div>


