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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...