tsdb: fixing bugs and adding optimizations
windows_firewall_log_plugin.lua: keep track of last_fetch_timestamp