본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Kong Splunk 로그 플러그인 설정 레퍼런스

원문 보기 위키 갱신

Kong Splunk 로그 플러그인 설정 레퍼런스 (Kong Splunk Log Plugin Configuration Reference)

이 문서는 Kong Splunk Log 플러그인의 설정 파라미터를 한눈에 정리한 레퍼런스예요. Splunk 엔드포인트와 액세스 토큰, 큐 크기, 재시도 횟수 같은 주요 설정 항목과 기본값을 확인할 수 있어요. 플러그인을 특정 서비스나 라우트에 적용하는 방법도 함께 살펴볼 수 있어요.

출처: 문서

본문

{
  "properties": {
    "config": {
      "properties": {
        "content_type": {
          "default": "application/json",
          "description": "Defines the Content-Type header to send to Splunk",
          "type": "string"
        },
        "flush_timeout": {
          "default": 30,
          "description": "The time taken in seconds before flushing a queue of transactions to splunk that has not reached its max `queue_size`",
          "type": "number"
        },
        "keepalive": {
          "default": 60000,
          "description": "The amount of time to keep plugin connections with Splunk active",
          "type": "number"
        },
        "method": {
          "default": "POST",
          "description": "HTTP Method to send to Splunk",
          "type": "string"
        },
        "queue_size": {
          "default": 20,
          "description": "The max number of event logs the plugin may send in a single request",
          "type": "number"
        },
        "retry_count": {
          "default": 5,
          "description": "The number of attempts to retry logging an event on splunk connection errors",
          "type": "number"
        },
        "splunk_access_token": {
          "description": "Passes required Splunk header `Authorization Splunk:`\n`aaaaaaaa-bbbb-cccc-dddd-ffffffffffff`",
          "type": "string"
        },
        "splunk_endpoint": {
          "description": "Splunk HTTP Event Collector(HEC) Endpoint",
          "type": "string"
        },
        "timeout": {
          "default": 10000,
          "description": "The amount of time to wait on a Splunk transaction before timing out",
          "type": "number"
        }
      },
      "required": [],
      "type": "object"
    },
    "route": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "service": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    }
  },
  "required": []
}

더 알아보기 (Learn more)

이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.