net.sf.logdistiller.logtypes
Class OracleAlertLogEvent
java.lang.Object
net.sf.logdistiller.LogEvent
net.sf.logdistiller.logtypes.OracleAlertLogEvent
- All Implemented Interfaces:
- Comparable
public class OracleAlertLogEvent
- extends LogEvent
- implements Comparable
Oracle Database's alert.log
file parser. A typical rule configuration with such log files is:
<group id="ORA">
<description>ORA-* messages</description>
<condition>
<match attribute="message" type="contains">ORA-</match>
</condition>
<plugin type="sampling">
<param name="attribute">message</param>
<param name="regexp">(ORA-\d+)</param>
</plugin>
lt;/group>
By default, the classification rules generated by the GUI for this type of logs:
- will contain a such "ORA" group for events with an ORA- id
- but won't be able to sort other events, as the log event structure is too generic (the message has no specific
format).
- Since:
- 0.9
Methods inherited from class net.sf.logdistiller.LogEvent |
checkInitialized, dump, dump, getAttribute, getAttribute, getAttributes, getAttributesCount, getFactory, getRawLog, getTimestamp, getValue, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
timestamp
public final String timestamp
date
public final Date date
message
public final String message
LOGTYPE
public static final LogType LOGTYPE
DESCRIPTION
public static final LogType.Description DESCRIPTION
OracleAlertLogEvent
public OracleAlertLogEvent(net.sf.logdistiller.logtypes.OracleAlertLogEvent.Factory factory,
String firstLine,
String message)
throws ParseException
- Throws:
ParseException
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 2004-2009. All Rights Reserved.