mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Merge pull request #279 from theduke/drupal
Drupal DBLog: store logstash_last_wid serialized.
This commit is contained in:
commit
2ef64f8ec8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue