# Unable to use mapping since 7.1.0 update

**URL:** <https://discuss.elastic.co/t/unable-to-use-mapping-since-7-1-0-update/184998>\
**Category:** Elasticsearch\
**Created:** [June 10, 2019, 1:35pm UTC](https://discuss.elastic.co/t/unable-to-use-mapping-since-7-1-0-update/184998 "2019-06-10T13:35:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpinDORK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spindork/32/45310_2.png) [@SpinDORK](https://discuss.elastic.co/u/SpinDORK)\
**Post date:** [June 10, 2019, 1:35pm UTC](https://discuss.elastic.co/t/unable-to-use-mapping-since-7-1-0-update/184998/1 "2019-06-10T13:35:07Z")

</div>

Hi, I am using the JSON file we used during 6.4.5 which used to give us correct mapping for our logging from Orchestrator to Kibana. See example;

```
{
    "mappings": {
        "logEvent": {
            "properties": {
            	"@timestamp": {
                        "type": "date"
                    },
                    "AutomationType": {
                        "type": "text",
                        "fields": {
                            "keyword": {
                                "type": "keyword",
                                "ignore_above": 256
                            }
                        }
                    },
                 
                    "DateTimeEnded": {
                  		"type": "date",
		            	"format": "MM/dd/yyyy HH:mm:ss"
                    },
                    "Outcome1": {
                        "type": "text",
                        "fields": {
                            "keyword": {
                                "type": "keyword",
                                "ignore_above": 256
                            }
                        }
                    },
    "settings": {
        "index": {
            "number_of_shards": "5",
            "mapper": {
                "dynamic": "true"
            },
            "number_of_replicas": "1"
        }
    }
}

```

In our old version we would get an entry called Outcome1 and Outcome1.keyword when we create an index which allows me to use Discover to create items for the Dashboard, now instead we get the following which I cannot do anything with (we also do not get the @timestamp setting or get to choose one);

"mappings.logEvent.properties.Outcome1.fields.keyword.ignore\_above"  
"mappings.logEvent.properties.Outcome1.fields.keyword.type"  
"mappings.logEvent.properties.Outcome1.fields.keyword.type.keyword"  
"mappings.logEvent.properties.Outcome1.type"  
"mappings.logEvent.properties.Outcome1.type.keyword"

So obviously as you can tell this is not usable as Orchestrator is not transfering any data and it's making it impossible to create index patterns.

Please advise where I am going wrong here.

Many thanks,

Steve

---

<div class="post-metadata">

**Author:** ![SpinDORK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spindork/32/45310_2.png) [@SpinDORK](https://discuss.elastic.co/u/SpinDORK)\
**Post date:** [June 12, 2019, 8:54am UTC](https://discuss.elastic.co/t/unable-to-use-mapping-since-7-1-0-update/184998/2 "2019-06-12T08:54:07Z")

</div>

Anyone able to help?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [June 12, 2019, 6:53pm UTC](https://discuss.elastic.co/t/unable-to-use-mapping-since-7-1-0-update/184998/3 "2019-06-12T18:53:08Z")

</div>

Mapping types were removed in 7.0 [https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html](https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html)

I suspect your problems could be coming from defining the type `logEvent` in your mapping definition.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 10, 2019, 6:53pm UTC](https://discuss.elastic.co/t/unable-to-use-mapping-since-7-1-0-update/184998/4 "2019-07-10T18:53:09Z")

</div>

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