Data export

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

Hello Claire,

Not sure what does that mean? ^

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

Does that help?

Thanks,
Bhavya

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?

You can use saved objects api?

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

Does that help?

Thanks,
Bhavya

{"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"
}
'

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