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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...