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

make的二进制文件执行报错Failed to export data to ElasticSearch sink: elastic: Error 405 #216

Open
SupRenekton opened this issue Dec 22, 2021 · 1 comment

Comments

@SupRenekton
Copy link

为什么我用v1.2.0的源码make出来的二进制文件放到 registry.aliyuncs.com/acs/kube-eventer-amd64:v1.2.0-484d9cd-aliyun这个镜像的环境里运行,却无法将事件导入es内呢,registry.aliyuncs.com/acs/kube-eventer-amd64:v1.2.0-484d9cd-aliyun这个镜像不就是用v1.2.0的源码make的二进制文件打的镜像么,我直接用这个registry.aliyuncs.com/acs/kube-eventer-amd64:v1.2.0-484d9cd-aliyun可以传入事件到es,但是自己用v1.2.0的代码执行make命令却不行,得到下面的结果

I1222 18:55:50.167049 23 eventer.go:68] kube-eventer version: v1.2.0 commit:
I1222 18:55:50.175443 23 eventer.go:94] Starting with ElasticSearch Sink sink
I1222 18:55:50.175486 23 eventer.go:108] Starting eventer
I1222 18:55:50.175520 23 eventer.go:116] Starting eventer http service
I1222 18:56:00.000257 23 manager.go:102] Exporting 0 events
I1222 18:56:30.000196 23 manager.go:102] Exporting 5 events
W1222 18:56:30.005513 23 driver.go:96] Failed to export data to ElasticSearch sink: elastic: Error 405 (Method Not Allowed)

@ringtail
Copy link
Member

ringtail commented May 7, 2022

主干master的版本可以吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants