# Question About Field order in Discover

**URL:** https://discuss.elastic.co/t/question-about-field-order-in-discover/312439
**Category:** Kibana
**Created:** [August 19, 2022, 8:00am UTC](https://discuss.elastic.co/t/question-about-field-order-in-discover/312439 "2022-08-19T08:00:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Paul\_Chen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_chen/32/97870_2.png) [@Paul\_Chen](https://discuss.elastic.co/u/Paul_Chen)
#### Post date: [August 19, 2022, 8:00am UTC](https://discuss.elastic.co/t/question-about-field-order-in-discover/312439/1 "2022-08-19T08:00:39Z")

</div>

I use Logstash to output data to ES from database, and in the Kibana discover, the field always sort in a-z  
Is there any way to make the field order follow the database field order?

note: My SQL statement already has the fields sorted in the order I want

---

<div class="post-metadata">

### Author: ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)
#### Post date: [August 23, 2022, 1:38pm UTC](https://discuss.elastic.co/t/question-about-field-order-in-discover/312439/2 "2022-08-23T13:38:25Z")

</div>

Hi @Paul_Chen ,

I'm not aware of any possibilities to set custom rule for fields order.

Regards, Dima

---

<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: [September 20, 2022, 1:38pm UTC](https://discuss.elastic.co/t/question-about-field-order-in-discover/312439/3 "2022-09-20T13:38:33Z")

</div>

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