# Ingest rename processor ignore empty

**URL:** <https://discuss.elastic.co/t/ingest-rename-processor-ignore-empty/246755>\
**Category:** Elasticsearch\
**Created:** [August 28, 2020, 12:03pm UTC](https://discuss.elastic.co/t/ingest-rename-processor-ignore-empty/246755 "2020-08-28T12:03:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernhard.fluehmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bernhard.fluehmann/32/71755_2.png) [@bernhard.fluehmann](https://discuss.elastic.co/u/bernhard.fluehmann)\
**Post date:** [August 28, 2020, 12:03pm UTC](https://discuss.elastic.co/t/ingest-rename-processor-ignore-empty/246755/1 "2020-08-28T12:03:34Z")

</div>

The ingest rename processor has an option ignore\_missing which does not rename a field if the field is missing.

In some cases it would be helpful if the field would not be renamed if empty. E.g. with a new option ignore\_empty.

Today it can be done with a if statement, but the option would be simpler and one more script could be avoided.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [August 31, 2020, 8:17am UTC](https://discuss.elastic.co/t/ingest-rename-processor-ignore-empty/246755/2 "2020-08-31T08:17:38Z")

</div>

This sounds more like a feature request. I would recommend you to open an issue for this in the Beats repo if possible.

---

<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:** [September 28, 2020, 8:17am UTC](https://discuss.elastic.co/t/ingest-rename-processor-ignore-empty/246755/3 "2020-09-28T08:17:39Z")

</div>

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