All Apps and Add-ons

Not so much a question as a suggestion

cmeo
Contributor

I wasn't able to get Incident Setting to display any alerts after setting the script to alert_handler.py, and had a look at the search.

What you're doing is this:

| rest /servicesNS/nobody/$app$/saved/searches/.. [snip]

Why not do this instead? Gets you out of having to worry about app context and owner altogether... not all alerts are owned by 'nobody'. For instance, in SA-nix, they're owned by admin (on my installation anyway)

| rest /servicesNS/-/-/saved/searches/ ... [snip]

Just a thought

cmeo

0 Karma

Simon
Contributor

Hi cmeo

Thanks a lot for your suggestion. Honestly, I haven't been aware it was possible to run a rest call without adding an app or user.
The enhancement has been committed and will be released soon, together with the 2.0 release.

Thanks
Simon

my2ndhead
SplunkTrust
SplunkTrust

Thanks for the suggestion. Will be fixed in the upcoming release.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...