Search: Calculate the difference between the time of an event to the next event (duration between each event): Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
+ | ''You can calculate the difference between the _time of an event to the event after it (duration for each event) with command '''streamstats'''.'' | ||
− | + | ''Example with the difference between the field '''_time''':'' | |
+ | <your search query> | ||
+ | | streamstats range(_time) as Duration window=2 | ||
+ | | table _time, Duration | ||
Version vom 3. März 2020, 09:59 Uhr
You can calculate the difference between the _time of an event to the event after it (duration for each event) with command streamstats.
Example with the difference between the field _time:
<your search query> | streamstats range(_time) as Duration window=2 | table _time, Duration