SPLK-1002 · Question #187
When would a user select delimited field extractions using the Field Extractor (FX)?
The correct answer is A. When a log file has values that are separated by the same character, for example, commas. Splunk's Field Extractor (FX) offers two extraction methods: regex-based and delimiter-based. Delimiter-based (delimited) extraction is used when field values are consistently separated by the same character, such as commas (CSV), pipes, tabs, or semicolons. This method…
Question
When would a user select delimited field extractions using the Field Extractor (FX)?
Options
- AWhen a log file has values that are separated by the same character, for example, commas.
- BWhen a log file contains empty lines or comments.
- CWith structured files such as JSON or XML.
- DWhen the file has a header that might provide information about its structure or format.
How the community answered
(44 responses)- A89% (39)
- B2% (1)
- C7% (3)
- D2% (1)
Explanation
Splunk's Field Extractor (FX) offers two extraction methods: regex-based and delimiter-based. Delimiter-based (delimited) extraction is used when field values are consistently separated by the same character, such as commas (CSV), pipes, tabs, or semicolons. This method automatically splits the data on the chosen delimiter and assigns field names. The other options describe scenarios that are either handled by structured sourcetype parsers (JSON/XML) or regex-based extraction, not delimited extraction.
Topics
Community Discussion
No community discussion yet for this question.