class_docstr: Duo base app integration. This is subclassed for the auth and admin APIs
class_docstr_tok: ["Duo","base","app","integration",".","This","is","subclassed","for","the","auth","and","admin","APIs"]
docstr: Gather the Duo log events.
docstr_tok: ["Gather","the","Duo","log","events","."]
code: def _gather_logs(self):
      """Gather the Duo log events."""
      hostname = self._config.auth["api_hostname"]
      full_url = "https://{hostname}{endpoint}".format(
          hostname=hostname, endpoint=self._endpoint()
      )
  
      return self._get_duo_logs(hostname, full_url)
  
imports: from base64 import b64encode
  from datetime import datetime
  import hashlib
  import hmac
  import re
  import urllib.request
  import urllib.parse
  import urllib.error
  import requests
  from .None import AppIntegration, StreamAlertApp, get_logger
label_desc: Use image node_id 4 for calling the DuoApp obj's underlying member method code with example usage: obj._gather_logs() and returns: self