Splunk Dev

Is there a way to speed up Splunk restarts in a development environment?

danielteachesit
New Member

All, 

I am working on a App with some custom command and it requires me to start a bit. Is there a way to speed up the restarts? Right now it's about 45 seconds. (8 core, 64gig, m2) with latest Splunk Container. 

 

Right now I have shell into the Enterprise container and I just sudo restart the splunk bin. 

Maybe? ...

- Maybe remove some apps? If so which are safe to remove that are packaged with Splunk without causing issues? 
- Can I get rid of the splunk web login and log directly in as admin? 

 

Any ideas? 

thanks!

-Daniel

 

Labels (2)
Tags (3)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @danielteachesit,

You can use -f option to restart faster. This option forces restart without gracefully closing files, connections, etc. If you are in a dev environment and do not care about data indexing.

./splunk restart -f
If this reply helps you an upvote and "Accept as Solution" is appreciated.
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...