Splunk Search

How to monitor deviation to log volume?

Splunk77
Explorer

I am trying to monitor drop in events per index. What is the best way to get a baseline and detect deviation to the volume? I am more interesting in drop in events and not increase.

Labels (1)
Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Start with per_index_thruput in _internal.  It's just a sample and has natural ups and downs, but may give you something to work with.

index=_internal sourcetype=splunkd source=*metrics.log* group=per_index_thruput
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

Splunk77
Explorer

What I am looking for might be something even simpler. If I can get the total log volume per day and set up a threshold for alerting that will work. I was thinking log volume for most indexes (log sources) do tend to drop on the weekends. Perhaps there is a threshold that can be set up based on the day of the week. Weekends vs week days. Any such way to accomplish this?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check the Monitoring Console to see if it has a query that comes close to what you want.

As for accounting for weekends and holidays, you probably should look at the Machine Learning Toolkit (MLTK).  It has algorithms that can detect trends in your data and help find when the trends break.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Start with per_index_thruput in _internal.  It's just a sample and has natural ups and downs, but may give you something to work with.

index=_internal sourcetype=splunkd source=*metrics.log* group=per_index_thruput
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...