# Rename event fields

**URL:** <https://discuss.elastic.co/t/rename-event-fields/63873>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 25, 2016, 12:53pm UTC](https://discuss.elastic.co/t/rename-event-fields/63873 "2016-10-25T12:53:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yarden\_Bar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yarden_bar/32/736_2.png) [@Yarden\_Bar](https://discuss.elastic.co/u/Yarden_Bar)\
**Post date:** [October 25, 2016, 12:53pm UTC](https://discuss.elastic.co/t/rename-event-fields/63873/1 "2016-10-25T12:53:04Z")

</div>

Hi all,  
I'm want to ship Rails' requests to ES but rename certain fields so it will match other indexes field names, mainly is the `ip` to `true_ip`.

Is there a configuration option for this in Filebeat?

I believe that renaming the fields on the Rails' side will result in performance hit.

Thank you,  
Yarden

---

<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:** [October 25, 2016, 3:11pm UTC](https://discuss.elastic.co/t/rename-event-fields/63873/2 "2016-10-25T15:11:40Z")

</div>

Filebeat can't rename fields. You can do this either in Logstash with the mutate filter or with an ingest pipeline in elasticsearch 5.0

---

<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:** [November 15, 2016, 12:53pm UTC](https://discuss.elastic.co/t/rename-event-fields/63873/3 "2016-11-15T12:53:08Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
