Deployment Architecture

How to retrieve host names from forwarder management

kavyamohan
Explorer

I have two host names under clients in Forwarder management. I need to export these host names to a excel or csv so that i can use it in a search. Is that possible?

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi kavyamohan,
you can use something like

| REST /services/deployment/server/clients 

You can find fore info at https://docs.splunk.com/Documentation/Splunk/6.1.2/RESTAPI/RESTdeploy#deployment.2Fserver.2Fclient

Anyway, you could have the host list also searching in _internal

| metasearch index=_internal
| dedup host
| sort host
| table host

Ciao.
Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi kavyamohan,
you can use something like

| REST /services/deployment/server/clients 

You can find fore info at https://docs.splunk.com/Documentation/Splunk/6.1.2/RESTAPI/RESTdeploy#deployment.2Fserver.2Fclient

Anyway, you could have the host list also searching in _internal

| metasearch index=_internal
| dedup host
| sort host
| table host

Ciao.
Giuseppe

kavyamohan
Explorer

Yes thank you so much. It worked. I am able to get the list.

0 Karma

gcusello
SplunkTrust
SplunkTrust

You're welcome.
Ciao and next time.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...