# Kibana 7.12 Discover: Document JSON view displays nested values separately and unsorted

**URL:** https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110
**Category:** Kibana
**Created:** [April 14, 2021, 12:19pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110 "2021-04-14T12:19:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sandbender](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandbender/32/66398_2.png) [@sandbender](https://discuss.elastic.co/u/sandbender)
#### Post date: [April 14, 2021, 12:19pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110/1 "2021-04-14T12:19:43Z")

</div>

Hello,

After upgrading to Kibana v7.12.0, in Discover, fields of documents displayed in JSON view are unsorted and not visibly collected in the objects they are stored in. That's a pain in the ass when trying to grasp the data at a glance, which was very convenient before 7.12.0. (Sorry for the language but this is absolutely enervating!)

Is there a setting to disable this messy display?

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [April 14, 2021, 2:03pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110/2 "2021-04-14T14:03:04Z")

</div>

I think you are looking for this feature request: [[Discover] Add \_source tab to doc viewer · Issue #95946 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/95946)

For now you can switch back to the old way of fetching data by setting the `discover:searchFieldsFromSource` advanced setting in Stack management.

---

<div class="post-metadata">

### Author: ![sandbender](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandbender/32/66398_2.png) [@sandbender](https://discuss.elastic.co/u/sandbender)
#### Post date: [April 14, 2021, 2:17pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110/3 "2021-04-14T14:17:23Z")

</div>

Thanks @flash1293, with the settings change it's readable again.

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [April 14, 2021, 6:01pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110/4 "2021-04-14T18:01:57Z")

</div>

@sandbender There are some features that you won't see if you use \_source only: [Discover uses the fields API in 7.12 | Elastic Blog](https://www.elastic.co/blog/discover-uses-fields-api-in-7-12)

---

<div class="post-metadata">

### Author: ![sandbender](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandbender/32/66398_2.png) [@sandbender](https://discuss.elastic.co/u/sandbender)
#### Post date: [April 14, 2021, 6:25pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110/5 "2021-04-14T18:25:25Z")

</div>

Thanks @wylie, I skimmed through that. Looks all great but 'unfortunately' (for the potential love story between fields API and me) I need to see data (for debugging) in a way that is quick-snap and simple.

@timroes suggestion over here [[Discover] Add \_source tab to doc viewer #95946](https://github.com/elastic/kibana/issues/95946) for replacing the JSON tab in Discover with something more raw/readable would be very much appreciated. Probably by anyone who trains their eye on visual patterns to scan through 'raw' data...

---

<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: [May 12, 2021, 6:25pm UTC](https://discuss.elastic.co/t/kibana-7-12-discover-document-json-view-displays-nested-values-separately-and-unsorted/270110/6 "2021-05-12T18:25:39Z")

</div>

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