Trying to create a build a sample dashboard based on this sample given: https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html
Facing following errors:
- Trying to set mappings as below:
PUT /shakespeare
{
"mappings": {
"properties": {
"speaker": {"type": "keyword"},
"play_name": {"type": "keyword"},
"line_id": {"type": "integer"},
"speech_number": {"type": "integer"}
}
}
}
Above results in error: "error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [play_name : {type=keyword}] [speech_number : {type=integer}] [speaker : {type=keyword}] [line_id : {type=integer}]"
}
],
- Next, trying to load the dataset (ignoring above) which too fails:
curl -u kibanaadmin -H 'Content-Type: application/x-ndjson' -XPOST 146.89.203.212:80/bank/_bulk?pretty --data-binary @accounts.json
Results in:
{"statusCode":404,"error":"Not Found","message":"Not Found"}
Kibana version is 6.8.10