Code for Splunk .Conf 2013 - Managing Search Heads with REST