# How to get the JSON and the query that is being used to create visualizations on Kibana?

**URL:** https://discuss.elastic.co/t/how-to-get-the-json-and-the-query-that-is-being-used-to-create-visualizations-on-kibana/143925
**Category:** Kibana
**Created:** [August 10, 2018, 7:36pm UTC](https://discuss.elastic.co/t/how-to-get-the-json-and-the-query-that-is-being-used-to-create-visualizations-on-kibana/143925 "2018-08-10T19:36:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![APJ](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@APJ](https://discuss.elastic.co/u/APJ)
#### Post date: [August 10, 2018, 7:36pm UTC](https://discuss.elastic.co/t/how-to-get-the-json-and-the-query-that-is-being-used-to-create-visualizations-on-kibana/143925/1 "2018-08-10T19:36:01Z")

</div>

Hi all,

I am developing a user interface so that I can recreate my own version of the Kibana visualizations. How can I get access to the JSON output or the query that is being executed to create the Kibana visualization?

In that way I can recreate my own version of visualizations on the UI.

Can someone please help me out here? I would really appreciate any help.

Thanks!

---

<div class="post-metadata">

### Author: ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)
#### Post date: [August 13, 2018, 5:21am UTC](https://discuss.elastic.co/t/how-to-get-the-json-and-the-query-that-is-being-used-to-create-visualizations-on-kibana/143925/2 "2018-08-13T05:21:50Z")

</div>

open the spy panel (or inspector on 6.3 forward).

for the inspector there is a button in the top navigtation bar.

inside the inspector you can select to view request/responses.

---

<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 10, 2018, 5:21am UTC](https://discuss.elastic.co/t/how-to-get-the-json-and-the-query-that-is-being-used-to-create-visualizations-on-kibana/143925/3 "2018-09-10T05:21:50Z")

</div>

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