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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...