Hi All, thanks for clicking on the question
This search works fine in Linux using grep, but I can't get it to work in Splunk. Please can you help..
I have imported a test.csv file that has many lines like the following
[ERROR] 2023/01/05 16:53:05 [!] Get "https://test.co.uk/sblogin/username": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I am simply just to trying to extract the username field after sblogin/ and nothing else after the "
This is the query I have tried that gives the Error in 'SearchParser': Mismatched ']'
source="test.csv" | rex field=raw_line "sblogin/([^"]+)" | eval extracted_string=substr(extracted_string, 9)
... View more