# How to rename filebeat fields

**URL:** <https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 8, 2018, 12:50pm UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155 "2018-06-08T12:50:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![springCkWyy](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@springCkWyy](https://discuss.elastic.co/u/springCkWyy)\
**Post date:** [June 8, 2018, 12:50pm UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155/1 "2018-06-08T12:50:09Z")

</div>

how to rename filebeat fields?

I need 'rename' source to 'path'.  
and need to rename 'beat.hostname' to 'host'.

Beacause I use ‘path’ and 'host' in es.

thank you @@@

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 8, 2018, 1:40pm UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155/2 "2018-06-08T13:40:04Z")

</div>

In the upcoming v6.3.0 release there will be a `rename` processor in Beats. See [https://www.elastic.co/guide/en/beats/filebeat/master/rename-fields.html](https://www.elastic.co/guide/en/beats/filebeat/master/rename-fields.html).

But until that is released you need to use either Logstash or Ingest Node to rename fields.

- [https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html#plugins-filters-mutate-rename](https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html#plugins-filters-mutate-rename)
- [https://www.elastic.co/guide/en/elasticsearch/reference/current/rename-processor.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/rename-processor.html)

---

<div class="post-metadata">

**Author:** ![springCkWyy](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@springCkWyy](https://discuss.elastic.co/u/springCkWyy)\
**Post date:** [June 11, 2018, 2:03am UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155/3 "2018-06-11T02:03:56Z")

</div>

Excuse me, and when to release v6.3.0 for filebeat?

---

<div class="post-metadata">

**Author:** ![jpantsjoha](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@jpantsjoha](https://discuss.elastic.co/u/jpantsjoha)\
**Post date:** [June 12, 2018, 12:42pm UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155/4 "2018-06-12T12:42:07Z")

</div>

I need this feature on filebeat also. some JSON log has several examples of repeated field names. especially with a dot-notation.

JP

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 13, 2018, 6:14pm UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155/5 "2018-06-13T18:14:19Z")

</div>

> [@springCkWyy](#):
>
> Excuse me, and when to release v6.3.0 for filebeat?

v6.3.0 is available now.

---

<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 11, 2018, 6:14pm UTC](https://discuss.elastic.co/t/how-to-rename-filebeat-fields/135155/6 "2018-07-11T18:14:23Z")

</div>

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