UDP Log 정책 구성 참조
UDP Log 정책 구성 참조 (UDP Log Policy Configuration Reference)
이 문서는 UDP Log 정책의 구성 스키마를 JSON 형태로 정리한 참조 자료예요. host와 port는 필수 항목이고, timeout과 custom_fields_by_lua는 선택적으로 설정할 수 있어요. 각 필드의 데이터 타입, 기본값, 허용 범위까지 한눈에 확인할 수 있도록 구성되어 있답니다
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "A string representing a host name, such as example.com."
},
"port": {
"type": "integer",
"maximum": 65535,
"minimum": 0,
"description": "An integer representing a port number between 0 and 65535, inclusive."
},
"timeout": {
"type": "number",
"description": "An optional timeout in milliseconds when sending data to the upstream server.",
"default": 10000
},
"custom_fields_by_lua": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Lua code as a key-value map"
}
},
"required": [
"host",
"port"
]
}
}
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.