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!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...