Splunk Search

Outputlookup a baseline lookup and query for anomalies based on baseline lookup?

antoniolamonica
SplunkTrust
SplunkTrust

Say I create a query that outputs (as a csv) the last 14 days of hosts and the dest_ports the host has communicated on.

Then I would inputlookup that csv to compare the last 7 days of the same type of data.

What would be simplest spl to detect anomalies?

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

This requirement is too broad - what sort of anomalies are you trying to detect?

0 Karma

antoniolamonica
SplunkTrust
SplunkTrust

Use case would be if a host is talks to a port it doesn’t usually talk on based on the baseline.  The timeframes in the question are arbitrary. Would start smart to test, and expand the timeframe for the baseline prior to fully implementing it.  

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You could lookup the host and dest_port to retrieve another value from the lookup store e.g. last time accessed (if you have saved that as well), then if no data is retrieved, the host and dest_port is unknown

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...