How to create a Splunk alert for when storage on host reaches 75%?

Path Finder

I need to create a Splunk alert that will trigger when storage on /vi/vip_pdh/00d for a host reaches at least 90% capacity.

index=A sourcetype=B   /vi/vip_pdh OR /var/log  earliest=-2h

| eval UsePct=rtrim(UsePct,"%")

| stats latest(UsePct) as UsePct by MountedOn host.

Just a Slight correction, I want to monitor both /vi/vip_pdh and /var/log.


Labels (1)
0 Karma

Revered Legend

Add following to end of your search

| where tonumber(UsePct)>=90
0 Karma
Get Updates on the Splunk Community!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...