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.
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.
Thanks for the feedback/testing/reviews @ryan-carroll-graylog @kingzacko1! I will wait on merging these until tomorrow in case anyone else has feedback.
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 theMessage
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