def get_splunkweb_url(path):
    splunkweb_mount = ""
    if settings.SPLUNK_WEB_MOUNT:
        splunkweb_mount = "%s/" % settings.SPLUNK_WEB_MOUNT
        
    return "%s://%s:%s/%s%s" % (settings.SPLUNK_WEB_SCHEME, settings.SPLUNK_WEB_HOST, settings.SPLUNK_WEB_PORT, splunkweb_mount, path)
dataset/ETHPy150Open splunk/splunk-webframework/server/splunkdj/auth/backends.py/get_splunkweb_url/original