Hi all, ES 2.0 doesn't allow . in field name anymore. As a result, writing metrics to ES will give the following errors
:response=>{"create"=>{"_index"=>"samza_metrics-2016.04.21", "_type"=>"samza_metrics", "_id"=>"AVQ6FgE-3mvK_4wEEW2o", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"Field name [org.apache.samza.container.TaskInstanceMetrics] cannot contain '.'"}}}, :level=>:warn} I am thinking of either 1. look into logstash plugins 2. have stream processing job to replace '.' with another character. I am curious how other people solve this problem. Thanks, George -- Disclaimer :- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail and destroy all copies of this message and any attachments. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.