Dashboards & Visualizations

How to perform debug/refresh for a single specific app instead of refreshing the entire splunk instance ?

amitambure
Explorer

How to perform debug/refresh for a single specific app instead of refreshing the entire splunk instance ??

Tags (3)

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @amitambure,

You can refresh particular entity by passing entity name. like

http://SPLUNK_SERVER/en-GB/debug/refresh?entity=admin/lookups
http://SPLUNK_SERVER//en-GB/debug/refresh?entity=data/ui/views

Thanks

amitambure
Explorer

Hi @kamlesh_vaghela,

How will you differentiate the apps here ? I need to refresh the entities of specific app.

Thanks

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @amitambure,
I'm not sure about app level entity bcoz debug\refresh forces a refresh on splunkd resources ( all registered EAI handlers). If you have specific type of changes like dashboard XML files, Navigation XML File OR configuration File I suggest to use entities. Entities can be specified by appending them via URI parameters (As I posted previous comment).

Thanks

0 Karma

maciep
Champion

haven't tried it yet, but I had a similar request today and someone suggested hitting this on the management port

https://<your_server>:8089/services/apps/local/<your_app>?refresh=true
0 Karma

amitambure
Explorer

Hi @maciep,

Am not sure but it is giving me page not found.

Thanks

0 Karma

maciep
Champion

just to verify, are you hitting the management port? Typically, that's 8089.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Great.

So Is it working for you? If yes. Then post your solution as a answer and accept it to help community.

0 Karma
Get Updates on the Splunk Community!

Splunk Education - Fast Start Program!

Welcome to Splunk Education! Splunk training programs are designed to enable you to get started quickly and ...

Five Subtly Different Ways of Adding Manual Instrumentation in Java

You can find the code of this example on GitHub here. Please feel free to star the repository to keep in ...

New Splunk APM Enhancements Help Troubleshoot Your MySQL and NoSQL Databases Faster

Splunk Observability has two new enhancements to make it quicker and easier to troubleshoot slow or frequently ...