Converting string to date fields

Hi,
I have two fields that are tagged as string I want to produce the same fields that will be as a date field. (I have no problem creating new fields from existing fields).

Attached Image. Would appreciate help

many thanks
Capture1

You'll need to reindex that data to convert it to a date. The procedure would be:

  1. Create a new index with the correct mappings (date for startStamp and stopStamp)
  2. Reindex the data manually, or with the reindex api

Elasticsearch doesn't allow modifying mappings of existing fields, so you have to create a new index and re-add the data to make it work.

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