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
Get Updates on the Splunk Community!

Splunk Observability for AI

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

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...