ExamGecko
Question list
Search
Search

Question 175 - SPLK-1002 discussion

Report
Export

In the Field Extractor, when would the regular expression method be used?

A.
When events contain JSON data.
Answers
A.
When events contain JSON data.
B.
When events contain comma-separated data.
Answers
B.
When events contain comma-separated data.
C.
When events contain unstructured data.
Answers
C.
When events contain unstructured data.
D.
When events contain table-based data.
Answers
D.
When events contain table-based data.
Suggested answer: C

Explanation:

The correct answer is C. When events contain unstructured data.

The regular expression method works best with unstructured event data, such as log files or text messages, where the fields are not separated by a common delimiter, such as a comma or space1. You select a sample event and highlight one or more fields to extract from that event, and the field extractor generates a regular expression that matches similar events in your dataset and extracts the fields from them1. The regular expression method provides several tools for testing and refining the accuracy of the regular expression. It also allows you to manually edit the regular expression1.

The delimiters method is designed for structured event data: data from files with headers, where all of the fields in the events are separated by a common delimiter, such as a comma or space1. You select a sample event, identify the delimiter, and then rename the fields that the field extractor finds1. This method is simpler and faster than the regular expression method, but it may not work well with complex or irregular data formats1.

1: Build field extractions with the field extractor - Splunk Documentation

asked 23/09/2024
Eric Persson
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first