ExamGecko
Question list
Search
Search

Question 171 - SPLK-1002 discussion

Report
Export

Which field extraction method should be selected for comma-separated data?

A.
Regular expression
Answers
A.
Regular expression
B.
Delimiters
Answers
B.
Delimiters
C.
eval expression
Answers
C.
eval expression
D.
table extraction
Answers
D.
table extraction
Suggested answer: B

Explanation:

The correct answer is B. Delimiters. This is because the delimiters method is designed for structured event data, such as data from files with headers, where all of the fields in the events are separated by a common delimiter, such as a comma or space. You can select a sample event, identify the delimiter, and then rename the fields that the field extractor finds. You can learn more about the delimiters method from the Splunk documentation1. The other options are incorrect because they are not suitable for comma-separated data. The regular expression method works best with unstructured event data, where you select and highlight one or more fields to extract from a sample event, and the field extractor generates a regular expression that matches similar events and extracts the fields from them. The eval expression is a command that lets you calculate new fields or modify existing fields using arithmetic, string, and logical operations. The table extraction is a feature that lets you extract tabular data from PDF files or web pages. You can learn more about these methods from the Splunk documentation23 .

asked 23/09/2024
Sergio Monsegur Torralba
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first