public class SyslogNGParser extends SyslogParser
CustomSyslogParser which parses
Syslog-NG's default format. It ignores forwarding-regexp,
matching-group-host, and matching-group-message and instead
relies on a well-known properly-formatted syslog message.| Constructor and Description |
|---|
SyslogNGParser(SyslogdConfig config,
ByteBuffer text) |
| Modifier and Type | Method and Description |
|---|---|
protected Pattern |
getPattern() |
protected SyslogMessage |
parse() |
find, fromByteBuffer, getConfig, getMatcher, getParserInstance, getText, matched, matches, parseDate, traceEnabledpublic SyslogNGParser(SyslogdConfig config, ByteBuffer text)
protected Pattern getPattern()
getPattern in class SyslogParserprotected SyslogMessage parse() throws SyslogParserException
parse in class SyslogParserSyslogParserExceptionCopyright © 2020. All rights reserved.