- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SS1
Path Finder
06-17-2021
04:03 PM
Hi,
We can disable the alert via command line with below command, but this doesnt work if the alert name has spaces in it.
curl -k -u admin https://<host>:<mgmt_port>/servicesNS/<user_context>/<app_context>/saved/searches/<search>/disable -X POST
I have a splunk alert Application Down Alert (Alert name has spaces in it)
How do i disable this alert via commandline.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
06-17-2021
04:48 PM
Assuming you've already tried putting quotation marks around the URL, try urlencoding it by replacing the spaces with %20
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SS1
Path Finder
06-17-2021
07:31 PM
Thanks @richgalloway %20 worked fine for me.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
06-17-2021
04:48 PM
Assuming you've already tried putting quotation marks around the URL, try urlencoding it by replacing the spaces with %20
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
