Splunk Search

Compare two fields tables

gauravmishra15
Path Finder

I have one saved search which returns list of successful job runs e.g

jobname
A
B
C
D

I also have a lookup table with list of all the jobs

jobnames
1
A
2
B
8
C
X
5

I am looking for a way to identify which jobs were not successful. Can we achieve this in SPLUNK ?

0 Karma

gauravmishra15
Path Finder

Thanks Sekar !

The first part of command I have is a savedsearch which returns table or set of fields, JobName is one of them. JobName is one of the fields.I tried to table or field+ to expose only jobname field. Something like this

| savedsearch "XYZ" NOT [| inputlookup JobnamesAll.csv | fields jobnames]

but no luck so far.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Sure, we can achieve this in Splunk.. Please check -

  source="OKjobnames" NOT [| inputlookup JobnamesAll.csv | fields jobbames]
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...