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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...