Deployment Architecture

Hosts per deployment server

shpot
New Member

Splunk Cloud customer. Is there a REST command to list hosts (deployment clients) per deployment server without actually being on the deployment server itself?

0 Karma
1 Solution

woodcock
Esteemed Legend

Don't do it with rest, have the DS forward its logs to the Indexer tier and then do a search like this:

index=_internal phone*home* | stats dc(host) values(host)

View solution in original post

0 Karma

woodcock
Esteemed Legend

Don't do it with rest, have the DS forward its logs to the Indexer tier and then do a search like this:

index=_internal phone*home* | stats dc(host) values(host)
0 Karma

shpot
New Member

Thanks so much! I'll do this, it's perfect!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

From looking at the docs (https://docs.splunk.com/Documentation/Splunk/7.2.3/RESTREF/RESTdeploy#deployment.2Fserver.2Fclients), it looks like https://<deployment server>:<mgmt port>/services/deployment/server/clients is what you need.

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

somesoni2
SplunkTrust
SplunkTrust

Do you want to run the REST command (from search bar) from a search head to list the deployment clients? If yes, then it's only possible if your current search head has that deployment server as search peer. That way when you run the rest command.

You may also run search query on internal logs of the deployment server to find deployment client phonehome events.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...