Splunk Search

Regex to extract words in red?

KhalidSheikh
Engager

While processing an AS request for target service krbtgt, the account XXX-G-Dashboard-Dev did not have a suitable key for generating a Kerberos ticket (the missing key has an ID of 1). The requested etypes : 18 17 3. The accounts available etypes : 23. Changing or resetting the password of XXX-G-Dashboard-Dev will generate a proper key.

What is the regex to extract words in red? Thanks.

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rex "(?<service>krbtgt)"
| rex "(?<account>XXX-G-Dashboard-Dev)"

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust
| rex "(?<service>krbtgt)"
| rex "(?<account>XXX-G-Dashboard-Dev)"

richgalloway
SplunkTrust
SplunkTrust

This should do, at least with the sample event.

| rex "target service (?<targetService>[^,]+), the account (?<account>\S+)"
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...