Alerting

How to change thresholds depending on that day?

jwelch22
Observer

I am making custom Splunk command that looks to see if today a holiday and changes the threshold if it is. if it's a holiday, would I just use "if" command to change the threshold value.

Current python code 

# changing threshold value
if today != us_holidays:
int()
>>> "123131241".isdigit()
True

 

Labels (3)
0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...