Splunk Enterprise Security

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

Miguel3393
Path Finder

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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...