Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Translating Win32 EventLog Category

by slloyd (Hermit)
on Jan 24, 2013 at 16:18 UTC ( #1015194=perlquestion: print w/replies, xml ) Need Help??
slloyd has asked for the wisdom of the Perl Monks concerning the following question:

I am using Win32::EventLog to read through the System event log on windows. I am trying to find a way to translate the "Category" number that it returns. Any help would be greatly appreciated.
$VAR1 = { 'TimeGenerated' => 1359043271, 'TimeGeneratedDate' => '2013-01-24 09:01:11', 'RecordNumber' => 22733, 'TimeWrittenDate' => '2013-01-24 09:01:11', 'UserType' => undef, 'UserName' => undef, 'EventType' => 'Audit success', 'Source' => 'Microsoft-Windows-Security-Auditing', 'TimeWritten' => 1359043271, 'ClosingRecordNumber' => 0, 'Computer' => 'dev', 'EventID' => 4648, 'EventTypeCode' => 8, 'Length' => 0, 'UserDomain' => undef, 'Category' => 12544 };

Replies are listed 'Best First'.
Re: Translating Win32 EventLog Category
by NetWallah (Canon) on Jan 24, 2013 at 16:31 UTC
    This Dr. Dobbs Journal article should help enlighten on the subject of Event log catagories.

                 Most people believe that if it ain't broke, don't fix it.
            Engineers believe that if it ain't broke, it doesn't have enough features yet.

Re: Translating Win32 EventLog Category
by Anonymous Monk on Jan 25, 2013 at 03:28 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1015194]
Approved by NetWallah
Front-paged by NetWallah
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2018-02-21 20:03 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (287 votes). Check out past polls.