[9.4] Add mappings for process and security event sources metrics#763
Open
nicholasberlin wants to merge 2 commits into
Open
[9.4] Add mappings for process and security event sources metrics#763nicholasberlin wants to merge 2 commits into
nicholasberlin wants to merge 2 commits into
Conversation
Endpoint.metrics.documents_volume.{process,security}_events.sources.*
were added to custom_documentation only (#652, #653), so the fields were
never mapped in the package. The metrics index template sets
dynamic: false, so these fields are currently not indexed on any stack.
Define them in custom_schemas/custom_endpoint.yml mirroring the existing
api_events.sources.* mappings, and regenerate with make.
(cherry picked from commit 322d76a)
Requested in review: sample values for the new
documents_volume.{process,security}_events.sources.* mappings so the
automated mapping tests exercise them. Source values reflect what the
endpoint emits: process event sources are opcode names (load_module),
security event sources are diagnostic_<event id> strings.
(cherry picked from commit 52535bc)
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 of #762 to
9.4(clean cherry-pick, regeneration verified per-branch).Endpoint.metrics.documents_volume.{process,security}_events.sources.*only ever existed incustom_documentation- the fields were never defined incustom_schemas, so they are missing from the package mappings. Withdynamic: falseon the metrics index template, endpoint sends these fields but they are not indexed.Should merge after (or together with) #762.
Related: elastic/endpoint-dev#20924.
Generated with Claude Code.