Need a list of Forwarders that are talking to a Deployment Server? Try this:
1 |
index=_internal sourcetype=splunkd component=DC* Handshake | stats count by host |
1 |
| rest /services/deployment/server/clients splunk_server=local | table hostname applications.*.serverclasses | untable hostname, applications, serverclass | rex field=applications "applications\.(?.+)\.serverclasses" | stats dc(hostname) as hostname by apps |