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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...