Splunk Search

How do I write a search to extract key/value pairs from this Windows Event Log?

Thyagarajan
New Member

Hi,

I am looking for a search to extract the name/value pair from the below Windows Event logs and in Splunk, the below message is under "events" field,

Successful Logon: User Name: xxxx Domain: xxxx Logon ID: xxx Logon Type: x Logon Process: User32 Authentication Package: Negotiate Workstation Name: xxxx Logon GUID: xxx Caller User Name: xxx Caller Domain: xx Caller Logon ID: xxx Caller Process ID: xxx Transited Services: - Source Network Address: xxx.xxx.xxx.xxx Source Port: xxxx

0 Karma

woodcock
Esteemed Legend

This is your REGEX:

([^:]+):\s+([^:\s]+)

Do you need help in your *.conf files?

stephanefotso
Motivator

Hello! Can you be more specific? please?

SGF
0 Karma

Thyagarajan
New Member

Actually i wanted to extract all the values to a new field name and display in a tabular format like user_name, logon_id, logon_type, logon_process etc...

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...