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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...