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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...