SPLK-1004 practice question 4 of 10

Which of the following is true about Log Event alerts?

Full set: 117 questions

Domain Monitoring Splunk Cloud

Answer options
A: They must be used with other alert actions.
B: They cannot use tokens to reference event fields.
C: They require at least Power User role.
D: They create new searchable events. Correct answer
Correct Answer:
D. They create new searchable events.
Explanation

The primary function of the Log Event alert action is to generate a new event and write it to a specified Splunk index when an alert's trigger conditions are met. This newly created event contains metadata about the alert, such as the search name, trigger time, and optionally, results from the triggering search. Because this event is written to an index, it is indexed by Splunk and becomes fully searchable, enabling subsequent analysis, reporting, and monitoring of alerting activities.

Why Incorrect

A. The Log Event action can be configured as the sole action for an alert; it is not dependent on or required to be used with other alert actions.
B. Log Event actions are designed to use tokens (e.g., $result.fieldname$, $job.sid$) to dynamically include fields and metadata from the triggering search results in the new event.
C. Creating alerts requires the schedulesearch capability, which the Power User role has by default. However, a custom role could also be granted this capability, so it's not exclusively tied to the Power User role.

References

1. Splunk Enterprise Documentation, Alerting Manual, "Log event": This section explicitly states, "The log event action writes an event to a file that you specify... The file that you specify is a Splunk index." This directly supports the correct answer (D) that the action creates a new, searchable event. The page also provides examples of using tokens, which refutes option B.

2. Splunk Enterprise Documentation, Alerting Manual, "Configure alert actions": This page lists "Log event" as one of several independent actions that can be configured for an alert, demonstrating that it does not need to be used with other actions, thus refuting option A.

3. Splunk Enterprise Documentation, Securing Splunk Enterprise, "About configuring roles with capabilities", "Table of capabilities": This documentation details that the schedulesearch capability is required to create and schedule alerts. While the power role includes this by default, the system is based on capabilities that can be assigned to custom roles, making option C an imprecise statement.

Scroll to Top