even though I am able to to use "curl -XPOST ...**:5601/api/kibana/dashboards/import -H 'kbn-xsrf: true' -H 'Content-type:application/json' -d @/data/kibana-import/dexport.json" to import the json
Unfortunately it's a bug on the Kibana side, there's a work in progress pull request at https://github.com/elastic/kibana/pull/39170 to fix it. The issue's slightly complicated because most browsers drop the request body on get requests.
I'm not sure if there's a workaround in the UI - the closest is probably to use the copy as curl functionality.
Hi Jon, thanks for your answer.
Regarding your alternative solution I'm having some troubles as using curl also gives me the same error:
curl -X PUT **.**.**.**:9200/etel_rollup-hourly/job/etel_hourly -H 'Content-type:application/json' -d @rollup.json
{"_index":"etel_rollup-hourly","_type":"job","_id":"etel_hourly","_version":40,"result":"updated","_shards":{"total":2,"successful":1,"failed":0},"_seq_no":39,"_primary_term":2}
curl -X POST **.**.**.**:9200/etel_rollup-hourly/job/etel_hourly/_start
{"error":"no handler found for uri [/etel_rollup-hourly/job/etel_hourly/_start] and method [POST]"}
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.