Skip to content

Reduce transform ends_with based on dynamic number of messages #22705

Answered by pront
Goggin asked this question in Q&A
Discussion options

You must be logged in to vote

but after looking at the code yesterday. realized that the ends_with condition only gets the new event, not the combined data. Any other ideas on how I might achieve this?

This is correct. It would be an interesting enhancement to apply predicates to the aggregate event. And IMO trivial to implement. Arguably, this component has a big and complex configuration area so maybe it is worth taking a step back and thinking about refactoring the UX to support this new end condition (vs just adding a new field).

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pront
Comment options

@Goggin
Comment options

@pront
Comment options

@Goggin
Comment options

@pront
Comment options

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
transform: reduce Anything `reduce` transform related
2 participants