ExamGecko
Question list
Search
Search

Question 223 - SPLK-1002 discussion

Report
Export

How is an event type created from the search window? (select all that apply)

A.
In the top right corner, click Save As > Event Type.
Answers
A.
In the top right corner, click Save As > Event Type.
B.
In an event's detail dropdown, click Event Actions > Build Event Type.
Answers
B.
In an event's detail dropdown, click Event Actions > Build Event Type.
C.
Edit eventtypes.conf and add a new stanza.
Answers
C.
Edit eventtypes.conf and add a new stanza.
D.
Add | eventtype to the SPL and execute the search.
Answers
D.
Add | eventtype to the SPL and execute the search.
Suggested answer: A, C

Explanation:

In Splunk, you can create an event type from the search window by running a search that would make a good event type, then clickingSave Asand selectingEvent Type1.This opens theSave as Event Typedialog, where you can provide the event type name and optionally apply tags to it1.

You can also create an event type by editing theeventtypes.conffile and adding a new stanza1.Each stanza in theeventtypes.conffile represents an event type1.The stanza name is the name of the event type, and thesearchattribute specifies the search string that defines the event type1.

It's important to note that while you can use theeventtypecommand in a search to find events associated with a specific event type, adding| eventtypeto the SPL and executing the search does not create a new event type1.Similarly, clickingEvent Actions > Build Event Typein an event's detail dropdown does not create a new event type1.


asked 23/09/2024
Jaques Rautenbach
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first