-
Notifications
You must be signed in to change notification settings - Fork 309
Elasticsearch rejects data #493
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
Comments
Could you try to use |
Error disappeared after td-agent restart :( |
:( |
I'm closing this for now. |
I had this issue when I had a leftover logstash template (from 5.x) in my ES 6.x cluster. Removing the logstash template solved the problem. |
Thank you for your comment. |
I didn't try the 6.x template. The 5.x template fails in ES 6.x because it uses a feature that is no longer available in 6.x. |
The first thing is to open the debug log, in your
and then watch your fluentd system log such as |
Where did you added |
I have added |
I've got some logs which ES refuses to accept:
2018-10-24 16:22:21 +0000 [warn]: #0 dump an error event: error_class=Fluent::Plugin::ElasticsearchErrorHandler::ElasticsearchError error="400 - Rejected by Elasticsearch" location=nil tag="syslog.user.warn" time=2018-10-24 16:22:13.000000000 +0000 record={"host"=>"webserver-aws-ie-2", "ident"=>"webserver", "message"=>"WARNING: write_log(): tried to log ctrl symbol at field 27 into 'requests.log', log message: https://some.domain.com(us/appYy\x9B\x827D6\xD2\xCE\xE9\xCC-Q\x9E?\xF0nia/id733948432?mt=9", "severity"=>"warn", "syslog_facility"=>"user", "fqdn"=>"webserver-aws-ie-2.banana.domain.tld", "hostname"=>"webserver-aws-ie-2.banana.domain.tld", "project"=>"banana", "cluster"=>"default", "original_tag"=>"syslog.user.warn", "forwarder_ip"=>"10.138.0.210", "forwarder_hostname"=>"haproxy-gce-be-3.c.logs.internal", "pushed_by"=>"harvester-gce-be-8.logs.domain.tld:2", "target_index"=>"banana--2018.10.24"}
Output config:
Fluentd components versions:
Ubuntu 18.04
ES 6.2.2
The text was updated successfully, but these errors were encountered: