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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...