Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: apisix用elasticsearch-logger插件收集服务调用日志ES存储不全 #11875

Open
shihuncl opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@shihuncl
Copy link

Current Behavior

apisix用elasticsearch-logger在服务级别记录调用日志,在apisix服务能看到打印的调用记录,但是在ES里面这条调用记录没有。

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

docker image 3.9
添加了java代码插件

Environment

  • APISIX version (run apisix version): 3.9
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@dosubot dosubot bot added the bug Something isn't working label Dec 30, 2024
@shihuncl
Copy link
Author

apisix服务日志里面能看到打印了请求日志,但是没有将调用日志发送的ES日志,没有错误日志显示。手动通过postman请求现在又能写入了,之前怎么手动触发调用就是不写入日志,接口响应是成功的。提供接口的特别的点是,接口返回数据量大,响应时间长。按照设计思路发送日志到ES应该是异步的,跟接口响应时间,返回数据量大小没有关系,如果都能看到apisix处理打印的日志,就应该能把调用日志发送到ES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant