How can I reindex TSDB enabled data stream?

Hi, I am currently facing conflicts in a fields host.ip. I can resolve that by using an Reindexing API but the problem is the data stream is TSDB enabled. Any idea how can we reindex a TSDB enabled data stream?

FYI I am following the given steps to reindex the data of the data stream.

POST _reindex
{
  "source": {
    "index": "<index_name>"
  },
  "dest": {
    "index": "temp_index"
  }
} 
DELETE /_data_stream/<data_stream>
DELETE _index_template/<index_template>

After reinstalling and updating the templates we have to add the data in the same data stream

POST _reindex
{
  "conflicts": "proceed",
  "source": {
    "index": "temp_index"
  },
  "dest": {
    "index": "<index_name>",
    "op_type": "create"
  }
}

These steps are working fine for a non TSDB enabled data stream but for TSDB they are not.

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