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, traceEnabled
public SyslogNGParser(SyslogdConfig config, ByteBuffer text)
protected Pattern getPattern()
getPattern
in class SyslogParser
protected SyslogMessage parse() throws SyslogParserException
parse
in class SyslogParser
SyslogParserException
Copyright © 2021. All rights reserved.