Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

group by

group by

The group by filter verifies that all events have the same value for the specified property, and is used before the
with
clause in DRQL.
The group by filter is useful when you are dealing with an event set that contains multiple events and you want to group the events by a common property value.
For example, the following rule verifies that three credit card transactions were processed by the same merchant:
WHEN 3 transaction t group by t.Merchant_ID then response
The following rule verifies that three credit card transactions were processed by the same merchant and the total transaction value is greater than $500:
WHEN 3 transaction t group by t.Merchant_ID WITH sum(t.Purchase_Amount)> 500 then response
Consider that two stock events have the same symbol, and two bond events have the same symbol. The following rule verifies that the stock symbols are not the same as the bond symbols:
WHEN 3 transaction t group by t.Merchant_ID WITH sum(t.Purchase_Amount)> 500 then response
The "group by" operator replaces the "match" operator.

0 COMMENTS

We’d like to hear from you!