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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...