SPLK-1004 Exam QuestionsBrowse all questions from this exam

SPLK-1004 Exam - Question 21


How is a multivalue field created from product="a,b,c,d"?

Show Answer
Correct Answer: AD

To create a multivalue field from the string 'product="a,b,c,d"', the `makemv` command should be used with the `delim` parameter to specify the delimiter that separates the values. The correct syntax is `...| makemv delim="," product`, which splits the 'product' field into multiple values using the comma as the delimiter.

Discussion

2 comments
Sign in to comment
Eddie_examOption: D
Apr 18, 2024

Correct answer is D. makemv [delim=<string> | tokenizer=<string>] [allowempty=<bool>] [setsv=<bool>] <field> . See https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Makemv

emlchOption: D
May 10, 2024

yep, D is correct. mvexpand creates a different event for each value in a mv field.