Splunk Search

generate a comma delimited list

royimad
Builder

I have the following search
sourcetype = "DevicesInfo" | stats values(DeviceSubType) as series | makemv delim="," series | fields series
but the result string "series" is not comma seperated.
Does anyone have an idea why the result i'm getting is not comma seperated?
Thanks!

Tags (2)
0 Karma

Ayn
Legend

You should read the docs.

makemv is used for creating a multivalued field out of a comma-separated string, not the other way around. To do the opposite, use eval's function mvjoin.

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Makemv
http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions

Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...