- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
krishnani
New Member
04-20-2016
06:18 AM
Hello,
Is there any CLI command to check the peer status?
Thanks
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

somesoni2
Revered Legend
04-20-2016
10:10 AM
Try this (gives xml output with status of all search peer)
./splunk _internal call /services/search/distributed/peers
OR
./splunk search "| rest /services/search/distributed/peers | rename status as search_peer_status| table host replicationStatus search_peer_status startup_time "
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dd_msearles
Path Finder
08-11-2018
08:23 PM
Would this not be cleaner?
./splunk list search-server
Server at URI "11.22.33.44:8089" with status as "Up"
Server at URI "22.33.44.55:8089" with status as "Up"
Server at URI "33.44.55.66:8089" with status as "Up"
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

somesoni2
Revered Legend
04-20-2016
10:10 AM
Try this (gives xml output with status of all search peer)
./splunk _internal call /services/search/distributed/peers
OR
./splunk search "| rest /services/search/distributed/peers | rename status as search_peer_status| table host replicationStatus search_peer_status startup_time "
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
krishnani
New Member
04-20-2016
12:49 PM
Thanks Somesh 🙂
