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!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...