Re: Slow reading of EventLog

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,
Thanks for providing this information.
Can you tell me how to parse the TimeGenrated value, MSDN says that it's of type datetime, but when I checked it's type, it was of type string and the value was in this format. I don't think DateTime will parse it.

str = "20090115075211.000000+330"

Thanks & Regards,
Ashutosh

Jialiang Ge [MSFT] wrote:
Hello Ashu

I have an idea that really deserves your trial:

Enumerate Event Logs with WMI
http://msdn.microsoft.com/en-us/library/aa394593(VS.85).aspx

I cannot tell the internal implementation of the management console to enumerate the remote event logs. If the WMI solution speeds up the enumeration, please let me know. I have a rough explanation of why WMI may be faster to enumerate the remote event logs.

Regards, Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

.



Relevant Pages

  • Re: Slow reading of EventLog
    ... Enumerate Event Logs with WMI ... You can send feedback directly to my manager at: ...
    (microsoft.public.dotnet.languages.csharp)
  • Converting integers to english representation
    ... I'm developing a system to parse and enumerate addresses. ... current obstacle is numbered streets. ...
    (comp.lang.python)
  • Re: Best way to read from directory with many files
    ... enumerate the files using the FindFirstFile/FindNextFile/FindClose APIs, ... Microsoft Managed Newsgroup Support Team ... You can send feedback directly to my manager at: ...
    (microsoft.public.dotnet.framework)
  • Re: Converting integers to english representation
    ... >> I'm developing a system to parse and enumerate addresses. ... >> current obstacle is numbered streets. ...
    (comp.lang.python)
  • Re: Mass Update of Users Manager
    ... One option is a VBScript program that reads information from a spreadsheet. ... You can easily modify this to update the manager attribute. ... ' Enumerate all users. ... objUser.manager = strManager ...
    (microsoft.public.windows.server.scripting)