SPLK-1002 Online Practice Questions

Home / Splunk / SPLK-1002

Latest SPLK-1002 Exam Practice Questions

The practice questions for SPLK-1002 exam was last updated on 2025-06-01 .

Viewing page 1 out of 20 pages.

Viewing questions 1 out of 104 questions.

Question#1

When using the timechart command, what optional argument is used to specify the interval of _time?

A. bin
B. by
C. span
D. over

Explanation:
Comprehensive and Detailed Step-by-Step
The timechart command in Splunk is used to generate time-series visualizations of data.
The span argument is used to specify the interval (or bin size) for the _time field.
Example usage:
css
CopyEdit
index=_internal | timechart span=1h count
This command will create a timechart where _time is grouped into 1-hour intervals.
bin is used in the bin command to group numerical or time-based fields but is not specific to timechart.
by is used to split results by a specific field but does not define the interval.
over is not a valid argument for timechart.
Reference: Splunk Docs - timechart command

Question#2

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.
B. In an event's detail dropdown, click Event Actions > Build Event Type.
C. Edit eventtypes.conf and add a new stanza.
D. Add | eventtype to the SPL and execute the search.

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 clicking Save As and selecting Event Type1. This opens the Save as Event Type dialog, where you can provide the event type name and optionally apply tags to it1.
You can also create an event type by editing the eventtypes.conf file and adding a new stanza1. Each stanza in the eventtypes.conf file represents an event type1. The stanza name is the name of the event type, and the search attribute specifies the search string that defines the event type1.
It’s important to note that while you can use the eventtype command in a search to find events associated with a specific event type, adding | eventtype to the SPL and executing the search does not create a new event type1. Similarly, clicking Event Actions > Build Event Type in an event’s detail dropdown does not create a new event type1.

Question#3

When creating an event type, which is allowed in the search string?

A. Tags
B. Joins
C. Subsearches
D. Pipes

Explanation:
When creating an event type in Splunk, subsearches are allowed in the search string. Subsearches enable users to perform a secondary search whose results are used as input for the main search. This functionality is useful for more complex event type definitions that require additional filtering or criteria based on another search.
Reference: Splunk Docs: About subsearches
Splunk Docs: Event type creation
Splunk Answers: Using subsearches in event types

Question#4

Calculated fields can be based on which of the following?

A. Tags
B. Extracted fields
C. Output fields for a lookup
D. Fields generated from a search string

Explanation:
"Calculated fields can reference all types of field extractions and field aliasing, but they cannot reference lookups, event types, or tags."

Question#5

Consider the following search:
index=web sourcetype=access_combined
The log shows several events that share the same JSESSIONID value (SD470K92802F117). View the events as a group.
From the following list, which search groups events by JSESSIONID?

A. index=web sourcetype=access_combined | highlight JSESSIONID | search SD470K92802F117
B. index=web sourcetype=access_combined | transaction JSESSIONID | search SD470K92802F117
C. index=web sourcetype=access_combined SD470K92802F117 | table JSESSIONID
D. index=web sourcetype=access_combined JSESSIONID <SD470K92802F117>

Explanation:
To group events by JSESSIONID, the correct search is index=web sourcetype=access_combined | transaction JSESSIONID | search SD470K92802F117 (Option B). The transaction command groups events that share the same JSESSIONID value, allowing for the analysis of all events associated with a specific session as a single transaction. The subsequent search for SD470K92802F117 filters these grouped transactions to include only those related to the specified session ID.

Exam Code: SPLK-1002Q & A: 297 Q&AsUpdated:  2025-06-01

 Get All SPLK-1002 Q&As