|Re: accessing a CBE repository from LTA [message #84289 is a reply to message #84183]
||Tue, 26 September 2006 15:46
Originally posted by: cindyjin.ca.ibm.com|
You can implement your own sensor to read from a database. Your sensor
can extend org.eclipse.hyades.logging.adapter.impl.Sensor, or other
existing Sensors. You need to overwrite the update() to set
configuration and getNext() to read logs from the database.
Chris Giblin wrote:
> Thanks for the hint. This was good to get started with.
> I want to read CBEs from a database. It seems the framework always wants
> a file to read. I wonder which class needs to be overriden to bypass the
> requirement to read a log file. Seems there should be a "LogDataSource"
> abstraction so data can be read from anywhere, not only from a file.
> I'll keep looking for the right hook.
> thanks, chris
> Ali Mehregani wrote:
>> Your approach makes sense to me. If you download TPTP-SDK you can use
>> the Log Parser example to get started (use File > New > Example >
>> Logging > Log Parser Extension Sample).
>> "Chris Giblin" <firstname.lastname@example.org> wrote in message
>>> I am new to LTA/GLA and would like to perform analysis of CBEs in the
>>> LTA. But these CBEs do not need to be derived from imported logs
>>> using with GLAs. Rather, these CBEs already exist in a relational
>>> I suspect I need to add a new log type by means of a plugin. I would
>>> develop a static adapter which accesses the DB with JDBC and passes
>>> the CBE through and then deploy this as a plugin.
>>> Is this the way you pro's would do it as well?
Powered by FUDForum
. Page generated in 0.02354 seconds