org.rhq.plugins.platform
Class SyslogFileEventLogDelegate

java.lang.Object
  extended by org.rhq.plugins.platform.SyslogProcessor
      extended by org.rhq.plugins.platform.SyslogFileEventLogDelegate
All Implemented Interfaces:
LogEntryProcessor

public class SyslogFileEventLogDelegate
extends SyslogProcessor
implements LogEntryProcessor

Reads syslog messages from a file.

Author:
John Mazzitelli

Field Summary
 
Fields inherited from class org.rhq.plugins.platform.SyslogProcessor
EVENT_LOG_TYPE
 
Constructor Summary
SyslogFileEventLogDelegate(ResourceContext resourceContext, org.rhq.core.domain.configuration.PropertyMap logProperties)
           
 
Method Summary
 Set<org.rhq.core.domain.event.Event> processLines(BufferedReader bufferedReader)
           
 void shutdown()
           
 
Methods inherited from class org.rhq.plugins.platform.SyslogProcessor
convertAnyLine, convertLine, convertLineDefaultFormat, convertLineParserRegEx, getEventContext, getIncludesPattern, getMinimumEventSeverity, getParserRegex, getSeverity, getSourceLocation, getTimestamp, parseRFC3339Date
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyslogFileEventLogDelegate

public SyslogFileEventLogDelegate(ResourceContext resourceContext,
                                  org.rhq.core.domain.configuration.PropertyMap logProperties)
Method Detail

shutdown

public void shutdown()

processLines

public Set<org.rhq.core.domain.event.Event> processLines(BufferedReader bufferedReader)
                                                  throws IOException
Specified by:
processLines in interface LogEntryProcessor
Throws:
IOException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.