Splunk Enterprise

Custom query

Path Finder

from the below query,  i am running for 2 to 3 and posted the output and ran again same query from 3 to 4 and posted the output.
i want a query where i can compare pervious hour(2 to 3 data) with (3 to 4) data  and i want to calculate the difference percentage 

|mstats sum(transaction) as Trans where index=host-metrics service=login application IN(app1, app2, app3, app4) span=1h by application


02:00 to 03:00 hours data

2022-01-22 02:00


2022-01-22 02:00app25632.000000
2022-01-22 02:00app35643.000000
2022-01-22 02:00app416543.00000


03:00 to 04:00 hours data output:

2022-01-22 03:00app18753.000000
2022-01-22 03:00app2342.000000
2022-01-22 03:00app387653.000000
2022-01-22 03:00app4


Labels (2)
0 Karma

Path Finder

can anyone help on this??

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...