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"
}'
warkolm
(Mark Walkom)
April 7, 2021, 8:16am
2
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.
warkolm
(Mark Walkom)
April 7, 2021, 9:06pm
4
man curl
will tell you what that is.
system
(system)
Closed
May 5, 2021, 9:07pm
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.