Splunk Search

Generic search to pull Job Name

harsush
Path Finder

20170221/032119.169 - U0020408 UC4ALERT: External Dependency inside jobplan NEWREL.JOBPLAN.X. CLEAN.SET_PARA.RTH_FOR_LOAD, (Run # 22222222) has been executing longer than expected; Please investigate.

20170221/010037.065 - U0011544 Max. runtime of task 'NEWREL.FILEEVNT.U.CLEAN.FIX.LOOK_FOR_IMR_FILE_IN_FTP' (RunID '11111111') has been exceeded. Task 'SYSTEM.SCRIPT.X.UC4.X.OBJ_RUNNING_TOO_LONG' will be started.

20170221/020123.758 - U0011007 Job 'CERT.JOBS.U.CVR.POS.CYC_DATE_LOAD' (RunID '444444444' / Workflow-RunID: '333333333') on Host 'CLCEPOS0001LD' ended abnormally (return code='0000000001'). Remote ID=13388

output
NEWREL.JOBPLAN.X. CLEAN.SET_PARA.RTH_FOR_LOAD
NEWREL.FILEEVNT.U.CLEAN.FIX.LOOK_FOR_IMR_FILE_IN_FTP
CERT.JOBS.U.CVR.POS.CYC_DATE_LOAD

Tags (1)
0 Karma

adayton20
Contributor

This seemed to work for me. Give it a try:

index=yourindex
| rex field=_raw "jobplan\s(?P<job1>.[^\,]*)" 
| rex field=_raw "task\s\'(?P<job2>.[^\']*)" 
| rex field=_raw "Job\s\'(?P<job3>.[^\']*)" 
| eval job=coalesce(job1,job2,job3) 
| table job

alt text

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...