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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...