...And the alert runs every 2 minutes. The loggerexample implements a customalertaction that does the following: Creates a path to a log file when the alert first fires. Writes log m...
...nd -------------------" ) if __name__ == '__main__' : main() Login to splunk I get, the Add to Triggered Alerts trigger is triggered. But the .py file itself does not run. Checked through ".../splunk.exe c...
I wrote a Python 3.7.3 script to interact with our paging system's web api. It takes three parameters from the alert's html UI: To, From, and Message. Inspecting the Job for the alert, I can see t...
Hello,
We created a customalertaction as per documentation and try to trigger it.
We get the following errors:
2/19/20
4:01:42.547 PM
02-19-2020 16:01:42.547 +0100 ERROR S...
I have created a customalertaction loosely based on the Webhooks example. I have created all the configuration files based on my best understanding of the process outlined in the docs. The action...
Hi,
Currently I am creating a CustomAlertaction script as per documentation http://docs.splunk.com/Documentation/Splunk/6.5.2/AdvancedDev/CustomAlertScript but I would like to create Shell s...
I'm working with customalertactions. I've taken most of my example from this example. It basically takes the xml written to stdin and writes it to a log. This works fine. I've added a UI e...
Hi,
I am looking to chain a couple of customalertactions. A use case is monitoring a node that is down.
When down, alertaction #1 is triggered and pings the node as verification.
If t...
I want to create a customalertaction that when the alert fires, it takes the host from the search results, and uses it is a token to remotely restart a host. I can get the REST URL right, but how d...
how do I pass my search output results to a customalertaction script(test.py) which has some static parameters ? for ex. I have a statistics table which has two columns Hosts and Count.. I want t...