public class OracleAlertLogEvent extends LogEvent implements Comparable<OracleAlertLogEvent>
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:
Modifier and Type | Field and Description |
---|---|
Date |
date |
static LogType.Description |
DESCRIPTION |
static String |
ID |
static LogType |
LOGTYPE |
String |
message |
String |
timestamp |
Constructor and Description |
---|
OracleAlertLogEvent(LogEvent.Factory factory,
String firstLine,
String message) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OracleAlertLogEvent o) |
checkInitialized, dump, dump, getAttribute, getAttribute, getAttributes, getAttributesCount, getFactory, getRawLog, getTimestamp, getValue, setAttributes
public static final String ID
public static final LogType.Description DESCRIPTION
public OracleAlertLogEvent(LogEvent.Factory factory, String firstLine, String message) throws ParseException
ParseException
public int compareTo(OracleAlertLogEvent o)
compareTo
in interface Comparable<OracleAlertLogEvent>
Copyright © 2004–2014. All rights reserved.