Dashboards & Visualizations

Calculation of the kwh difference in an Energy Dashboard

alex8103
Explorer

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!

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

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 😉

alex8103
Explorer

Ah, very good. Thank you!

 

 

 

 

0 Karma
Get Updates on the Splunk Community!

Customer Experience | Splunk 2024: New Onboarding Resources

In 2023, we were routinely reminded that the digital world is ever-evolving and susceptible to new ...

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...