Splunk Search

Sperating a log file values in different filed seperated by comma

abhaybhagat08
New Member

Hi All,

I have logs in Splunk separated by comma

e,g A ,B,C,D,E,F,.,.,

everything is separated by comma , now I want o place the value in between every comma in a separate field of splunk ,
Request you to kindly suggest the regex for the same

For the first field I am able to make the same as rex "(?[^\,]*)" but not able to get the same for the next values ,
Request you to please suggest ,
New to Splunk and reg ex hence asking this query

0 Karma

ryanoconnor
Builder

Are these logs a CSV File that you're trying to ingest into Splunk?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...