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

Add associated_assets field to Events #19740

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Conversation

danotorrey
Copy link
Contributor

@danotorrey danotorrey commented Jun 25, 2024

Description

Add support for the associated_assets (string id array) field to Events. Also updates the event mapping accordingly. This field needs to be present at the top-level of the Event, since (similar to the Message object), it must be an array in order to support effective/efficient search filtering.

Motivation and Context

Server changes needed for https://github.com/Graylog2/graylog-plugin-enterprise/issues/7475

Corresponding Enterprise PR: https://github.com/Graylog2/graylog-plugin-enterprise/pull/7603

How Has This Been Tested?

Verified that the new events mapping is applied successfully when the Graylog Events index is rotated. Subsequent events index successfully. See additional testing notes in corresponding PR.

/nocl

Copy link
Contributor

@ryan-carroll-graylog ryan-carroll-graylog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and tests successfully with the enterprise PR!

@danotorrey
Copy link
Contributor Author

Thanks for the feedback/testing/reviews @ryan-carroll-graylog @kingzacko1! I will wait on merging these until tomorrow in case anyone else has feedback.

@danotorrey danotorrey merged commit 5854817 into master Jun 28, 2024
5 of 6 checks passed
@danotorrey danotorrey deleted the add/event-associated-assets branch June 28, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants