Nginx logformat json 구조로 남기기
nginx 로그를 카프카로 전송에 용이하게 로그를 json 구조로 남길 필요가 있었다. json 구조로 남기는 부분을 기록한다. nginx에서 지원하는 변수 리스트 http://nginx.org/en/docs/varindex.html Alphabetical index of variables nginx.org nginx 로그 sample http://nginx.org/en/docs/http/ngx_http_log_module.html#log_format Module ngx_http_log_module Module ngx_http_log_module The ngx_http_log_module module writes request logs in the specified format. Requests are ..
IT/Server
2023. 2. 3. 10:39