diff --git a/TODO.md b/TODO.md index cf3c782..e8aef9f 100644 --- a/TODO.md +++ b/TODO.md @@ -6,4 +6,3 @@ - add datastream support: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-data-stream - also exclude data stream backing indices from index ls diff --git a/pkg/es/index.go b/pkg/es/index.go index 3222ac9..1c23061 100644 --- a/pkg/es/index.go +++ b/pkg/es/index.go @@ -62,11 +62,6 @@ func filterIndices(conf *cfg.Config, list indices.Response) indices.Response { } return mapmap.NewSlicer(list).MapSliceValuesImmutable(func(index types.IndicesRecord) bool { - if strings.HasPrefix(*index.Index, ".ds-") { - // ignore data stream backing indicies - return false - } - if !conf.Partials && strings.HasPrefix(*index.Index, "partial-") { return false }