Splunk Search

Automatic extraction bug?

ursol
New Member

Hi,

I am facing the next problem. When having the next _raw:

 

process="\"C:\\Windows\\regedit.exe\" /s \"C:\\Program Files (x86)\\SAP\\RPW.reg\""

 

The value of the process field that I expect is:

 

"C:\Windows\regedit.exe" /s "C:\Program Files (x86)\etc\etc.etc"

 

But what the automatic extraction gets is the same but without the initial and ending quotation marks:

 

C:\Windows\regedit.exe" /s "C:\Program Files (x86)\etc\etc.etc

 

 

Any ideas of how to get the expected value? It seems it doesn't respect the escaped characters.

Labels (1)
0 Karma

johnhuang
Motivator

Could you post an example of _raw and also the regex that is used to extract this field?

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...