How to use the delta to get the difference in a metric?
this is my search:
deviceMetrics and _dataTier=Infrequent COLLAR_METRICS 002-0019-00441
| timeslice 10m
| json field=_raw "metric.loraTransmittedPackets.value" as loraTransmittedPackets
| max(loraTransmittedPackets) by _timeslice |
which gives this:
# | Time | loraTransmittedPackets |
1 | 21/05/2021 3:20:00 PM +1200 | 7,219 |
2 | 21/05/2021 1:20:00 PM +1200 | 7,180 |
3 | 21/05/2021 2:20:00 PM +1200 | 7,200 |
4 | 21/05/2021 11:20:00 AM +1200 | 7,140 |
5 | 21/05/2021 12:20:00 PM +1200 | 7,160 |
how do I get the delta to work?
Please sign in to leave a comment.
Comments
0 comments