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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

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

Wondering How to Build Resiliency in the Cloud?

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