Getting Data In

regex

smanojkumar
Contributor

Hi Splunkers!
   I would like to extract detection_method value, "Access Protection"

file_name="HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\POLICIES\SYSTEM\", detection_method="Access Protection", vendor_action="IDS_ACTION_WOULD_BLOCK",

Thanks,
Manoj Kumar S

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rex "detection_method=\"(?<detection_method>[^\"]+)\""

View solution in original post

inventsekar
SplunkTrust
SplunkTrust

Hi All... Splunk newbie learning videos, for absolute beginners:
https://www.youtube.com/@SiemNewbies101/playlists

I have added 24 small videos of rex... Completely for Splunk newbies and beginners. hope this helps somebody, thanks.

ITWhisperer
SplunkTrust
SplunkTrust
| rex "detection_method=\"(?<detection_method>[^\"]+)\""
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Meet the .conf26 AI Agent Buildathon Winners

At the .conf26 AI Agent Buildathon, Splunk users turned their operational expertise into working AI agents ...

Trusted Autonomy in the SOC: A Maturity Journey

AI is compressing attacker timelines and pushing SOC teams beyond human capacity thresholds. The next SOC ...

Supercharging Windows Security Detection Performance: Introducing Hybrid Field ...

Windows event logs—from Security auditing and Sysmon to PowerShell script blocks—form the operational backbone ...