stddev
The stddev function returns the standard deviation over all the possible
values.
| Syntax | Param data types | Return type |
|---|---|---|
stddev(numericExpression) |
NUMBER |
NUMBER |
Code Sample
Find all the events where
target.ipis not empty. For all the events that match onprincipal.ip, store the standard deviation ofmetadata.event_timestamp.secondsin a variable calledstddev_seconds.target.ip != "" match: principal.ip outcome: $stddev_seconds = stddev(metadata.event_timestamp.seconds)