Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logstash 5.4.0 - Concatenate fields in Logstash csv filter stopped working #51

Open
RedCloudDC opened this issue Jun 12, 2017 · 0 comments

Comments

@RedCloudDC
Copy link

RedCloudDC commented Jun 12, 2017

I have separate fields for lat and long values and use logstash to csv filter combine the fields then an index template to convert them to a geo_point. This line WORKS in Logstash 5.3.0

add_field => {"from_location" => "%{Latitude},%{Longitude}"}
}

with no changes, this line does not work in 5.4.0 (see parse error below). Do I need to do something different in Logstash 5.4.0?

:response=>{"index"=>{"_index"=>"idb_csvparsefailure", "_type"=>"parse_failure", "_id"=>"AVyeFR3faPgK4Al0Wt9r", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"number_format_exception", "reason"=>"For input string: "{%Latitude}""}}}}}

@RedCloudDC RedCloudDC changed the title Logstash 5.4.0 - Concatenate fields in Logstash stopped working Logstash 5.4.0 - Concatenate fields in Logstash csv filter stopped working Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant