Alerting

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

majilan1
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.

Thanks!

Labels (1)
0 Karma

somesoni2
Revered Legend

Add following to end of your search

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

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...