---
title: "Gateway Access Log"
url: "https://nov18-dev.movespot.fyi/apis/konnect-audit-log-settings-dev-3/versions/53c2c1ad-759f-4471-87e5-bbf9b44f4fd7/schemas/GatewayAccessLog"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-audit-log-settings-dev-3/versions/53c2c1ad-759f-4471-87e5-bbf9b44f4fd7.md

# Gateway Access Log

A gateway access log entry that captures HTTP requests made to the Kong Gateway.

## OpenAPI definition

```yaml
openapi: 3.0.2
info:
  title: Konnect Audit Log Settings
  version: 3.0.5
servers:
  - url: https://us.api.konghq.com/v3
    description: United-States Production region
  - url: https://eu.api.konghq.com/v3
    description: Europe Production region
  - url: https://au.api.konghq.com/v3
    description: Australia Production region
  - url: https://me.api.konghq.com/v3
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v3
    description: India Production region
  - url: https://sg.api.konghq.com/v3
    description: Singapore Production region
components:
  schemas:
    GatewayAccessLog:
      description: A gateway access log entry that captures HTTP requests made to the
        Kong Gateway.
      type: object
      properties:
        type:
          description: The type of audit log entry.
          type: string
          enum:
            - gateway_access
        ts:
          description: Timestamp when the request occurred.
          type: string
          format: date-time
        org_id:
          description: Organization ID.
          type: string
        principal_id:
          description: Principal ID.
          type: string
        actor_id:
          description: Actor ID.
          type: string
        client_ip:
          description: IP address of the client.
          type: string
        trace_id:
          description: Trace ID of the request.
          type: string
        user_agent:
          description: User agent making the request.
          type: string
        method:
          description: HTTP request method.
          type: string
        uri:
          description: Request URI.
          type: string
        query:
          description: Request query string.
          type: string
        status_code:
          description: HTTP response status code.
          type: integer
          format: int32
        signature:
          description: Base64 URL encoded signature of this entity.
          type: string
        portal_id:
          description: Optional Dev Portal ID.
          type: string
      example:
        type: gateway_access
        ts: 2023-03-21T09:30:22.15Z
        org_id: 6945c4c4-3e06-4c5c-87e0-726d0cda4e05
        principal_id: user_1234567890abcdef
        actor_id: user_abcdef1234567890
        client_ip: 127.0.0.1
        trace_id: "87654321"
        user_agent: Mozilla/5.0
        method: POST
        uri: /v2/gateway/services
        query: filter=active
        status_code: 201
        signature: MEYCIQCxY8zN2p4tQRs5kJhE6fL9wO3mVbN8cU7dP2qK1sT4vAIhALmN9pR6sX3wE5fT2yU8vK1cO4zP7qS9bR1aM5nF6gL
        portal_id: 6945c4c4-3e06-4c5c-87e0-726d0cda4e05
      required:
        - type
        - ts
        - org_id
        - principal_id
        - actor_id
        - client_ip
        - trace_id
        - user_agent
        - method
        - uri
        - query
        - status_code
        - signature
      title: Gateway Access Log
```
