Splunk Search

Seperate Multivalue Fields with Carriage Return Delimiter

mistydennis
Communicator

Hi all - I have data that appears like this:

Field=Animal
Cat
Dog
Fish

Dog
Fish

Horse
Cat
Dog
Pig

.....where multiple values are populating one cell, all separated by a carriage return. There are not the same number of values in each cell, sometimes 1, sometimes 5. I know how to separate these out when there is a comma or a semicolon used as a delimiter, but how do I separate these kind of values that have no visible delimiter?

Tags (1)
0 Karma

493669
Super Champion

Hi @mistydennis,
Use mvexpand command to separate multivalue fields:

...|mvexpand Animal

Reference: http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Mvexpand

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...