Splunk Search

add sum of previous point to next minute value

rameshlpatel
Communicator

Hi,

I want increment graph, current minute transactions do sum with previous minute transaction and this will continue upto time range.

Please help me to achieve this .

Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

Give this a try

your base search | bucket span=1m _time | stats count by _time | accum count

View solution in original post

somesoni2
Revered Legend

Give this a try

your base search | bucket span=1m _time | stats count by _time | accum count

rameshlpatel
Communicator

Thanks Its works now..

aweitzman
Motivator

Without knowing what your search is, it's hard to say exactly. That said, look into the "streamstats" command, which should allow you to generate a running total across your results, which you can then chart.

0 Karma

rameshlpatel
Communicator

Yes.You can say that.

0 Karma

somesoni2
Revered Legend

Are you asking for cumulative sum of transactions per minute?

0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...