You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kayx23 (via GitHub)" <gi...@apache.org> on 2023/05/19 12:47:24 UTC

[GitHub] [apisix] kayx23 commented on issue #9284: docs: populate default `log_format` for logging plugins

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org