Can't parse number

Failed action. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"logstash-access_api-2017.05.17", :_type=>"access_api", :_routing=>nil}, 2017-05-17T15:07:51.000Z %{host} %{message}], :response=>{"index"=>{"_index"=>"logstash-access_api-2017.05.17", "_type"=>"access_api", "_id"=>"AVwaoytNIweVfrqRlCkS", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse [url_args.play_time]", "caused_by"=>{"type"=>"number_format_exception", "reason"=>"For input string: "17.47649955749512""}}}}}

I have tried to config in filter but still don't work:

    if [type]=="access_api"  {
            mutate {  convert => {"url_args.play_time"=>"float"}  }
            geoip  {  source => "ip"  }
    }

and mapping

Thank you in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.