Nginx 로그
Nginx 로그를 Panther Console에 연결하기
마지막 업데이트
도움이 되었나요?
도움이 되었나요?
schema: Nginx.Access
parser:
fastmatch:
match:
- '%{remoteAddr} - %{remoteUser} [%{time}] "%{request}" %{status} %{bodyBytesSent} "%{httpReferer}" "%{httpUserAgent}"'
emptyValues:
- '-'
description: Nginx 서버의 액세스 로그입니다. 현재 Nginx의 'combined' 형식을 지원합니다.
referenceURL: https://nginx.org/en/docs/http/ngx_http_log_module.html#log_format
fields:
- name: remoteAddr
description: 서버에 요청을 보낸 클라이언트(원격 호스트)의 IP 주소입니다.
type: string
indicators:
- ip
- name: remoteUser
description: 요청을 보낸 사람의 사용자 ID입니다. 일반적으로 .htaccess에서 인증을 요청하지 않는 한 비어 있습니다.
type: string
indicators:
- username
- 이름: time
required: true
description: 요청이 수신된 시간(UTC)입니다.
type: timestamp
timeFormats:
- '%d/%b/%Y:%H:%M:%S %z'
isEventTime: true
- name: request
description: 클라이언트로부터의 요청 줄입니다. HTTP 메서드, 요청된 리소스, HTTP 프로토콜이 포함됩니다.
type: string
- 이름: status
description: 클라이언트에게 반환된 HTTP 상태 코드입니다.
type: smallint
- name: bodyBytesSent
description: 클라이언트에게 반환된 객체의 크기이며, 바이트 단위로 측정됩니다.
type: bigint
- name: httpReferer
description: HTTP 리퍼러가 있는 경우입니다.
type: string
- name: httpUserAgent
description: 요청을 할 때 사용자가 사용한 에이전트입니다.
type: stringschema: Nginx.Error
parser:
fastmatch:
match:
- '%{time} [%{severity}] %{pid}#%{tid}: *%{message}'
emptyValues:
- '-'
description: Nginx 서버의 오류 로그입니다.
referenceURL: https://nginx.org/en/docs/http/ngx_http_log_module.html#log_format
fields:
- 이름: time
required: true
description: 오류가 발생한 시간(UTC)입니다.
type: timestamp
timeFormats:
- '%Y/%m/%d %H:%M:%S'
isEventTime: true
- name: severity
required: true
description: 오류의 심각도 수준입니다.
type: string
- name: pid
description: Nginx 서버의 프로세스 ID입니다.
type: bigint
- name: tid
description: Nginx 서버의 스레드 ID입니다.
type: bigint
- name: message
required: true
description: 오류 메시지입니다.
type: string