我试图用弹性的kibana在json下面发布但是得到以下错误。我的json格式是否正确或kibana不支持此类请求。
put
{"index":{"_index":"insights-201806051143","_type":"doc","_id":"63AADB8C-9F84-4B84-90FB-A0E98F2FF927"}}
{"industry":"abc",
"geographiestaxonomysearch":["Americas","North America","United States"]}
以下是我收到的错误:
{
"statusCode": 400,
"error": "Bad Request",
"message": "child \"path\" fails because [\"path\" is not allowed to be empty]",
"validation": {
"source": "query",
"keys": [
"path"
]
}
}
答案 0 :(得分:0)
您需要为您的PUT命令指定路径,例如PUT /myIndex