Fixed calculation of took_in_millis for #6476

Fixes #6481
This commit is contained in:
Mykola Shestopal 2017-01-04 09:29:27 +02:00 committed by Suyog Rao
parent 8c4d8b83fc
commit 4c4330ec2f

View file

@ -106,7 +106,7 @@ module LogStash
{
:plugin_params => plugin_params,
:took_in_nanos => took_in_nanos,
:took_in_millis => took_in_nanos / 1000,
:took_in_millis => took_in_nanos / 1000000,
:event => event.to_json
}
end