class_docstr: SlackApp will collect 2 types of event logs: access logs and integration logs.
  
  This base class will be inherited by different subclasses based on different
  event types.
  
  Access logs:
      contain information about logins
  
  Integration logs:
      contain details about your workspace's integrated apps
class_docstr_tok: ["SlackApp","will","collect","2","types","of","event","logs",":","access","logs","and","integration","logs",".","This","base","class","will","be","inherited","by","different","subclasses","based","on","different","event","types",".","Access","logs",":","contain","information","about","logins","Integration","logs",":","contain","details","about","your","workspace","'s","integrated","apps"]
docstr: Gather log events.
  
  Returns:
      list: A list of dictionaries containing log events.
docstr_tok: ["Gather","log","events",".","Returns",":","list",":","A","list","of","dictionaries","containing","log","events","."]
code: def _gather_logs(self):
      """Gather log events.
  
      Returns:
          list: A list of dictionaries containing log events.
      """
      headers = {
          "Content-Type": "application/x-www-form-urlencoded",
          "Authorization": "Bearer {}".format(
              self._config.auth["auth_token"]
          ),
      }
  
      data = self._get_request_data()
  
      url = "{}{}".format(self._SLACK_API_BASE_URL, self._endpoint())
      success, response = self._make_post_request(
          url, headers, data, False
      )
  
      if not success:
          LOGGER.error("Received bad response from slack")
          return False
  
      if not response.get("ok"):
          LOGGER.error(
              "Received error or warning from slack: %s",
              response.get("error"),
          )
          return False
  
      self._more_to_poll = self._check_for_more_to_poll(response)
  
      results = self._filter_response_entries(response)
  
      self._last_timestamp = int(time.time())
  
      return results
  
imports: import re
  import time
  from .None import AppIntegration, StreamAlertApp, get_logger
label_desc: Use image node_id 10 for calling the SlackApp obj's underlying member method code with example usage: obj._gather_logs() and returns: results, False, False