You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "coolboywcm (via GitHub)" <gi...@apache.org> on 2023/04/11 02:18:29 UTC
[GitHub] [apisix] coolboywcm opened a new issue, #9283: help request: plugin [elasticsearch-logger] return error
coolboywcm opened a new issue, #9283:
URL: https://github.com/apache/apisix/issues/9283
### Description
**route config:**
"plugins": {
"elasticsearch-logger": {
"_meta": {
"disable": false
},
"endpoint_addr": "http://xxxx:xxxx",
"field": {
"index": "apisixlog"
}
}
}
**tail -f /usr/local/apisix/logs/error.log**
[error] 4391#4391: *126717034 [lua] batch-processor.lua:95: Batch Processor[elasticsearch-logger] failed to process entries: elasticsearch server returned status: 400, body: {"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: an id must be provided if version type or value are set;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: an id must be provided if version type or value are set;"},"status":400}, context: ngx.timer, client: xxx.xxx.xx.xx, server: 0.0.0.0:9080
ES version:**elasticsearch-7.3.0**
**elasticsearch.yml** content:
action.auto_create_index: true
path.data: /data/elasticsearch
path.logs: /var/log/elasticsearch
cluster.name: docker-cluster
node.name: node-1
cluster.initial_master_nodes: ["node-1"]
network.host: 0.0.0.0
http.port: xxxx
http.cors.allow-origin: "*"
http.cors.enabled: true
### Environment
APISIX version (3.1.0):
Operating system (CentOS Linux release 7.6.1810):
OpenResty / Nginx version (nginx version: openresty/1.21.4.1):
etcd version, if relevant ("etcd_version":"3.4.0"):
APISIX Dashboard version, if relevant(3.0.0)
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: plugin [elasticsearch-logger] return error [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9283: help request: plugin [elasticsearch-logger] return error
URL: https://github.com/apache/apisix/issues/9283
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: plugin [elasticsearch-logger] return error [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9283:
URL: https://github.com/apache/apisix/issues/9283#issuecomment-1742734166
Due to lack of the reporter's response this issue has been labeled with "no response". It will be close in 3 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] shreemaan-abhishek commented on issue #9283: help request: plugin [elasticsearch-logger] return error
Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9283:
URL: https://github.com/apache/apisix/issues/9283#issuecomment-1709515569
ping @coolboywcm
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] nic-6443 commented on issue #9283: help request: plugin [elasticsearch-logger] return error
Posted by "nic-6443 (via GitHub)" <gi...@apache.org>.
nic-6443 commented on issue #9283:
URL: https://github.com/apache/apisix/issues/9283#issuecomment-1503092973
I found that version 7.17.1 (the version used in APISIX test cases) of Elasticsearch can work normally, so this problem may come from the difference in Elasticsearch versions. You can try to find the configuration document for version 7.3.0 of Elasticsearch and see if there is any relevant information.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: plugin [elasticsearch-logger] return error [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9283:
URL: https://github.com/apache/apisix/issues/9283#issuecomment-1750325618
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org