# Logstash Filter ordering fields

**URL:** https://discuss.elastic.co/t/logstash-filter-ordering-fields/297877
**Category:** Logstash
**Created:** [February 22, 2022, 10:57am UTC](https://discuss.elastic.co/t/logstash-filter-ordering-fields/297877 "2022-02-22T10:57:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)
#### Post date: [February 22, 2022, 10:57am UTC](https://discuss.elastic.co/t/logstash-filter-ordering-fields/297877/1 "2022-02-22T10:57:52Z")

</div>

I pull data from a remote MySQL DB from different columns and tables, i need to reorder the fields, how can i do?

Example with stdout it doesn't print in a fixed order but it change every time, i want to see something like this:

Field1 = Value1  
Field2 = Value2  
...

---

<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 22, 2022, 10:58am UTC](https://discuss.elastic.co/t/logstash-filter-ordering-fields/297877/2 "2022-03-22T10:58:51Z")

</div>

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