Skip to main content

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​

NameTypeRequiredDescription
fieldfieldYes-

Options​

NameTypeDefaultDescription
byfield_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.