Splunk Search

Transaction event charting question

ericrobinson
Path Finder

I was wondering if it is possible to chart results on a per event basis. By this, I mean that I have defined a transaction in my search. Resulting fields from this search include how long an action took, and how many discreet units of work there was in the action. I want to be able to chart, per transactional event, how long and how many. Is this possible?

Tags (2)
0 Karma

ericrobinson
Path Finder

Per event along a timeline.. the former. I am not interested in the duration perse.. I am using the transaction command to associate the tran_id.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You mean per event along a timeline, by time of the transaction? Or just a table?

0 Karma

Lowell
Super Champion

Have you tried using xyseries?

Another approach would be to use the chart command. You would still have to specify an aggregate function, but if you have only one value per transaction then the aggregate will return the original value anyways. So you could try:

| chart sum(duration) by transaction_id
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...