Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Why does checking the status of a forwarder make the forwarder stop running?

$
0
0
Hello, I have multiple Splunk forwarders in my setup. I am writing a script in which I need to check if Splunk forwarders are up and running. I am executing this script from a remote machine but I am getting unexpected behavior. Like sometimes checking the status stops the Splunk Forwarder. Example: bash$ ./splunkforwarder2/bin/splunk status splunkd is running (PID: 20365). bash$ ./splunkforwarder2/bin/splunk status splunkd 11412 was not running. Stopping splunk helpers... [ OK ] Done. Stopped helpers. Removing stale pid file... done. Is there any alternate way in which I can find out what specific forwarder is up and running? Regards, Ankit

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>