- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calculation of the kwh difference in an Energy Dashboard
alex8103
Explorer
06-05-2024
06:37 AM
Hello everyone,
can anyone help me with how I can get the difference to the previous value from a device that sends me the total kwh number in order to be able to calculate a consumption per specified time in the Splunk dashboard? Currently, I am only shown an ever-increasing value.
Thank you very much!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PickleRick

SplunkTrust
06-05-2024
06:43 AM
You have several options
1) The delta command to calculate the difference
2) The autoregress command to copy over value from previous result row and calculate difference manually
3) The streamstats command to do the same as 2) but in a more complicated way 😉
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
alex8103
Explorer
06-05-2024
07:00 AM
Ah, very good. Thank you!
