error-log-logger
This plugin will provide the ability to send the log data which selected by the level to Monitoring tools and other TCP servers, and SkyWalking over HTTP.
This plugin provides the ability as a batch to push the log data to your external TCP servers or monitoring tools. If not receive the log data, don’t worry, it will automatically send the logs after the timer function expires in our Batch Processor.
For more info on Batch-Processor in Apache APISIX please refer.
Attributes
The error-log-logger is a global plugin of APISIX.
Enable the plug-in error-log-logger
in conf/config.yaml
, then this plugin can work fine. It does not need to be bound in any route or service.
Here is an example of conf/config.yaml
:
Disable plugin
How to set the TCP server address
Step: update the attributes of the plugin
Step: update the attributes of the plugin
How to set the clickhouse
The plugin sends the error log as a string to the field of the clickhouse table.
Step: update the attributes of the plugin