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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...