kayx23 commented on issue #9284:
URL: https://github.com/apache/apisix/issues/9284#issuecomment-1554521595

   > Hey @kayx23 , do I have to put `{"host": "$host", "@timestamp": 
"$time_iso8601", "client_ip": "$remote_addr"}` in the `Default` field of 
`log_format`
   > 
   > Did I get it right?
   
   That's correct. So far a lot of (if not most?) plugin docs with `log_format` 
do not provide a default value. 
   
   The default value should be `{"host": "$host", "@timestamp": 
"$time_iso8601", "client_ip": "$remote_addr"}`, as seen in [my comment 
above](https://github.com/apache/apisix/issues/9284#issuecomment-1502611367)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to