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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...