You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/30 01:30:16 UTC

[GitHub] [apisix] jinnyu commented on issue #7352: bug: Unable to configure the format of `http-logger`

jinnyu commented on issue #7352:
URL: https://github.com/apache/apisix/issues/7352#issuecomment-1170652988

   ```
   curl --location --request PUT 'http://a6:9080/apisix/admin/plugin_metadata/http-logger' \
   --header 'X-API-KEY: 123456789' \
   --header 'Content-Type: application/json' \
   --data-raw '{
       "log_format": {
           "streams": {
               "stream": {
                   "host": "$host"
               }
           }
       }
   }'
   ```
   
   I want to send content in json format
   Should I escape all characters?


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