shihuncl commented on issue #11875:
URL: https://github.com/apache/apisix/issues/11875#issuecomment-2785068752

   日志收集设置方式:elasticsearch-logger插件收集日志service层级
   具体配置如下:{
     "name": "测试服务",
     "upstream_id": "bb0f120ceaa5460a8f8a5fdd6655cea4",
     "plugins": {
       "basic-auth": {
         "_meta": {
           "disable": false
         },
         "hide_credentials": false
       },
       "elasticsearch-logger": {
         "_meta": {
           "disable": false
         },
         "auth": {
           "password": "密码",
           "username": "用户名"
         },
         "batch_max_size": 1000,
         "buffer_duration": 60,
         "endpoint_addr": "es地址",
         "field": {
           "index": "services"
         },
         "inactive_timeout": 5,
         "include_resp_body": true,
         "max_retry_count": 0,
         "name": "elasticsearch-logger",
         "retry_delay": 1,
         "ssl_verify": false,
         "timeout": 60
       }
     }
   }
   场景复现:某一天的开始突然没有某个应用调用日志
   场景修复:重新保存了没有日志记录的消费者,第二天凌晨调用日志开始有了
   猜想:接口调用是否记录调用日志存储在缓存里面,如果没有新增修改对应的调用关系,记录日志缓存是每天凌晨更新一次
   求助:1.怎么去避免这种每天更新调用日志的缓存信息应该记录调用日志的却没有记录?
               2.对应的缓存关系怎么去查看?


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