I set up filebeat and elasticsearch on the same machine and till v5.6 all was working good.
Now in elasticsearch log i found the following error line each per event:
2017-11-16T12:45:06+01:00 WARN Can not index event (status=400): {"type":"mapper_parsing_exception","reason":"Failed to parse mapping [doc]: Mapping definition for [error] has unsupported parameters: [properties : {code={type=long}, type={ignore_above=1024, type=keyword}, message={norms=false, type=text}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [error] has unsupported parameters: [properties : {code={type=long}, type={ignore_above=1024, type=keyword}, message={norms=false, type=text}}]"}}
Can you share your filebeat configuration? The default index names in recent filebeat are versioned as well. There shouldn't be a conflict, unless you still write in the old index.
Also, using Kibana Console, can you do GET /filebeat-*/_mapping and GET _template/filebeat-* and paste the output in a pastebin or similar. Unless you have added custom fields to the templates, those two commands shouldn't leak any private information.
Note that logstash and winlogbeat works perfectly, only filebeat have problem.
Here is :
GET /filebeat-/_mapping
{
"error": {
"root_cause": [
{
"type": "index_not_found_exception",
"reason": "no such index",
"index_uuid": "na",
"index": "filebeat-"
}
],
"type": "index_not_found_exception",
"reason": "no such index",
"index_uuid": "na",
"index": "filebeat-*"
},
"status": 404
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.