Using the Splunk forwarder service

You can enable and perform other actions for the Splunk forwarder service from the Standalone Sentry command line interface (CLI).

The following table lists the commands.

Table 76.   Splunk forwarder service CLI commands in Standalone Sentry

Action

Command

Mode

Enable the Splunk forwarder service

service splunk-forwarder enable

CONFIG

Disable the Splunk forwarder service

no service splunk-forwarder

CONFIG

Start Splunk forwarder service

service splunk-forwarder start

EXEC PRIVILIGED

Stop Splunk forwarder service

service splunk-forwarder stop

EXEC PRIVILIGED

Status of the Splunk forwarder service

service splunk-forwarder status

EXEC PRIVILIGED

Restart the Splunk forwarder service

service splunk-forwarder restart

EXEC PRIVILIGED

Verify if the service is enabled or disabled

show service

EXEC