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!

Unlock New Opportunities with Splunk Education: Explore Our Latest Courses!

At Splunk Education, we’re dedicated to providing top-tier learning experiences that cater to every skill ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...