update for multiple indexers

Splunk has no 'load balancing' function, so I update this code for splunk with multiple indexers.
Please merge this request if it is possible.
Thanks,