Hello,
I've got logstash (1.4.2) inserting data to ES (1.5.2)
Here's a sample command that I'm running
echo "ID: 1029713618753128208" | /opt/logstash/bin/logstash -e 'input { stdin {} } filter { grok { match => ["message", "ID: %{NUMBER:id:int}"]} } output { stdout{ codec => rubydebug } elasticsearch { host=> "127.0.0.1" cluster=>"main" protocol=>http } } '
stdout codec prints correct number for my variable id:
{
"message" => "ID: 1029713618753128208",
"@version" => "1",
"@timestamp" => "2015-06-29T10:50:06.463Z",
"host" => "debian-vm1",
"id" => 1029713618753128208
}
But elasticsearch when queried shows that id as
1029713618753128200
It almost looks like there's some kind of loss of precision on the integer.
Does like it look like a known issue ?
Thanks & regards
m