Geo_point property

Hi, I have an index like log-. The daily index is create by logstash every day.
I want to include geo_point attribute.
It was quite easy to create a specific index (for example) log-2021-03-17 with location property set to "geo_point". But the day after (log-2021-03-18) the geo_point mapping property is not set and I have to do it manually
How I can automatically fix this property mapping for any index?

Welcome to our community @fabrizio

What you need to do is to add the mapping the to index template instead of the index itself.
The index template is the source of all configurations for one specific type of index.

Its basically the same thing, but a template for all indices that are created with e.g. log-*

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