changes
Class: sugar · Streaming: accumulating
Rows where a field changed relative to the previous row in the same group.
Signature
| changes <field> [by=<field_list>]
Positional Arguments
| Name | Type | Required | Description |
|---|---|---|---|
field | field | Yes | - |
Options
| Name | Type | Default | Description |
|---|---|---|---|
by | field_list | - | - |
Desugars To
sort +_time | streamstats current=false last(<f>) as previous_<f> [by <keys>] | where exists(previous_<f>) and <f> != previous_<f>
Examples
changes version by service
Generated from the LynxFlow registry. See RFC-002 for the full language specification.