Dashboards & Visualizations

http://localhost/en-US/debug/refresh from terminal/console

czarny
Engager

I want to put script that run URL http://localhost/en-US/debug/refresh in crontab to run periodically. Do you have any idea how to do that?
Maybe there is another way to do that? E.g. using splunk _internal call? I want to refresh all things like debug/refresh.

Tags (3)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi czarny,

check out this app https://apps.splunk.com/app/1871/ it will provide a custom command called refresh which will do exactly the same as calling the URI /en-US/debug/refresh

hope this helps ...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi czarny,

check out this app https://apps.splunk.com/app/1871/ it will provide a custom command called refresh which will do exactly the same as calling the URI /en-US/debug/refresh

hope this helps ...

cheers, MuS

MuS
SplunkTrust
SplunkTrust

Update:

there will be soon an update to the app released which works on Splunk 7.1.x. It also features the option to only reload one specific entity.

Link to the app: https://splunkbase.splunk.com/app/1871/#/details

cheers, MuS

0 Karma

MuS
SplunkTrust
SplunkTrust

Update available here https://splunkbase.splunk.com/app/1871/

cheers, MuS

0 Karma

czarny
Engager

Cool! Thank you for help. It's working.

0 Karma

00766764
New Member

Hi. I installed the app. I am not able to get to the desired result. How do i use it?
./splunk _internal call refresh or ./splunk refresh or some other way.
Both the ways i mentioned above are not working.
please help.

0 Karma

MuS
SplunkTrust
SplunkTrust

The app clearly states the following:
Provides a custom search command refresh which reloads Splunk Configurations

So either you login in to the Splunk UI and enter | refresh in the search bar or use the CLI to run it like this $SPLUNK_HOME/bin/splunk search "| refresh"

Hope that helps ...

0 Karma

MuS
SplunkTrust
SplunkTrust

Hi czarny,

Hold on a few more days. I'm in the process to write an App to address this.

cheers, MuS

0 Karma

bckq
Path Finder

Ok. I am looking for you forward then. : )

Thank you!

0 Karma

MuS
SplunkTrust
SplunkTrust

got it working, cleaning up the code now 😉

0 Karma
Get Updates on the Splunk Community!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...