Unusual event.EventID numbers like -2147481364 in Python using win32evtlog from Pywin32
问题 I wrote a python(3.2) script to ban ips on certain events from the event logs on a Windows 2008 server and I was trying to test if it would ban ips from sql brute forcing attempts properly. Unfortunately so far it's not getting to that part of the code because the event ID it is looking for never appears (although it should as it's in the log file). def run_script_application_log(): eventIds = [18456] #look for these events to process for possible ip bans 18456 = failed login server =