Splunk Enterprise

check if splunk is installed on linux systems and the process name

LinkLoop
Engager

i need to run a script to check if a list of linux servers have splunk installed and the process name. any idea what the process name is or the installed directory? and if its forwarding to splunk console?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The default installation directory for Splunk Enterprise is /opt/splunk and for the Universal Forwarder it's /opt/splunkforwarder.  Both can be changed during installation so those are not 100% reliable.

The Splunk process name is 'splunkd'.

As for whether it is forwarding to Splunk, that's a bit trickier.  You could issue a splunk list forward-server command, but you'd need execute access on the splunk binary and a Splunk account.

Another option is to use the splunk btool outputs list command to see if there is a server setting.  There may be more than one, however, and zero or more may be in effect.

Consider using network tools to see if splunk has an open connection to port 9997 or 9998.  That's a good test for forwarding.

---
If this reply helps you, Karma would be appreciated.

LinkLoop
Engager

would windows systems also listen or show connected on these ports?

 

 port 9997 or 9998

0 Karma

richgalloway
SplunkTrust
SplunkTrust

They should.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...