Splunk Search

Charting concurrency for all time spans

jeffa
Path Finder

I have a query that creates a transaction and then calculates the concurrency for the transactions based on the duration calculated by the 'transaction' command...

sourcetype="mySourcetype" (startEventText) OR (endEventText) | transaction host custID startswith="startEventText" endswith="endEventText" | concurrency duration=duration

I would like to chart the number of concurrent transactions over time, but when I use a standard "| timechart span=1m max(concurrency)", I see the concurrency results at the time a particular transaction started, but not for subsequent time spans. In my scenario, a transaction may take several minutes (up to hours), and I'd like a visual representation of how many of these transactions are happening at any given timespan (not just the timespans where a transaction started).

[How] Can this be done?

steveyz
Splunk Employee
Splunk Employee

try adding | filldown to the end of your search. This is available in 4.2 and later

jeffa
Path Finder

Precisely what I was looking for. Thanks! (Original)

(Edit)
Actually...this is close, but I noticed that the "score" doesn't drop off when the transaction completes.

0 Karma

sideview
SplunkTrust
SplunkTrust

you mean after the timechart span=1m max(concurrency) of course, not just after the concurrency command.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...