Getting Data In

./splunk disable app SplunkUniversalForwarder --> How does this work?

sarnagar
Contributor

Hi All,

I have Splunk universal forwarder installed on my hosts. I want to disable this host from sending any data to the indexer and I do not want it to respond to any of the scheduled searches or alerts. How do I get this done? Kindly help.

Also what does the below command do?
./splunk disable app SplunkUniversalForwarder

0 Karma

grijhwani
Motivator

That depends on what platform you are running on. (You don't specify.)

On a *ix (e.g. Linux) it is as simple as disabling the service and then stopping id.

sudo /etc/init.d/splunk stop
sudo ~splunk/bin/splunk disable boot-start

I imagine on Windows it is similar (stop the service, with the Windows interface, then get Splunk to do the boot-start disable).

0 Karma

andrewpappas
Engager

Should be:
sudo ~splunk/bin/splunk disable boot-start

grijhwani
Motivator

Indeed it should - duly corrected.

0 Karma
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, ...