# Rename fieldname in incoming logs

**URL:** <https://discuss.elastic.co/t/rename-fieldname-in-incoming-logs/219469>\
**Category:** Elasticsearch\
**Created:** [February 15, 2020, 10:16am UTC](https://discuss.elastic.co/t/rename-fieldname-in-incoming-logs/219469 "2020-02-15T10:16:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CyberSeppi](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@CyberSeppi](https://discuss.elastic.co/u/CyberSeppi)\
**Post date:** [February 15, 2020, 10:16am UTC](https://discuss.elastic.co/t/rename-fieldname-in-incoming-logs/219469/1 "2020-02-15T10:16:37Z")

</div>

Hi All,

we have now two different shippers sending logs to our es cluster (no logstash included).  
FileBeat is sending the log-message itself in field "message" and fluentbit (we have limited control over its configuration because its centralized) sends the message in field "log".

Is there a efficient way (on es side) to rename the field "log" in the logs shipped by fluentbit to "message" ?

Thanks all and greetings!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 15, 2020, 11:42am UTC](https://discuss.elastic.co/t/rename-fieldname-in-incoming-logs/219469/2 "2020-02-15T11:42:10Z")

</div>

I don't know if fluentbit supports using elasticsearch ingest pipelines.  
If it does, just create a pipeline with a rename processor.

---

<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:** [March 14, 2020, 11:42am UTC](https://discuss.elastic.co/t/rename-fieldname-in-incoming-logs/219469/3 "2020-03-14T11:42:27Z")

</div>

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