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