nic-6443 commented on code in PR #12994:
URL: https://github.com/apache/apisix/pull/12994#discussion_r2791781788


##########
apisix/plugins/elasticsearch-logger.lua:
##########
@@ -62,8 +63,20 @@ local schema = {
                     type = "string",
                     minLength = 1
                 },
+                header_name = {
+                    type = "string",
+                    minLength = 1
+                },
+                header_value = {
+                    type = "string",
+                    minLength = 1
+                }

Review Comment:
   I suggest using the key-value form directly, as this can support the needs 
for custom request headers in more scenarios.



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