leekari5548 commented on issue #12492: URL: https://github.com/apache/apisix/issues/12492#issuecomment-3158479258
Using the following configuration: ```yml nginx_config: http: access_log_format: "$remote_addr - $remote_user [$time_local] $http_host \"$request_line\" $status $body_bytes_sent $request_time \"$http_referer\" \"$http_user_agent\" $upstream_addr $upstream_status $upstream_response_time \"$upstream_scheme://$upstream_host$upstream_uri\" \"$apisix_request_id\" \"$request_type\" \"$llm_time_to_first_token\" \"$llm_model\" \"$llm_prompt_tokens\" \"$llm_completion_tokens\"" ``` The APISIX-3.13.0 Docker image fails to start, with the error content shown in the image: <img width="667" height="507" alt="Image" src="https://github.com/user-attachments/assets/9eb9f0a9-ecc8-4602-8f86-82108f122089" /> After commenting out access_log_format, logs are collected using the clickhouse-logger with the following configuration: ```json { "database": "default", "endpoint_addrs": [ "http://host.docker.internal:8123/" ], "format": { "args": "$args", "body_bytes_sent": "$body_bytes_sent", "bytes_sent": "$bytes_sent", "connection": "$connection", "connection_requests": "$connection_requests", "content_length": "$content_length", "content_type": "$content_type", "hostname": "$hostname", "http_authorization": "$http_authorization", "http_referer": "$http_referer", "http_user_agent": "$http_user_agent", "http_x_forwarded_for": "$http_x_forwarded_for", "http_x_real_ip": "$http_x_real_ip", "llm_completion_tokens": "$llm_completion_tokens", "llm_model": "$llm_model", "llm_prompt_tokens": "$llm_prompt_tokens", "llm_time_to_first_token": "$llm_time_to_first_token", "pid": "$pid", "proxy_protocol_addr": "$proxy_protocol_addr", "proxy_protocol_port": "$proxy_protocol_port", "remote_addr": "$remote_addr", "remote_port": "$remote_port", "remote_user": "$remote_user", "request_body": "$request_body", "request_id": "$request_id", "request_length": "$request_length", "request_method": "$request_method", "request_time": "$request_time", "request_uri": "$request_uri", "sent_http_content_length": "$sent_http_content_length", "sent_http_content_type": "$sent_http_content_type", "sent_http_location": "$sent_http_location", "sent_http_server": "$sent_http_server", "server_protocol": "$server_protocol", "status": "$status", "time_iso8601": "$time_iso8601" }, "logtable": "apisix_logs", "password": "123456", "user": "default" } ``` There is no LLM-related data in ClickHouse. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org