A better attempt at autodiscovery of ES endpoint.

This one relies on knowledge of 'kibana' in the path.