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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...