def _headers(skey):
    """Returns the auth header for Splunk."""
    return {
        'Authorization': 'Splunk {0}'.format(skey),
        'Content-Type': 'application/json',
        'Accept': 'application/json',
    }