Splunk Search

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


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 :



Kindly help

Tags (2)
0 Karma

Esteemed Legend

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

0 Karma

Super Champion

Try this:

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

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...