Failed to parse mapping [_default_]: Mapping definition for [error] has unsupported parameters

I also was unable to reproduce with Filebeat 6.0.0-beta1 and Elasticsearch 5.5.2. Can you please post the Filebeat config you are using too.