Courseiva
Transactions and Event CorrelationmediumMultiple ChoiceObjective-mapped

What the Numeric Arguments in transaction Mean

A search includes `... | transaction 1,2,3` but returns unexpected results. What does the `1,2,3` represent in this context?

Quick Answer

The answer is that the numeric arguments 1,2,3 in the transaction command represent maxspan=1s, maxpause=2s, and maxevents=3, respectively. This is because when you use transaction without named field arguments, Splunk interprets the first three positional values as time-based constraints: the first number sets the maximum time span for the entire transaction in seconds, the second sets the maximum pause between events in seconds, and the third caps the total number of events allowed in a single transaction. On the SPLK-1003 exam, this concept tests your understanding of how transaction command syntax works without explicit field names, and it’s a common trap to assume these numbers refer to index, status codes, or a list of fields. To avoid confusion, remember the mnemonic “Span, Pause, Events” in that exact order, and note that all three values default to seconds.

⚠ Common exam trap

A common trap is thinking that numeric arguments to `transaction` are field names or indexes. In Splunk, when you provide three numbers, they are automatically assigned to maxspan, maxpause, and maxevents without needing to name them.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

maxspan=1s, maxpause=2s, maxevents=3

When the `transaction` command is given three numeric arguments without field names, they are interpreted as `maxspan`, `maxpause`, and `maxevents` respectively. Therefore, `1,2,3` means maxspan=1 second, maxpause=2 seconds, and maxevents=3. Option A is wrong because these are not field names; transaction keys are specified by providing field names as arguments. Option B is wrong because transaction does not correlate across indexes; it groups events based on fields or time. Option C is wrong because these are not status codes; transaction uses temporal settings and event count limits.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Field names to use as transaction keys

    Why it's wrong here

    Transaction keys are field names, not numbers.

  • Three index names to correlate across indexes

    Why it's wrong here

    Transaction does not correlate across indexes with numbers.

  • Status codes for transactions (1=open, 2=pending, 3=closed)

    Why it's wrong here

    No such concept.

  • maxspan=1s, maxpause=2s, maxevents=3

    Why this is correct

    Positional arguments: maxspan, maxpause, maxevents in seconds.

About these practice questions

This SPLK-1002 question is part of Courseiva's 475-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on SPLK-1002

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which transaction option should be used to ensure that a transaction does not exceed a total duration of 10 minutes?

easy
  • A.endswith="end"
  • B.maxpause=10m
  • C.startswith="start"
  • D.maxspan=10m

Why D: The correct option is D (maxspan=10m) because maxspan sets the maximum total duration of a transaction from start to end. Option A (endswith) defines the ending event, not duration. Option B (maxpause) limits the maximum pause between events within a transaction. Option C (startswith) defines the starting event. Therefore, maxspan is used to ensure the entire transaction does not exceed 10 minutes.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SPLK-1002 practice question is part of Courseiva's free Splunk certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SPLK-1002 exam.