org.apache.flume.source
Class SyslogUtils
java.lang.Object
org.apache.flume.source.SyslogUtils
public class SyslogUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSLOG_TIMESTAMP_FORMAT_RFC5424_2
public static final String SYSLOG_TIMESTAMP_FORMAT_RFC5424_2
- See Also:
- Constant Field Values
SYSLOG_TIMESTAMP_FORMAT_RFC5424_1
public static final String SYSLOG_TIMESTAMP_FORMAT_RFC5424_1
- See Also:
- Constant Field Values
SYSLOG_TIMESTAMP_FORMAT_RFC5424_3
public static final String SYSLOG_TIMESTAMP_FORMAT_RFC5424_3
- See Also:
- Constant Field Values
SYSLOG_TIMESTAMP_FORMAT_RFC5424_4
public static final String SYSLOG_TIMESTAMP_FORMAT_RFC5424_4
- See Also:
- Constant Field Values
SYSLOG_TIMESTAMP_FORMAT_RFC3164_1
public static final String SYSLOG_TIMESTAMP_FORMAT_RFC3164_1
- See Also:
- Constant Field Values
SYSLOG_MSG_RFC5424_0
public static final String SYSLOG_MSG_RFC5424_0
- See Also:
- Constant Field Values
SYSLOG_MSG_RFC3164_0
public static final String SYSLOG_MSG_RFC3164_0
- See Also:
- Constant Field Values
SYSLOG_TIMESTAMP_POS
public static final int SYSLOG_TIMESTAMP_POS
- See Also:
- Constant Field Values
SYSLOG_HOSTNAME_POS
public static final int SYSLOG_HOSTNAME_POS
- See Also:
- Constant Field Values
SYSLOG_BODY_POS
public static final int SYSLOG_BODY_POS
- See Also:
- Constant Field Values
SYSLOG_FACILITY
public static final String SYSLOG_FACILITY
- See Also:
- Constant Field Values
SYSLOG_SEVERITY
public static final String SYSLOG_SEVERITY
- See Also:
- Constant Field Values
EVENT_STATUS
public static final String EVENT_STATUS
- See Also:
- Constant Field Values
MIN_SIZE
public static final Integer MIN_SIZE
DEFAULT_SIZE
public static final Integer DEFAULT_SIZE
SyslogUtils
public SyslogUtils()
SyslogUtils
public SyslogUtils(boolean isUdp)
SyslogUtils
public SyslogUtils(Integer eventSize,
boolean isUdp)
addFormats
public void addFormats(Map<String,String> formatProp)
extractEvent
public Event extractEvent(org.jboss.netty.buffer.ChannelBuffer in)
getEventSize
public Integer getEventSize()
setEventSize
public void setEventSize(Integer eventSize)
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.