# How to store log line in other field then message

**URL:** https://discuss.elastic.co/t/how-to-store-log-line-in-other-field-then-message/208030
**Category:** Beats
**Tags:** filebeat
**Created:** [November 15, 2019, 9:54am UTC](https://discuss.elastic.co/t/how-to-store-log-line-in-other-field-then-message/208030 "2019-11-15T09:54:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [November 15, 2019, 9:54am UTC](https://discuss.elastic.co/t/how-to-store-log-line-in-other-field-then-message/208030/1 "2019-11-15T09:54:45Z")

</div>

Hi, I have json logs which I need to ship to redis and logstash via filebeat.

For the case I have a field named message inside my json string, I was asking myself if it is possible to let filebeat use the field `filebeat.myinput` instead of `message` for the log line payload.

I checked the docs, but I did not find the correct configuration variable. Can anyone help?

Thanks, Andreas

---

<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 13, 2019, 9:54am UTC](https://discuss.elastic.co/t/how-to-store-log-line-in-other-field-then-message/208030/2 "2019-12-13T09:54:48Z")

</div>

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