Splunk Search

How make a string field multivalued?

pfabrizi
Path Finder

I have a event field that comes in as a string that is comma separated.
field look like https://google.con,https://Microsoft.com,https://splunk.com

In my props I have an eval:
EVAL-urls = split(urls, ",")

when searched we only see the https://google.com is the urls field.

How can I make this multivalued ?

Thanks!

Tags (1)
0 Karma

somesoni2
Revered Legend
0 Karma

pfabrizi
Path Finder

can I use a makemv in a props.conf?

0 Karma

kmorris_splunk
Splunk Employee
Splunk Employee

Try using the makemv command. This will take a single value field with a delimited list of values and turn it into a multivalued field.

http://docs.splunk.com/Documentation/Splunk/7.1.1/SearchReference/Makemv

0 Karma

pfabrizi
Path Finder

can I use this in a props.conf?
if so what would the command look like?

thanks!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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