Home > database >  error while send import request on kibana console
error while send import request on kibana console

Time:05-20

I send following request on Kibana console to try to import a local dashboard to kibana version 7.2.0

POST https://dcwidavcca0085.epg.nam.gm.com:5601/api/saved_objects/_import
{
  "file"="C:\Users\Documents\dashboard-prod.ndjson"
}

however, I received error response

{
  "error": "no handler found for uri [/https://dcwidavcca0085.epg.nam.gm.com:5601/api/saved_objects/_import?pretty] and method [POST]"
}

I'm new to kibana API, the doc I'm following is https://www.elastic.co/guide/en/kibana/7.2/saved-objects-api-import.html Is there any syntax/format error in my request?

CodePudding user response:

Tldr;

Kibana's console in 7.2 only allow to target elasticsearch API.

You need to run the command in a terminal, using the curl command.

  • Related