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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...