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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...