- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
luteixeira
Explorer
11-12-2020
10:31 AM
Hello Splunkers. 🙂
I have a stream of logs going to Splunk that reports daily errors. The logs is as follows:
Exceptions Details
App...............: WebApp
Original Message..: The provided anti-forgery token was meant for user "1234" but the current user is "".
Server............: WebAppServer
Service API URL...: https://xpto.systemname.com/WebAppApi/SelfService/FI.API.SelfService
I have these kinds of exceptions going on through the day and night and my main goal is to compile the type of exception, which URL happened, where (server name) and how many times it happened.
So what I need is to extract the field after the :
I've tried...
index="MyIndex" | extract kvdelim=":", auto=f
... as suggested in this cheat sheet but I couldn't manage to work.
Any help/suggestions? 🙂
Thank you in advance.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
11-12-2020
11:15 AM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
11-12-2020
11:15 AM
| rex max_match=0 "(?<key>[^\.:\n]+).*:\s(?<value>[^\n]*)"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
luteixeira
Explorer
11-12-2020
12:53 PM
