Open muhammadsr opened 8 years ago
I think what you need is to specify your index mappings in an index template with the cwl-* prefix. There is already an existing index template that you can modify, or else you can add a new index template from the Elasticsearch API.
I would really appreciate any help with the following issue:
Take a look at the mapping for the following index
From the mapping above, you can see that the Coordinate property type is a stringtype but it would be nice if I can find a way to ensure that this property is of type geo_point.
Keep in mind that if I manually change the mapping for Coordinate to geo_point, it will work and Kibana will recognize it as a geo_point type. However, when kopf automatically creates another daily index, it will map Coordinate as a string type and Kibana will get a mapping conflict.
https://cdn.discourse.org/elastic/uploads/default/optimized/2X/9/99d5ed421e580787948626382ab547ec17bbbd56_1_690x339.png