Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 128

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

    Correct Answer: D

    The regular expression method is used when events contain unstructured data. Unstructured data lacks a predefined format or organization, which makes it difficult to use predefined parsers. Regular expressions provide a flexible way to identify patterns within this unstructured data, making it possible to extract meaningful fields for analysis.

Discussion
SCARODJOption: D

The choice of the term "unstructured" is interesting to put it mildly, but... Quote: "The regular expression method works best with unstructured event data." Ref: https://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX Version 9.2.0 is latest as of writing.