Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.sample
- declare RawEvent
- @role(event)
- @timestamp(timestamp)
- end
- rule "Detect it"
- when
- $start : RawEvent()
- not RawEvent(this != $start, id == $start.id, $start after[0ms, 90s] this)
- then
- System.out.println($start);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement