I am running the below query, I get responses from some of my Splunk servers but not all ?
| rest /services/server/info | eval LastStartupTime=strftime(startuptime, "%Y/%m/%d %H:%M:%S")
| eval timenow=now()
| eval daysup = round((timenow - startuptime) / 86400,0)
| eval Uptime = tostring(daysup) + " Days"
| table splunk_server LastStartupTime Uptime
Is there anything I am missing on the servers that are not reporting back ?
rest command is only sent to indexers so only those servers will respond. You will not get any data about search heads and other non-indexer instances.