Unable to get full message text from Windows Event Logs | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Unable to get full message text from Windows Event Logs

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-12-2013
kar_333 kar_333 is offline
Registered User
 
Join Date: Aug 2011
Last Activity: 27 December 2013, 5:23 AM EST
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unable to get full message text from Windows Event Logs

Hi all,

. I am developing a log monitoring solution in perl for Windows I am using the CPAN module Win32 ::EventLog (0.076) version for getting the events from windows. The problem which I am facing now is all the Windows 2008 machines are upgraded with Service pack2 from then I couldn’t able to get the message text even if I set the value 1 to $Win32::EventLog::GetMessageText = 1; for both Windows 2008 sp2 and Windows 2012. I agree this not a bug in the module instead Windows 2008 Sp2 and 2012 event log design might have changed in such a way kindly let me know is there any possibility to modify anything in the .pm file to get the Windows 2008 sp2 message moreover the module cannot pull only the message from the service control manager which has an event ID 7036.
Sponsored Links
    #2  
Old 02-12-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 4 April 2014, 4:57 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,359
Thanks: 8
Thanked 534 Times in 513 Posts
Sounds more windows or programming than shell. Does CPAN have later versions?
Sponsored Links
    #3  
Old 02-12-2013
kar_333 kar_333 is offline
Registered User
 
Join Date: Aug 2011
Last Activity: 27 December 2013, 5:23 AM EST
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
The latest version of this module 0.076 which i am using it currently.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Perl script to parse multiple windows event logs. kar_333 Shell Programming and Scripting 3 12-13-2012 02:35 PM
ILOM event logs marimontes Solaris 3 11-20-2009 10:13 AM
Send Text message from unix to windows jessica-adams UNIX for Dummies Questions & Answers 1 03-07-2009 09:39 AM
ppp errror message in logs frankkahle UNIX for Advanced & Expert Users 1 05-02-2007 08:38 AM
Message Logs Error ByasB UNIX for Dummies Questions & Answers 1 04-07-2005 01:40 PM



All times are GMT -4. The time now is 11:45 PM.