child2d commented on issue #9852:
URL: https://github.com/apache/apisix/issues/9852#issuecomment-1637807534

   - this is without log_format
   ```json
   {
     "server": {
       "version": "3.1.0",
       "hostname": "apisix"
     },
     "request": {
       "method": "GET",
       "querystring": {},
       "size": 2333,
       "headers": {
         "connection": "keep-alive",
         "x-api-key": "",
         "sec-fetch-mode": "cors",
         "accept": "*\/*",
         "x-forwarded-for": "",
         "sec-fetch-site": "same-site",
         "origin": "xx",
         "x-scheme": "https",
         "authorization": "xx",
         "x-real-ip": "xx"
       },
       "uri": "xx",
       "url": "xx"
     },
     "route_id": "xx",
     "latency": 388.00001144409,
     "upstream": "xx",
     "service_id": "",
     "upstream_latency": 9,
     "response": {
       "status": 200,
       "headers": {
         "connection": "close",
         "access-control-allow-methods": 
"GET,POST,PUT,DELETE,PATCH,HEAD,OPTIONS,CONNECT,TRACE",
         "access-control-allow-origin": "",
         "date": "Mon, 17 Jul 2023 10:05:51 GMT",
         "content-type": "application\/json; charset=utf-8",
         "vary": "Origin",
         "access-control-max-age": "5",
         "access-control-expose-headers": "Content-Disposition",
         "access-control-allow-credentials": "true",
         "content-length": "126",
         "server": "APISIX\/3.1.0"
       },
       "body": "xx",
       "size": 571
     },
     "apisix_latency": 379.00001144409,
     "start_time": 1689588351236,
     "client_ip": "xx"
   }
   ```
   
   - this is with log_format
   ```json
   // It just records this few info
   {
     "@timestamp": "2023-07-17T03:53:12+00:00"
   }
   ```


-- 
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

Reply via email to