Saving Security Log to DB
From: Scott (anonymous_at_discussions.microsoft.com)
Date: 02/24/04
- Next message: kironline_at_hotmail.com: "Re: Remote disk space analysis"
- Previous message: Dean: "File Version Comparison"
- Next in thread: Jeff Cochran: "Re: Saving Security Log to DB"
- Reply: Jeff Cochran: "Re: Saving Security Log to DB"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 09:03:35 -0800
The scripting website has an example of how to copy the
event logs to a db. I want to modify this and just copy
the security logs to a db. Below is the relevant portion
of that code:
Set colRetrievedEvents = objWMIService.ExecQuery _
("Select * from Win32_NTLogEvent")
To modify this for the Security logs, do I change the code
to:
Set colRetrievedEvents = objWMIService.ExecQuery _
("Select * from Win32_NTLogEvent Where Logfile _
='Security'")
I would greatly appreciate any input on this subject.
Thanks,
Scott
- Next message: kironline_at_hotmail.com: "Re: Remote disk space analysis"
- Previous message: Dean: "File Version Comparison"
- Next in thread: Jeff Cochran: "Re: Saving Security Log to DB"
- Reply: Jeff Cochran: "Re: Saving Security Log to DB"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|