Import api doesn't like exported objects

I'm trying to use the saved object import api to load some objects into Kibana (so I don't have to do it manually every time I reset ELK after I've stuffed up). I've got the file going in, but it doesn't seem to like the format of the ndjson file the interactive export produced. Looks like it's missing a type wrapper or something...

I did try the export api to see if it would give me the data in a more acceptable format, but that's another post...

Hi

Could you provide a such a import file so we could have a look? Which version of Kibana are you using?

Thanks and best,
Matthias

I'm using 7.8. Given another thread, my problem may have been I was directly the request to ElasticSearch (9200) rather than Kibana (5601). I'll sort that out and see if this is still a problem.

Have a look here

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

Best,
Matthias

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