Monitoring Splunk

splunk monitor console forecasting when cpu or memory will reach 100%

vincenp2
New Member

I would like to be able to monitor cpu and memory usage, so that I can identify a trend for the increase in usage, and predict a time when full utilisation will occur

so for example I would like to be able to have a chart showing cpu usage gradually rising, with the line continuing into the future showing when 100% usage will be reached?

is this possible, and if so how? I have seen a demo where the predict command which might be a way forward?

thanks

0 Karma

damiensurat
Contributor

Are you gathering cpu utilization through events, scripts, logs or metric store? If you gave an example of the base search, it would help in understanding your metric fields and the how best to use predict in your scenario. You should also look at the x11 command as well.

0 Karma

hortonew
Builder

At a basic level, yes predict can be used:

<base search where metric=cpu and value is integer>| predict value

There are ways to tune predict with different algorithms: https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Predict You can also take a look at the machine learning toolkit for some more advanced prediction: https://splunkbase.splunk.com/app/2890/

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...