binary_all_or() (aggregation function)
Accumulates values using the binary OR operation per summarization group (or in total, if summarization is done without grouping).
- Can be used only in context of aggregation inside summarize
Syntax
binary_all_or (Expr)
Arguments
- Expr: long number.
Returns
Returns a value that is aggregated using the binary OR operation over records per summarization group (or in total, if summarization is done without grouping).
Example 1
Producing '-' using binary OR operations:
events
| summarize result = binary_all_or(4294967295)
| distinct result
Results
|
|
Example 2
Producing results using binary OR operations:
events
print result = binary_all_or(0x42000000)
Results
| result |
|---|
| 1107296256 |