# Mapping geo\_point to dynamically named indexes

**URL:** <https://discuss.elastic.co/t/mapping-geo-point-to-dynamically-named-indexes/255588>\
**Category:** Elasticsearch\
**Created:** [November 16, 2020, 7:47pm UTC](https://discuss.elastic.co/t/mapping-geo-point-to-dynamically-named-indexes/255588 "2020-11-16T19:47:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![francisaugusto](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@francisaugusto](https://discuss.elastic.co/u/francisaugusto)\
**Post date:** [November 16, 2020, 7:47pm UTC](https://discuss.elastic.co/t/mapping-geo-point-to-dynamically-named-indexes/255588/1 "2020-11-16T19:47:45Z")

</div>

Hi,

I installed ES 7.9.3 and somehow geoip.location doesn't get mapped to a geo\_point. I did the mapping, and it worked, but when I try to do the same mapping for a dynamically created index (with custom dates, for example: index-%{YYYY-mm-dd}), I get an error:

```auto
    PUT test-*
    {
      "mappings": {      
        "properties": {
          "geoip.location": {
            "type": "geo_point"
            }
        }
      }
    }

```

I get:

```auto
  "error" : {
    "root_cause" : [
      {
        "type" : "security_exception",
        "reason" : "action [indices:admin/create] is unauthorized for user [elastic]"
      }
    ],
    "type" : "security_exception",
    "reason" : "action [indices:admin/create] is unauthorized for user [elastic]",
    "caused_by" : {
      "type" : "illegal_state_exception",
      "reason" : "There are no external requests known to support wildcards that don't support replacing their indices"
    }
  },
  "status" : 403
}

```

Is this possible at all?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 17, 2020, 12:04am UTC](https://discuss.elastic.co/t/mapping-geo-point-to-dynamically-named-indexes/255588/2 "2020-11-17T00:04:57Z")

</div>

> [@francisaugusto](#):
>
> `reason" : "action [indices:admin/create] is unauthorized for user [elastic]"`

Are you sure you have the right permissions to do this?

---

<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:** [December 15, 2020, 12:04am UTC](https://discuss.elastic.co/t/mapping-geo-point-to-dynamically-named-indexes/255588/3 "2020-12-15T00:04:57Z")

</div>

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