Skip to content

Automatically rollover all logsdb data streams when disabling logsdb #116173

Open
@martijnvg

Description

@martijnvg

Logsdb is automatically enabled for all data streams in the logs-*-* pattern space. If for some reason automatic logsdb enabled needs to be disabled, then the cluster.logsdb.enabled can be configured to false. This is a dynamic cluster setting. All new backing indices of logs-*-* data streams will fallback to standard mode after rollover.

However it can take a while before all logs-*-* data streams have been rolled over. Depending on the ilm policy or dsl configuration. So typically you may want to do a manual rollover. But that is not trivial, because the rollover api doesn't accept index patterns, meaning that only one data stream can be rolled over at a time.

The feature request here, is to make rolling over all logs-*-* data streams easier after the cluster.logsdb.enabled setting is configured to false.. Either by having logic that would automatically do a rollover or via an admin level api that would do rollover for all logs-*-* data streams.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions