How we can enable from Splunk?
We already created script and follow the instructions as per the document But we are not sure how we can enable to send traps from Splunk Side.
You have to create an alert and configure the alert to call the script. This is also covered in the topic I posted.