Splunk Search

How can I verify if the boot-start is already enabled?

pradeepkumarg
Influencer

How can I verify if the boot-start is already enabled for a machine without restarting the machine?

Tags (1)
1 Solution

lukejadamec
Super Champion

On Windows check the services for splunkd and see that it is set to Automatic.

On Unix, check the splunkd service configuration. If you can't find it, let me know and I'll look.

View solution in original post

bmunson_splunk
Splunk Employee
Splunk Employee

This command will check both init-d and systemd on unix. Without the sudo should work on windows.

sudo ./splunk display boot-start

 

Tags (1)
0 Karma

lukejadamec
Super Champion

On Windows check the services for splunkd and see that it is set to Automatic.

On Unix, check the splunkd service configuration. If you can't find it, let me know and I'll look.

lukejadamec
Super Champion

Check /etc/rc.d/rc3.d for a Sxxsplunk link.
In unix, the 'S' stands for start, followed by an order number, followed by the service name. This folder contains links to the actual service control file. So if you want to remove the auto start feature you delete the link, not the control file. To enable autostart then create the link from this folder.

0 Karma

pradeepkumarg
Influencer

I want to check on UNIX, can you please give more details on how I can verify?

Get Updates on the Splunk Community!

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...