code: def _ExtractHuntIdFromPath(entry, event):
    
    match = re.match(r".*hunt/([^/]+).*", entry.http_request_path)
    if match:
      event.urn = "aff4:/hunts/{}".format(match.group(1))
docs: Extracts a Hunt ID from an APIAuditEntry's HTTP request path.