I use this as to export my dashboard but i get the error "Incorrect HTTP method for uri .......and method [POST], allowed: [DELETE, HEAD, GET, PUT]",
"status": 405
I just tried and it still gives the error. it shows "type": "illegal_argument_exception", "reason": """request [GET /"https://localhost/api/saved_objects/_export”] does not support having a body"""
It tried to run yours you are using back quotes not normal quotes looks like your cut-n-past is using smart quotes or something not normal quotes ” vs "
And yes if your cluster has security enabled (authentication) you will need to pass those
either using the -u username:password flag or an API Key which you can rad about here
The version of the Elastic and Kibana are on 8.3.3. I am trying to export the dashboard from one machine to another machine which also run the same version of elk stack.
Thanks @stephenb. I try with the basic auth and with API. I am a bit confused. Once I already exported the dashboard to another machine. The client machine which supposed to recieve the dashboard showing that it got the saved object file, but the object file is empty. Does it mean i also need to have the same index file for the dashboard?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.