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!

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...

Splunk Observability Cloud | Enhancing Your Onboarding Experience with the ...

We understand that your initial experience with getting data into Splunk Observability Cloud is crucial as it ...