Hello, I have apisix and opensearch deployed on the kubernetes cluster. I am able to export apisix access logs to opensearch through elasticsearch-logger plugin by creating an apisixglobalrule with the plugin. but I am not able to export the error logs generated by coraza plugin when it detects a security rule violation. I need these coraza error logs along with access logs to create dashboards in opensearch. When I explored the documentation, I found that only access logs can be exported using elasticsearch-logger plugin but not error logs. is there a way to export coraza error logs by creating custom nginx variables that map to coraza plugin metadata ? or any other way ?
Hello, I have apisix and opensearch deployed on the kubernetes cluster. I am able to export apisix access logs to opensearch through elasticsearch-logger plugin by creating an apisixglobalrule with the plugin. but I am not able to export the error logs generated by coraza plugin when it detects a security rule violation. I need these coraza error logs along with access logs to create dashboards in opensearch. When I explored the documentation, I found that only access logs can be exported using elasticsearch-logger plugin but not error logs. is there a way to export coraza error logs by creating custom nginx variables that map to coraza plugin metadata ? or any other way ?