Kibana 6.1.1 : Add include_type_name=true in calls to elasticsearch

I started with Elasticsearch 6.1.x with kibana 6.1.x. I am planning to use kibana 6.1.x with Elasticsearch 7.x. I have gone through this to understand what has changed in es 7.x: Breaking changes in 7.0 | Elasticsearch Guide [7.16] | Elastic.

With reference to the below curl command, Where in kibana code will have I to make this change in kibana code?

PUT .kibana?include_type_name=true

{
  "index_patterns":[ "index-2-*" ],
  "mappings": {
    "type": {
      "properties": {
        "foo": {
          "type": "keyword"
        }
      }
    }
  }
}

You need to use the same version of Kibana and Elasticsearch so using Kibana 6.x with Elasticsearch 7.x will not work.

Any pointers on code changes to be done in kibana to achieve this ?

No. There have been substantial changes between these versions. Why are you looking to stay at that version?

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