Splunk Search

Best way(s) to track changes in count of IPs

jwalzerpitt
Influencer

Every night we scan our external systems for two reasons:

1) To see if unauthorized systems pop up
2) To see if there has been any change in open ports reporting

What would be the best way, or ways, to track this via search. I've been looking at diff, streamstats, delta., and so on, but wanted to hear others' thoughts on this matter.

Thx

Tags (3)
0 Karma
1 Solution

joshd
Builder

Store the output of the search in a lookup then use inputlookup and do a diff on the counts. You can also store things like 'last seen' 'first seen' etc... in the lookup which would prove useful for other use cases (tracking assets over time, etc).

Also the new KV store in 6.2 provides much more flexibility than lookups, I'd take a peak into that as well.

View solution in original post

joshd
Builder

Store the output of the search in a lookup then use inputlookup and do a diff on the counts. You can also store things like 'last seen' 'first seen' etc... in the lookup which would prove useful for other use cases (tracking assets over time, etc).

Also the new KV store in 6.2 provides much more flexibility than lookups, I'd take a peak into that as well.

somesoni2
Revered Legend

Once stored in lookups/kv store, based on your search get the list/count of IPs, you can use compare yesterday's data (from lookup/kv store) with today's data (search result) using diff, delta or stats. Providing your current search would be helpful in getting more accurate suggestions.

jwalzerpitt
Influencer

johd and somesoni2, thx for the information and recommendations... Much appreciated.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...