Envoy 로그
Envoy 로그를 HTTPS를 통해 Panther로 직접 스트리밍
마지막 업데이트
도움이 되었나요?
도움이 되었나요?
admin:
access_log_path: "access.log" access_log:
- name: envoy.access_loggers.file
typed_config:
"@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
path: "access.log"[SERVICE]
Flush 1
[INPUT]
Name tail
# 이 경로는 envoy.yml 구성에 따라 다릅니다
경로 /var/log/envoy/access.log
파서 envoy
[OUTPUT]
Name http
Match *
호스트 logs.pre-alpha.runpanther.net
Port 443
URI /http/6897ec53-9c4c-4fc7-a8c8-faf7b29571de
# x-sender-header 이름이 헤더 이름과 일치하는지 확인하세요
# Panther에서 HTTP 소스를 만들 때 제공한
Header x-sender-header {YOUR_SECRET_HERE}
Format json_lines
TLS On
TLS.Verify On스키마: Envoy.Access
설명: FluentBit을 사용한 HTTP 기반 Envoy 액세스 로그
필드:
- 이름: start_time
설명: 요청 시작 시간.
유형: timestamp
시간 형식:
- rfc3339
이벤트 시간 여부: true
- 이름: method
설명: GET, POST 등과 같은 HTTP 요청 메서드.
유형: string
- 이름: path
설명: 요청의 URI 경로.
유형: string
- 이름: protocol
설명: HTTP 프로토콜 버전.
유형: string
- 이름: code
설명: 응답의 HTTP 상태 코드.
유형: string
- 이름: response_flags
설명: 응답과 관련된 추가 플래그.
유형: string
- 이름: bytes_received
설명: 클라이언트로부터 수신된 바이트 수.
유형: string
- 이름: bytes_sent
설명: 클라이언트로 전송된 바이트 수.
유형: string
- 이름: duration
설명: 요청의 총 소요 시간.
유형: string
- 이름: x_envoy_upstream_service_time
설명: 업스트림 서비스에서 소요된 시간.
유형: string
- 이름: x_forwarded_for
설명: X-Forwarded-For 헤더(있는 경우).
유형: string
- 이름: user_agent
설명: 요청 헤더의 User-Agent 문자열.
유형: string
- 이름: request_id
설명: 요청 ID 헤더 값.
유형: string
- 이름: authority
설명: authority 헤더 값.
유형: string
- 이름: upstream_host
설명: 요청에 대해 선택된 업스트림 호스트.
유형: string