I am required to build a search which will show the uptime of all my Splunk components over a period of one month.
Also I am required to build a search for the host reporting to Splunk
The /services/server/info REST endpoint has a startup_time field, call that periodically for every splunk component and index it. Then you can build any report you like off that data, over any time range.