[logstash.outputs.elasticsearch] An unknown error occurred sending a bulk request to Elasticsearch

Figured. in the logstash config file I used "copy" function under "mutate", while I actually need to use "add_field" function.
details in LogStash::Json::GeneratorError when using mutate copy @timestamp