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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...