SPLK-1002 practice question 30 of 35
Consider the following search: index=web sourcetype=access_corabined The log shows several events that share the same jsesszonid value (SD462K101O2F267). View the events as a group. From the following list, which search groups events by jSSESSIONID?
Full set: 297 questionsDomain Correlating Events
The transaction command is the correct tool for grouping events based on a shared field value. In this scenario, transaction JSESSIONID groups all events from the specified index and sourcetype into transactions where each event in a transaction shares the same JSESSIONID. The subsequent search SD462K101O2F267 command then filters these newly created transaction events, displaying only the single transaction (the group of events) that contains the specified session ID. This directly accomplishes the goal of viewing the related events as a group.
B. The table command formats results into a table; it does not group the raw events into a single correlated transaction.
C. The highlight command is a formatting tool used to visually emphasize terms in the search results; it does not perform event grouping.
D. This search is a simple keyword search that finds events containing the literal string "JSESSIONID", rather than grouping them by the field's value. ---
1. Splunk Enterprise, Search Manual, "The transaction command": "The transaction command finds transactions that are based on events that share the same field values... The events in a transaction are grouped and sorted in time order." This document confirms that transaction is the appropriate command for grouping events based on a shared field like JSESSIONID. (See: https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Transaction)
2. Splunk Enterprise, Search Tutorial, "Group events into transactions": "The transaction command groups search results into transactions. A transaction is a group of events that are related, such as events related to a single web browsing session... You can define a transaction using field values." This tutorial explicitly states the purpose of transaction is to group related events, such as those in a user session. (See: https://docs.splunk.com/Documentation/Splunk/latest/SearchTutorial/Groupseventsintotransactions)
Keep practicing
Take the free SPLK-1002 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SPLK-1002 practice questions
- Question 1Which are valid ways to create an event type? (select all that apply)
- Question 2Which of the following statements is true, especially in large environments?
- Question 3Which of the following searches can be used to define an event type?
- Question 4Which of the following statements describes Search workflow actions?
- Question 5What is the relationship between data models and pivots?
- Question 6How does a user display a chart in stack mode?
