简体   繁体   English

ELK 重新索引数据流到位

[英]ELK reindex data stream in place

I've created a bunch of data streams with the ELK stack but the documentation only talks about reindexing to a new data stream name.我已经用 ELK 堆栈创建了一堆数据流,但文档只讨论了重新索引到新的数据流名称。 I want to keep my old data stream name.我想保留我的旧数据流名称。 How do I do this?我该怎么做呢?

that's a limitation of the concept as it's intended to be append only, so you cannot reuse the old datastream name.这是概念的一个限制,因为它仅用于追加,因此您不能重用旧的数据流名称。 you could reindex, delete the old stream, and then add an alias that was the original datastream name to the new datastream您可以重新索引,删除旧流,然后将作为原始数据流名称的别名添加到新数据流

(also try not to use master documentation, as it's for unreleased branches. you are better off using current ) (也尽量不要使用master文档,因为它用于未发布的分支。最好使用current

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM