Renaming an index

(Jonathan Channon) #1


I'm trying to think of a better approach than this (bearing in mind our application and logs and ES is on-prem):

a) Customer sends an elasticdump of their data and their indexes will be in the format of fluend-YYYYMMDD

b) We use elasticdump to import this into our local ES to analyse logs.

c) Call the REINDEX api to rename their indexes CustomerFoo-YYYYMMDD

(As a side note you can call the REINDEX API with a source of fluentd* and it will merge all indexes into the destination -

Can anyone think of a better way where they can export their data and we can reimport with a specific index name?

(andy_zhou) #2

as i know can't do it rename.
only copy to new and delete the old..

(system) #3

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