Versions in this module Expand all Collapse all v1 v1.7.0 Aug 7, 2023 Changes in this version + func CreateAlert(client *splunk.SplunkClient, spAlert *AlertRequest) error + func DeleteAlert(client *splunk.SplunkClient, spAlert *AlertRequest) (*http.Response, error) + func GetAlerts(client *splunk.SplunkClient) (*http.Response, error) + func HttpAlertRequest(client *splunk.SplunkClient, method string, spAlert *AlertRequest) (*http.Response, error) + func ListAlertsNames(client *splunk.SplunkClient) (splunkAlertList, error) + func PostAlert(client *splunk.SplunkClient, spAlert *AlertRequest) (*http.Response, error) + func RemoveAlert(client *splunk.SplunkClient, alertName string) error + type AlertParams struct + Actions string + AlertCondition string + AlertSuppress string + AlertSuppressPeriod string + CronSchedule string + Description string + EarliestTime string + LatestTime string + Name string + OutputMode string + SearchQuery string + WebhookUrl string + type AlertRequest struct + Headers map[string]string + Params AlertParams + type Content struct + SavedSearchName string + Sid string + TriggerTime int + TriggeredAlertCount int + type EntryItem struct + Content Content + Links Links + Name string + type Links struct + Alternate string + Job string + List string + Remove string + SavedSearch string + type TriggeredAlerts struct + Entry []EntryItem + Origin string + Updated string + func GetTriggeredAlerts(client *splunk.SplunkClient) (TriggeredAlerts, error) + type TriggeredInstances struct + Entry []EntryItem + Origin string + Updated string + func GetInstancesOfTriggeredAlert(client *splunk.SplunkClient, link string) (TriggeredInstances, error)