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!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...