def _logstash(url, data):
 result = salt.utils.http.query(url, 'POST', header_dict=_HEADERS, data=json.dumps(data), decode=True, status=True, opts=__opts__)
 return result

def _logstash ( url , data ) : result = salt . utils . http . query ( url , 'POST' , header_dict = _HEADERS , data = json . dumps ( data ) , decode = True , status = True , opts = __opts__ ) return result
issues http queries to the logstash server .