Splunk Enterprise Security

How to only show the destination not in the search table?

Miguel3393
Explorer

Hello,

I have a lookup table with numbers, where it checks the numbers that match the error_code 11.


index="cdrs" "error_code"="11" "Destino"="*"


| lookup DIDREPEP Destino OUTPUT Destino | table Destino

But it shows some blank results because they are not in the lookup table.
How can I do so that it only shows me the destination that is not in the search table?.

thanks greetings.

Labels (1)
Tags (2)
0 Karma
1 Solution

paulcurry
Path Finder

Maybe try: 

index="cdrs" "error_code"="11" "Destino"="*"

| lookup DIDREPEP Destino OUTPUT Destino AS foundInLookup

|where isnull(FoundInLookup)

View solution in original post

paulcurry
Path Finder

Maybe try: 

index="cdrs" "error_code"="11" "Destino"="*"

| lookup DIDREPEP Destino OUTPUT Destino AS foundInLookup

|where isnull(FoundInLookup)

Get Updates on the Splunk Community!

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...