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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...