ExamGecko
Question list
Search
Search

Question 68 - SPLK-1002 discussion

Report
Export

To identify all of the contributing events within a transaction that contains at least one REJECT event, which syntax is correct?

A.
Index-main | REJECT trans sessionid
Answers
A.
Index-main | REJECT trans sessionid
B.
Index-main | transaction sessionid | search REJECT
Answers
B.
Index-main | transaction sessionid | search REJECT
C.
Index=main | transaction sessionid | whose transaction=reject
Answers
C.
Index=main | transaction sessionid | whose transaction=reject
D.
Index=main | transaction sessionid | where transaction=reject''
Answers
D.
Index=main | transaction sessionid | where transaction=reject''
Suggested answer: B

Explanation:

The transaction command is used to group events that share a common value for one or more fields into transactions2.The transaction command assigns a transaction ID to each group of events and creates new fields such as duration, eventcount and eventlist for each transaction2.To identify all of the contributing events within a transaction that contains at least one REJECT event, you can use the following syntax:index=main | transaction sessionid | search REJECT2.This search will first group the events by sessionid, then filter out the transactions that do not contain REJECT in any of their events2. Therefore, option B is correct, while options A, C and D are incorrect because they do not follow the correct syntax for using the transaction command or the search command.

asked 23/09/2024
Amir Arefi
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first