Skip to content

Conversation

@martijnvg
Copy link
Member

Backporting #120708 to 8.x branch.

Add LogsPatternUsageService that records whether there are data streams matching with logs-- pattern. This is recorded via the new logsdb.prior_logs_usage cluster setting. Upon upgrade to 9.x this can be used to determine whether logsdb should be enabled by default if cluster.logsdb.enabled hasn't been set.

The recommended upgrade path to 9.x is always to go to 8.latest. This component will run in clusters with version greater than 8.18.0 but not on 9.0 and newer.

…in 9.x (elastic#120708)

Add LogsPatternUsageService that records whether there are data streams matching with logs-*-* pattern. This is recorded via the new logsdb.prior_logs_usage cluster setting. Upon upgrade to 9.x this can be used to determine whether logsdb should be enabled by default if cluster.logsdb.enabled hasn't been set.

The recommended upgrade path to 9.x is always to go to 8.latest. This component will run in clusters with version greater than 8.18.0 but not on 9.0 and newer.
@martijnvg martijnvg added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :StorageEngine/Logs You know, for Logs v8.18.0 labels Jan 28, 2025
@martijnvg martijnvg merged commit bb9ee76 into elastic:8.x Jan 28, 2025
15 checks passed
@martijnvg martijnvg deleted the backport_120708 branch January 28, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :StorageEngine/Logs You know, for Logs v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant