Sample Dashboard isnt working

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:

  1. 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}]"
}
],

  1. 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

Welcome to our community! :smiley:

Please note that the documentation you are referring to is current, which means 7.8. The 6.8 documentation you should be using is https://www.elastic.co/guide/en/kibana/6.8/tutorial-build-dashboard.html.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.