Hi Splunkers,
I am currently working on creating custom alerts with JavaScript and am encountering issues with finding proper documentation. I reviewed some posts in the Splunk community that included documentation links, but many of those links are expired or removed. Could someone provide me with the current documentation links for creating custom alerts with JavaScript? Specifically, I am working with parameters like:
'action.email.sendresults': 1,
'action.email.message.alert': 'xxxxx',
'action.email.to': email,
'action.logevent.param.event': '{"session_id": $result.session_id$, "user": $result.user_name$}',
'action.logevent.param.index': index,
'alert.digest_mode': 0,
'alert.suppress': 1,
Thanks,
Sanjai
The parameters are documented in the Admin Manual and in $SPLUNK_HOME/etc/system/README/savedsearches.conf.spec.
Splunk's JavaScript SDK is documented at dev.splunk.com