APISIX 默认配置文件中已启用 elasticsearch-logger 插件,所以你只需要通过下方命令创建路由并配置 elasticsearch-logger 插件就可以在 APISIX 中正常使用了。 curl http://127.0.0.1:9180/apisix/admin/routes/1 \ -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8
May I ask, when using the Elasticsearch logger plugin to record logs in Apisix, whether a request call is logged through cache or real-time query? Contributor Baoyuantop commented Apr 28, 2025 When a request arrives, the plugin collects the request and response information in the log phase,...
APISIX 几乎每个新版本的发布都会引入新的日志插件,此次也不例外,引入了两个新的日志插件。 elasticsearch-logger插件是写入到 Elasticsearch 的日志插件。通过配置该插件,你可以把日志批量传输到 Elasticsearch。如下述配置,会将日志发送到 9200 端口的 Elasticsearch 上: "plugins":{"elasticsearch-logger":{"endpoint_ad...
(HTTP Logger,TCP Logger,KafkaLogger,UDP Logger,RocketMQ Logger,SkyWalking Logger,Alibaba Cloud Logging(SLS),Google Cloud Logging,Splunk HEC Logging,File Logger,SolarWinds Loggly Logging,TencentCloud CLS)。 ClickHouse:将日志推送到ClickHouse。 Elasticsearch:将日志推送到 Elasticsearch。 Datadog:通过UDP协议将...
Current Behavior The plugin eleasticsearch-logger is not working with elasticseachr-8.x and apisix - 3.0.0 and in apisix it has below error log: 2023/01/10 07:51:51 [error] 48#48: *231989 [lua] batch-processor.lua:95: Batch Processor[ela...
","public-api","prometheus","datadog","loki-logger","elasticsearch-logger","echo","loggly","http-logger","splunk-hec-logging","skywalking-logger","google-cloud-logging","sls-logger","tcp-logger","kafka-logger","rocketmq-logger","syslog","udp-logger","file-logger","clickhouse-logger"...
505-public-api# priority: 501-prometheus# priority: 500-datadog# priority: 495-loki-logger# priority: 414-elasticsearch-logger# priority: 413-echo# priority: 412-loggly# priority: 411-http-logger# priority: 410-splunk-hec-logging# priority: 409-skywalking-logger# priority: 408-google-cloud-logg...
elasticsearch-logger.md15.99 KB 一键复制编辑原始数据按行查看历史 Traky Deng提交于24天前.docs: improveelasticsearch-loggerplugin docs (#11922) Description Attributes Plugin Metadata Examples Log in the Default Log Format Log Request and Response Headers With Plugin Metadata ...
","public-api","prometheus","datadog","loki-logger","elasticsearch-logger","echo","loggly","http-logger","splunk-hec-logging","skywalking-logger","google-cloud-logging","sls-logger","tcp-logger","kafka-logger","rocketmq-logger","syslog","udp-logger","file-logger","clickhouse-logger"...
在请求路径http://127.0.0.1:9180/apisix/admin/upstreams/1中的最后部分数字1表示设置upstream_id为1。 可以在nodes对象下指定多个目标地址,以达到负载均衡的效果。 2.创建Route 代码语言:javascript 代码运行次数:0 运行 AI代码解释 curl"http://127.0.0.1:9180/apisix/admin/routes/1"\-H"X-API-KEY: edd1...