ES 5.6.3: Can we still not update the data type of a field?

I am using ES 5.6.6 and want to know is it possible to change the data type of a field?

I guess it was not possible in past so we use to create new field with new data type and then copy the values of existing field to the new field. Is it the same or with ES 5.6 we can change the data type of field

Changing field type fundamentally changes the index, hence this should not be possible with any version of ES.
However, these links might help in reducing the pain. https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html#plugins-filters-mutate-convert and https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html#plugins-filters-csv-convert

1 Like

Thanks!!

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