Kibana saved objects

Hi,

For the kibana saved objects API , when we run the curl command for exporting saved objects, where does the json file be stored.

curl -X POST "localhost:5601/api/saved_objects/_export -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
{
"type": "index-pattern"
}'

Based on that request, it should be simply putting it to stdout in your shell. You might want to use the flag to save the output to a file as well.

can you please provide me the flag to be used, since i am not able to see any output in console, i can check it in file.

man curl will tell you what that is.

But it's -o.

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