# Order of output fields

**URL:** https://discuss.elastic.co/t/order-of-output-fields/152683
**Category:** Logstash
**Created:** [October 16, 2018, 2:33pm UTC](https://discuss.elastic.co/t/order-of-output-fields/152683 "2018-10-16T14:33:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)
#### Post date: [October 16, 2018, 2:33pm UTC](https://discuss.elastic.co/t/order-of-output-fields/152683/1 "2018-10-16T14:33:13Z")

</div>

Can I use the Logstash to change the order of the fields in a message and generate as a new message to output file?

If yes, How can I did it? In the Filter or in the output section?

Thanks  
Sharon.

---

<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 13, 2018, 2:33pm UTC](https://discuss.elastic.co/t/order-of-output-fields/152683/2 "2018-11-13T14:33:14Z")

</div>

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