net.sf.logdistiller.logtypes
Class CSVLogEvent
java.lang.Object
net.sf.logdistiller.LogEvent
net.sf.logdistiller.logtypes.CSVLogEvent
public class CSVLogEvent
- extends LogEvent
A CSV (see RFC-4180) log parser, based on OstermillerUtils. CSV log type supports following parameters:
attributes
: specify the column names (and of course count), starting with logSource
delimiter
: set the column delimiter (default value: ','
)
quote
: set the quoting character (default value: '"'
)
commentStart
: set the list of characters a comment line may start with (default value: none)
By default, the classification rules generated by the GUI for this type of logs won't be able to sort events, as the
log event structure is too generic.
- Since:
- 0.9
- See Also:
CSVParser
Constructor Summary |
CSVLogEvent(net.sf.logdistiller.logtypes.CSVLogEvent.Factory factory,
String rawLog,
String[] values)
|
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
LOGTYPE
public static final LogType LOGTYPE
CSVLogEvent
public CSVLogEvent(net.sf.logdistiller.logtypes.CSVLogEvent.Factory factory,
String rawLog,
String[] values)
throws ParseException
- Throws:
ParseException
Copyright © 2004-2009. All Rights Reserved.