Splunk Dev

Determine if a Splunk daemon is down remotely

bruceclarke
Contributor

Hi all,

Is there an easy way to poll for a Splunk daemon's status remotely from C#? The use case is that we are running searches via the SplunkSDK for C#, and we want to display an error message if any of our search peers are down.

Thanks!

Tags (3)
0 Karma
1 Solution

grijhwani
Motivator

Ideally you would use a contructor for "http://{yourserver}:8089/" or "https://{yourserver}:8089/" (depending on whether you are using SSL or not, and if not, why not?).

One of those two will respond with meaningful XML if the service is up, running, and behaving properly.

View solution in original post

grijhwani
Motivator

Ideally you would use a contructor for "http://{yourserver}:8089/" or "https://{yourserver}:8089/" (depending on whether you are using SSL or not, and if not, why not?).

One of those two will respond with meaningful XML if the service is up, running, and behaving properly.

grijhwani
Motivator

Of course it goes without saying that if you have changed altered the default port setting you have to account for it.

0 Karma

yannK
Splunk Employee
Splunk Employee

Telnet on management port 8089

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...