SIGN IN SIGN UP

chore(transforms): Allow `datadog_search` to use `&LogEvent` directly (#24182)

The current `datadog_search` matcher interface takes a reference to an `&Event`
and then conditionally searches only logs, returning `false` if the event is not
a log. If we want to search on type `LogEvent`, we need to first wrap it in an
`Event` and then search. By using an `EventRef`, though, we can accomodate
searching on both `&Event` and `&LogEvent` directly, avoiding the extraneous
conversion.
B
Bruce Guenter committed
02671f454061bdb41f9600cafcff3b4f26bd3773
Parent: df6d39b
Committed by GitHub <noreply@github.com> on 11/7/2025, 2:20:48 PM