# How do I view all my data in a table instead of json

**URL:** <https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [July 19, 2020, 10:45pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819 "2020-07-19T22:45:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![phani2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani2/32/71605_2.png) [@phani2](https://discuss.elastic.co/u/phani2)\
**Post date:** [July 19, 2020, 10:45pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/1 "2020-07-19T22:45:38Z")

</div>

Hi @JasonStoltz I'm a newbie to react and I'm trying to view all my data in a table with column names instead of a json type formatted result in app search. I have looked into many blogs and I couldn't find an appropriate solution to this.. can you please help me understand how that can be done.

Thank you

---

<div class="post-metadata">

**Author:** ![Brian\_McGue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_mcgue/32/63366_2.png) [@Brian\_McGue](https://discuss.elastic.co/u/Brian_McGue)\
**Post date:** [July 21, 2020, 12:12pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/2 "2020-07-21T12:12:06Z")

</div>

Hi @phani2! Unfortunately, App Search does not support content types other than JSON right now. At the moment, I would recommend processing the JSON results to convert them to the format you need.

Best,  
Brian

---

<div class="post-metadata">

**Author:** ![Brian\_McGue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_mcgue/32/63366_2.png) [@Brian\_McGue](https://discuss.elastic.co/u/Brian_McGue)\
**Post date:** [July 21, 2020, 12:47pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/3 "2020-07-21T12:47:01Z")

</div>

Hi @phani2, I just realized that this is more about Search UI than the return type of the data from the server.

Unfortunately, I don't believe Search UI supports a table view out of the box. You'll have to customize this yourself. The [Customization: Component Views and HTML](https://github.com/elastic/search-ui/blob/master/ADVANCED.md#component-views-and-html) section may be a useful place to start. You will likely need to customize the [Results](https://github.com/elastic/search-ui/blob/master/ADVANCED.md#results) and [Result](https://github.com/elastic/search-ui/blob/master/ADVANCED.md#result) components.

We also welcome contributors to the project itself, if you'd like to open a pull request!

Best,  
Brian

---

<div class="post-metadata">

**Author:** ![phani2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani2/32/71605_2.png) [@phani2](https://discuss.elastic.co/u/phani2)\
**Post date:** [July 21, 2020, 3:03pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/4 "2020-07-21T15:03:02Z")

</div>

Hi, @Brian_McGue could you please be more specific on this

> processing the JSON results

So if I had to change the results where do I exactly change in the react code of App search.  
If you could help me on these lines it would be really helpful to me.

Thank you.

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [July 21, 2020, 7:22pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/5 "2020-07-21T19:22:03Z")

</div>

Here's another post where I talk a bit about customizing views: [Reference UI - how to modify what's displayed (React newbie)](https://discuss.elastic.co/t/reference-ui-how-to-modify-whats-displayed-react-newbie/199471/2)

Also, see the "headless" example from the main page. You can access the raw array of results and do whatever you'd like with it: [https://github.com/elastic/search-ui#creating-a-search-experience](https://github.com/elastic/search-ui#creating-a-search-experience)

```auto
<SearchProvider config={config}>
  <WithSearch
    mapContextToProps={({ results }) => ({
      results
    })}
  >
    {({ results }) => {
      return (
        <div>
          {results.map(r => (
            <div key={r.id.raw}>{r.title.raw}</div>
          ))}
        </div>
      );
    }}
  </WithSearch>
</SearchProvider>

```

---

<div class="post-metadata">

**Author:** ![phani2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani2/32/71605_2.png) [@phani2](https://discuss.elastic.co/u/phani2)\
**Post date:** [July 21, 2020, 8:40pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/6 "2020-07-21T20:40:28Z")

</div>

Thank you @JasonStoltz. Im also looking to perform okta integration with elastic app search.  
could you please let me know the process of the same.

Thank you  
Phani

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [July 21, 2020, 8:58pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/7 "2020-07-21T20:58:19Z")

</div>

Okta access for admins? You'd use SAML auth: [https://www.elastic.co/guide/en/app-search/current/security-and-users.html#app-search-self-managed-security-and-user-management-elasticsearch-saml](https://www.elastic.co/guide/en/app-search/current/security-and-users.html#app-search-self-managed-security-and-user-management-elasticsearch-saml)

---

<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:** [August 18, 2020, 8:58pm UTC](https://discuss.elastic.co/t/how-do-i-view-all-my-data-in-a-table-instead-of-json/241819/8 "2020-08-18T20:58:29Z")

</div>

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