SPLK-1002 · Question #75
What will you learn from the results of the following search? sourcetype=cisco_esa | transaction mid, dcid, icid | timechart avg(duration)
The correct answer is A. The average time elapsed during each transaction for all transactions. The transaction command groups related events into single transactions and automatically calculates a 'duration' field, which timechart then averages across all transactions.
Question
What will you learn from the results of the following search? sourcetype=cisco_esa | transaction mid, dcid, icid | timechart avg(duration)
Options
- AThe average time elapsed during each transaction for all transactions
- BThe average time for each event within each transaction
- CThe average time between each transaction
How the community answered
(56 responses)- A91% (51)
- B5% (3)
- C4% (2)
Why each option
The transaction command groups related events into single transactions and automatically calculates a 'duration' field, which timechart then averages across all transactions.
The transaction command groups events sharing mid, dcid, and icid values into single transaction events and calculates the 'duration' field as the time span from first to last event in each transaction; timechart avg(duration) then plots the mean of those elapsed times across the time axis.
The search does not show time for individual events within transactions; duration represents the span of the entire transaction, not per-event timing.
The search measures time elapsed within transactions, not the time gaps between separate transactions; inter-transaction timing would require a different approach such as using streamstats.
Concept tested: Splunk transaction duration field with timechart
Source: https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Transaction
Topics
Community Discussion
No community discussion yet for this question.