Deployment Architecture

How to identify Splunk Instance role by internal logs?

swe
Path Finder

Hi there,

prologue:
in my clustered environment i have a search head which is dedicated to a special user group and should serve a very simple dashboard view for system status overview (just some icons like "Indexers OK" " Search Heads Not OK" 🙂 ). It is connected to the indexer cluster which has all the internal data from every connected Splunk environment. The MC (Monitoring Console) is not configured on it.

question:
i assume all the necessary data is in the _* indexes like _internal. How do i identify the "system role" within this data?

I can identify forwarders with "index=_internal source=*metrics.log group=tcpin_connections..." but how about other "roles"?

Any ideas are very welcome.

thanks,
swe

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check out the "Inherit a Splunk Enterprise Deployment" manual (http://docs.splunk.com/Documentation/Splunk/6.6.0/InheritedDeployment/Introduction).

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

adonio
Ultra Champion

link doesnt work for me

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Clicking on the link doesn't work for me, either, but copy-and-paste into a new browser tab worked. Odd.

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

koshyk
Super Champion

Easiest way is to setup DMC in any of the system. If not, setup in your local laptop and you can get all the queries for DMC

0 Karma

adonio
Ultra Champion

enjoy
| rest/services/server/info | table host server_roles
btw, what do you want to be reported on when you say Indexer "OK" ?

0 Karma

swe
Path Finder

hi, thanks. ill check that. 🙂

ok would be something like last know log entry is younger than 1 minute, or so 🙂

0 Karma

adonio
Ultra Champion

take the hosts from the search above and create a search:
index= _internal host =1 or host=2 ... or host=n | timechart span=5m count by host
this will tell you how many events are indexed every 5 minutes by your splunk instances.
save as an alert if count = 0

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...