Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 10

Which of the following statements would help a user choose between the transaction and stats commands?

    Correct Answer: C

    The transaction command in Splunk is limited to grouping a maximum of 1000 events per transaction by default. This limitation helps manage performance impacts on the system when performing complex transactions over large datasets. Efficiently handling and processing massive amounts of data is critical, and the transaction command is specifically designed to handle smaller, more complex groupings of events. Therefore, the statement about the 1000 event limitation with the transaction command helps users make an informed choice between using the transaction and stats commands.

Discussion
LalithadeviOption: C

C is correct. Refer Page 134 Fundamentals2

othman

Pg. 135 not 134. By default, there’s a limit of 1,000 events per transaction but the admin can change it.

BrynnMLOption: C

C is correct. D isn't correct because you would use the "transaction" command to group events as a single correlated event NOT the "stats" command as stated in the question

AlexSOCOption: C

C is correct.

kruasanOption: C

The transaction command in Splunk is used to group events together based on common field values, time periods, or other criteria. It's particularly useful when you have log data with related events that need to be treated as a single transaction for analysis or reporting purposes.

Jimmy123Option: D

The correct answer is D. Use stats when the events need to be viewed as a single correlated event. The transaction command is used to group events together based on common field values. It can also use more complex constraints such as the total period of the transaction, delays between events within the transaction, and required beginning and ending events. The stats command is used to calculate statistics on events grouped by one or more fields. It does not retain the raw event and other field values from the original event. The transaction command is slower than the stats command, but it is more flexible. It can be used to group events together based on more complex criteria. The stats command is faster, but it is less flexible. It can only group events together based on field values. The transaction command is limited to 1000 events. The stats command has no limit on the number of events that it can group together. If you need to view the events as a single correlated event, you should use the transaction command. If you need to calculate statistics on the events, you should use the stats command.

BrynnML

would the answer not be C as in the text you reference it says "use transaction for a single correlated event" and D states using "stats" for single correlated event..

tineboy46Option: C

C is the correct answer.

HereToLearnyOption: D

The correct answer is D - Splunk documentation reference https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/Abouttransactions

raizen11Option: C

Ans is C D statement cab be corrected by replacing stats with trasnaction.... Use Transaction when the events need to be viewed as a single correlated event

yaman778Option: D

As other people’s comments the limitation of events quantity is changeable by admin. I think D is much better than C, But I didn’t find evidence. We have 2 specific cases refer to use transaction better. 1.unique ID alone is not sufficient to discriminate between 2 transactions. 2. When it is desirable to see the raw text of the events combined rather than analysis on constituent fields of events.

MxQ3Option: C

Limit of 1,000 events per transaciton to no limits when using stats.