Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Allow to enable global logs and metrics dataview creation with config enableManagedLogsAndMetricsDataviews #205268

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Dec 30, 2024

Description

Resolve #202807

Introduce a new xpack.fleet.enableManagedLogsAndMetricsDataviews to allow to disable the creation of the managed logs-* and metrics-* dataview.

How to test

Run fleet xpack.fleet.enableManagedLogsAndMetricsDataviews: false and verify logs-* and metrics-* are not created

Todo

  • Document the config flag

…h config enableManagedLogsAndMetricsDataviews
@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Dec 30, 2024
@nchaulet nchaulet self-assigned this Dec 30, 2024
@nchaulet nchaulet requested a review from a team as a code owner December 30, 2024 14:41
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nchaulet
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @nchaulet

@nchaulet nchaulet merged commit dd31e40 into elastic:main Dec 31, 2024
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12561000199

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Dec 31, 2024
…on with config enableManagedLogsAndMetricsDataviews (#205268) (#205330)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Fleet] Allow to enable global logs and metrics dataview creation
with config enableManagedLogsAndMetricsDataviews
(#205268)](#205268)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-31T15:02:10Z","message":"[Fleet]
Allow to enable global logs and metrics dataview creation with config
enableManagedLogsAndMetricsDataviews
(#205268)","sha":"dd31e406be605f8db329a9d3bf36164c1425a43c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor"],"title":"[Fleet]
Allow to enable global logs and metrics dataview creation with config
enableManagedLogsAndMetricsDataviews","number":205268,"url":"https://github.com/elastic/kibana/pull/205268","mergeCommit":{"message":"[Fleet]
Allow to enable global logs and metrics dataview creation with config
enableManagedLogsAndMetricsDataviews
(#205268)","sha":"dd31e406be605f8db329a9d3bf36164c1425a43c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205268","number":205268,"mergeCommit":{"message":"[Fleet]
Allow to enable global logs and metrics dataview creation with config
enableManagedLogsAndMetricsDataviews
(#205268)","sha":"dd31e406be605f8db329a9d3bf36164c1425a43c"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <[email protected]>
stratoula pushed a commit to stratoula/kibana that referenced this pull request Jan 2, 2025
benakansara pushed a commit to benakansara/kibana that referenced this pull request Jan 2, 2025
cqliu1 pushed a commit to cqliu1/kibana that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fleet] Add Fleet setting to disable creation of logs-* and metrics-* data views
4 participants