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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...