hahait opened a new issue, #12115:
URL: https://github.com/apache/apisix/issues/12115

   ### Current State
   apisix version: 3.10.0
   
   In the official documentation, "match" is array, But in the example, "match" 
turns out to be an object !!!!
   
   1. Set this parameter in the plug-in file-logger:
   
   ```
   "match": [
        ["arg_name", "==", "jack"]
     ],
   ```
   
   ERROR: failed to run log_by_lua*: 
/usr/local/apisix/apisix/utils/log-util.lua:243: attempt to index local 'expr' 
(a nil value)
   
   2. Using the example in the official documentation, the following error is 
reported through the api:
   ```
   "match": {
           {
             { "arg_name","==","jack" }
           }
         }
   ```
   ERROR: Expected object key string but found T_OBJ_BEGIN at character 118
   
   ### Desired State
   
   Provide a validated working example


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