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!

Detecting Remote Code Executions With the Splunk Threat Research Team

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

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...