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!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...