diff --git a/lib/logstash/inputs/drupal_dblog.rb b/lib/logstash/inputs/drupal_dblog.rb index 3b07de4ce..22c182226 100644 --- a/lib/logstash/inputs/drupal_dblog.rb +++ b/lib/logstash/inputs/drupal_dblog.rb @@ -254,6 +254,8 @@ class LogStash::Inputs::DrupalDblog < LogStash::Inputs::Base private def set_last_wid(wid, insert) + wid = PHP.serialize(wid.to_i) + # Update last import wid variable if insert # Does not exist yet, so insert