I am also interested to know if this will work on an Splunk Enterprise Indexer. I am currently working in deploying Splunk Enterprise Hyper-V VMs and have run into an issue with the Monitoring Console. When attempting to look at "Instance" specific resource usage all of the data fields are empty. It appears the instance is still showing from the original installation. I have updated the OS Host name and the Splunk server name through the gui and also manually checked/updated in the server.conf and one or two other .conf files (I can't remember off hand).
I will try running this script tomorrow when back in the office and see if it updates the "instance" on the Monitoring Console.
I'll update my finding tomorrow.
Anyone with any insight on this please chime in!!
Thanks, Ken
... View more