nerdexam
Splunk

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.

Using Transforming Commands for Visualizations

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)
  • A
    91% (51)
  • B
    5% (3)
  • C
    4% (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.

AThe average time elapsed during each transaction for all transactionsCorrect

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.

BThe average time for each event within each transaction

The search does not show time for individual events within transactions; duration represents the span of the entire transaction, not per-event timing.

CThe average time between each transaction

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

#transaction command#timechart command#event duration#average calculation

Community Discussion

No community discussion yet for this question.

Full SPLK-1002 Practice