# Elasticsearch output filter

**URL:** <https://discuss.elastic.co/t/elasticsearch-output-filter/65822>\
**Category:** Logstash\
**Created:** [November 11, 2016, 3:01pm UTC](https://discuss.elastic.co/t/elasticsearch-output-filter/65822 "2016-11-11T15:01:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ollm4c](https://avatars.discourse-cdn.com/v4/letter/o/ea5d25/32.png) [@Ollm4c](https://discuss.elastic.co/u/Ollm4c)\
**Post date:** [November 11, 2016, 3:01pm UTC](https://discuss.elastic.co/t/elasticsearch-output-filter/65822/1 "2016-11-11T15:01:28Z")

</div>

Hi everyone,  
is there a way to send some fields from logstash to elasticsearch without dropping unnecessary fields?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 11, 2016, 3:31pm UTC](https://discuss.elastic.co/t/elasticsearch-output-filter/65822/2 "2016-11-11T15:31:52Z")

</div>

No, but you can clone an event, delete fields you don't want, and send _that_ to elasticsearch.

---

<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:** [December 9, 2016, 3:32pm UTC](https://discuss.elastic.co/t/elasticsearch-output-filter/65822/3 "2016-12-09T15:32:25Z")

</div>

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