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
Wechseln zu: Navigation, Suche
K (Admin verschob die Seite Search: Calculate the difference between the time of an event to the next event (duration for each event) nach [[Search: Calculate the difference between the time of an event to the next event (duration between each event)]…)
K
 
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'''.''
+
''You can calculate the difference between the _time of an event to the event after it (duration for each event) with command '''streamstats''' and the option '''windows=2'''.''
  
 
'''Example with the difference between the field ''_time'':'''
 
'''Example with the difference between the field ''_time'':'''

Aktuelle Version vom 3. März 2020, 11:00 Uhr

You can calculate the difference between the _time of an event to the event after it (duration for each event) with command streamstats and the option windows=2.

Example with the difference between the field _time:

<your search query>
| streamstats range(_time) as Duration window=2
| table _time, Duration