All Apps and Add-ons

| refresh entity=savedsearch not working (Add-on Debug Refresh)



Thanks for you app first - great stuff 🙂

I am running
| refresh entity=savedsearch
but I am getting
External search command 'refresh' returned error code 1. . any ideas would be great thanks 🙂


0 Karma


Hi robertlynch2020,

enable debugging like in the documentation written:


If needed you can enabled debugging to splunkd.log in the script by
setting myDebug='yes' on line 6

If this does not provide any useful message, try running the script from the CLI like this:

$SPLUNK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/TA-debug-refresh/bin/

Hope this helps ...

cheers, MuS

0 Karma



Looks like I'm not good in error capturing, the endpoint actually reloads - you can see it in the debug logs. But something after the reload makes the script think there was an error .... oh well debugging time ¯\_(ツ)_/¯

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...