[9.1] [Detections Response] Extended rule usage telemetry (#224968)#226304
Merged
kibanamachine merged 1 commit intoelastic:9.1from Jul 2, 2025
Merged
[9.1] [Detections Response] Extended rule usage telemetry (#224968)#226304kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine merged 1 commit intoelastic:9.1from
Conversation
## Summary Addresses elastic/security-team#12856 Product wanted more granular information on custom rule usage. We have information on number of different rule types, total custom and total prebuilt, but there isn't a clear snapshot of the custom rules broken out by rule type. The existing rule type usage includes both prebuilt and custom. ### Sample <img width="342" alt="Screenshot 2025-06-23 at 2 40 59 PM" src="https://github.com/user-attachments/assets/3dcb3fe0-5251-489f-bf3b-d762e57ab597" /> ### How to test You can run `cd x-pack/solutions/security/plugins/security_solution/scripts/endpoint && yarn test:generate` to generate some test data. - Create some rules of different types - Add some exceptions - Add some rules with suppression - Try adding a few prebuilt rules of different rule types - Visit Stack Management > Advanced Settings > Global settings > Usage Collection > Click on the link `cluster data` - Values of `[rule_type]_custom` should only reflect numbers for custom rules, not prebuilt --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit f282c4d)
Contributor
💚 Build Succeeded
Metrics [docs]
cc @yctercero |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.1:Questions ?
Please refer to the Backport tool documentation