Mapping geo_point to dynamically named indexes

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:

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

I get:

  "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?

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

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