Splunk Search

How to best track the frequency of repeating events

pwild_splunk
Splunk Employee
Splunk Employee

Hi,

I'm after suggestions on how to best approach this problem.

I want to track over time how often I am seeing a mac address (src_mac) as categorised as:

first time: never seen before

daily: seen once per day for last 14 days

weekly: seen at least once per week for last 8 weeks

occasionally: seen before but not categorised as the above.

I then want to timechart this on a day-by-day basis.

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pwild_splunk,

this is an heavy and long search, so you can have two approaches:

  • if you need a static server, you can schedule a report every night and access the results in the following 24 hours until the next execution;
  • if instead you want a dynamic report, you could schedule a search and store reults in a summary index, then use it to compare the results of the last day with the results of previous days from the summary index.

the first is easier (only one search) but static, the second has two parts (scheduled search and runtime search) but it's dynamic.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...