# Data export

**URL:** https://discuss.elastic.co/t/data-export/173924
**Category:** Kibana
**Created:** [March 26, 2019, 12:20pm UTC](https://discuss.elastic.co/t/data-export/173924 "2019-03-26T12:20:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Claire\_Farrell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claire_farrell/32/42521_2.png) [@Claire\_Farrell](https://discuss.elastic.co/u/Claire_Farrell)
#### Post date: [March 26, 2019, 12:20pm UTC](https://discuss.elastic.co/t/data-export/173924/1 "2019-03-26T12:20:43Z")

</div>

Hi,

I'm looking to dump all my json docs to an s3 bucket in raw json format from kibana as part of a json script. I've read that a snapshot doesn't allow you to manipulate the json for other purposes.

Thanks,  
Claire

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [March 26, 2019, 1:51pm UTC](https://discuss.elastic.co/t/data-export/173924/2 "2019-03-26T13:51:40Z")

</div>

Hello Claire,

> [@Claire\_Farrell](#):
>
> I've read that a snapshot doesn't allow you to manipulate the json for other purposes.

Not sure what does that mean? ^

You can use saved objects UI to export searches/dashboards/visualizations/index patterns into a JSON.

 ![00%20AM](https://us1.discourse-cdn.com/elastic/original/3X/e/c/ec6266663d9975a5fbb9a8aef51e30c678efe41f.png)

Does that help?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Claire\_Farrell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claire_farrell/32/42521_2.png) [@Claire\_Farrell](https://discuss.elastic.co/u/Claire_Farrell)
#### Post date: [March 26, 2019, 2:28pm UTC](https://discuss.elastic.co/t/data-export/173924/3 "2019-03-26T14:28:55Z")

</div>

I have the exported search JSON object, but I want to pull the data from that object locally to manipulate using a python script or http call, how would I achieve this?

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [March 26, 2019, 3:23pm UTC](https://discuss.elastic.co/t/data-export/173924/4 "2019-03-26T15:23:16Z")

</div>

You can use saved objects api?

[https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html](https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html)

Does that help?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![Claire\_Farrell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claire_farrell/32/42521_2.png) [@Claire\_Farrell](https://discuss.elastic.co/u/Claire_Farrell)
#### Post date: [March 26, 2019, 4:27pm UTC](https://discuss.elastic.co/t/data-export/173924/5 "2019-03-26T16:27:38Z")

</div>

{"statusCode":400,"error":"Bad Request","message":"child "attributes" fails because ["attributes" is required]. "objects" is not allowed","validation":{"source":"payload","keys":["attributes","objects"]} I got this error.

curl -X POST "_location_/api/saved\_objects/\_export" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'  
{  
"objects": "_index-id_"  
}  
'

---

<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: [April 23, 2019, 4:47pm UTC](https://discuss.elastic.co/t/data-export/173924/6 "2019-04-23T16:47:02Z")

</div>

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