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!

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more with ITSI’s ...

Accelerate Service Onboarding, Decomposition, Troubleshooting - and more! Faster Time to ValueManaging and ...

New Release | Splunk Enterprise 9.3

Hi Splunky people! We are excited to share the newest updates in Splunk Enterprise 9.3!Admins and Analyst can ...

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...