The new format for your location data consists of two separate fields: geoip.geo.location.lat and geoip.geo.location.lon . This is different from the previous format you were using for geo_point, which had the entire location data stored in a single field called geoip.location.
Because we cannot update the mapping for an existing index, you can reindex your data with correct mapping.
you can try to use an index template. An index template is a way to define settings and mappings for future indices that match a specified pattern. When you create an index that matches the template pattern, OpenSearch applies the template to the new index and uses the settings and mappings specified in the template.