Curator index with geo_point field rollover

Hi all,

I am using curator to do index rollover. The problem I am having is that I have a field:

Location geo_point

And here is my yaml:

actions:
  1:
    action: rollover
    description: >-
      Rollover the index associated with alias 'aliasname', which should be in the form of prefix-000001 (or similar), or prefix-YYYY.MM.DD-1.
    options:
      name: access_logs
      new_index: "<access_logs-{now/d}-1>"
      conditions:
        max_age: 23h

When the rollover happens, my Location filed changes to

Location.lat number
Location.lon number

So then my map stops working. Is there a way to force it to use geo_point instead?

Thanks

This means that you do not have an index template to assign a mapping to the new index after rollover. It is an incorrect assumption that rollover captures and passes the previous index’s mappings.

Great. Thank you very much. Creating templates solved the problem.

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