Splunk Search

Can you help me extract the following field using regular expression?

Deepz2612
Explorer

I want to extract the Autosys_Job from the below log snippet and so used the below rex.

Log Snippet :

Query :

rex "(?:(\nAutosys_Job:)?\s(?\S+))"

the results are not as expected

Expected Result :

event_1

tsx1_d

Kindly help

Tags (2)
0 Karma

woodcock
Esteemed Legend

Re-edit your question; it makes no sense and is missing details that you imply should be present.

0 Karma

493669
Super Champion

Try this:

|rex "Autosys_Job:\s*(?<Autosys_Job>\w+)"
0 Karma
Get Updates on the Splunk Community!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...