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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...