Zhytkou, Yury
2010-07-16 18:14:47 UTC
To everyone that considers using KLO agent - the ITM6-based "Netcool
OMNIbus Logfile Agent" that can use the good old .fmt and .conf files
from tecad_logfile ...
Approach with caution :-)
This thing does not work for logs that are a bit more "complex" than
echo "`date` :: my awesome log record" >> myawesome.log
Example where it fails miserably so far is log4j logs usually produced
by various Java App servers.
Agent crashes, when it does not crash - it maps random parts and pieces
of the log record to random event attributes, etc - it is all over the
place.
While the same format file works perfectly fine matching the exact same
records from exact same logs when used with old tecad_logfile.
agent does not need and does not compile .cds file from .fmt file) ...
and instead tries to fake it by translating FORMAT records from .fmt
into regex. While I see nothing wrong with that approach in general, I
wonder if IBM _really_ tested all possible scenarios with all possible
.fmt file syntax tags, especially in cases where you need to escape
"special" characters like ( [ { and others ... both in format definition
and in the content of log record.
Oh, and a have a great weekend! :-)
Yury Zhytkou
Sr IT Engineer | T&O Systems Management and Automation Services
TIAA-CREF | Financial Services for the Greater Good
8625 Andrew Carnegie Blvd, F1-03
Charlotte, NC 28262
Office: 704.988.3274
Mobile: 704.516.1703
yzhytkou-YwIA+KEzWU8/11+***@public.gmane.org <mailto:yzhytkou-YwIA+KEzWU8/11+***@public.gmane.org>
IBM Tivoli Certified
ITIL Foundation Certified
********************************************************************************************
This e-mail may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately and then delete it.
TIAA-CREF
********************************************************************************************
OMNIbus Logfile Agent" that can use the good old .fmt and .conf files
from tecad_logfile ...
Approach with caution :-)
This thing does not work for logs that are a bit more "complex" than
echo "`date` :: my awesome log record" >> myawesome.log
Example where it fails miserably so far is log4j logs usually produced
by various Java App servers.
Agent crashes, when it does not crash - it maps random parts and pieces
of the log record to random event attributes, etc - it is all over the
place.
While the same format file works perfectly fine matching the exact same
records from exact same logs when used with old tecad_logfile.
From what I have seen in agent trace logs - it looks like it is actually
not using same code as tecad_logfile (that also could explain why KLOagent does not need and does not compile .cds file from .fmt file) ...
and instead tries to fake it by translating FORMAT records from .fmt
into regex. While I see nothing wrong with that approach in general, I
wonder if IBM _really_ tested all possible scenarios with all possible
.fmt file syntax tags, especially in cases where you need to escape
"special" characters like ( [ { and others ... both in format definition
and in the content of log record.
Oh, and a have a great weekend! :-)
Yury Zhytkou
Sr IT Engineer | T&O Systems Management and Automation Services
TIAA-CREF | Financial Services for the Greater Good
8625 Andrew Carnegie Blvd, F1-03
Charlotte, NC 28262
Office: 704.988.3274
Mobile: 704.516.1703
yzhytkou-YwIA+KEzWU8/11+***@public.gmane.org <mailto:yzhytkou-YwIA+KEzWU8/11+***@public.gmane.org>
IBM Tivoli Certified
ITIL Foundation Certified
********************************************************************************************
This e-mail may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately and then delete it.
TIAA-CREF
********************************************************************************************