#include "syslog-format.h"#include "timeutils/scan-timestamp.h"#include "timeutils/conv.h"#include "logmsg/logmsg.h"#include "messages.h"#include "timeutils/cache.h"#include "find-crlf.h"#include "cfg.h"#include "str-format.h"#include "utf8utils.h"#include "str-utils.h"#include "syslog-names.h"#include "logproto/logproto.h"#include <regex.h>#include <ctype.h>#include <string.h>
Classes | |
| struct | IPv6Heuristics |
Macros | |
| #define | SD_NAME_SIZE 256 |
Functions | |
| gboolean | _syslog_format_parse_sd (LogMessage *msg, const guchar **data, gint *length, const MsgFormatOptions *options) |
| gboolean | _syslog_format_parse_sd_column (LogMessage *msg, const guchar **data, gint *length, const MsgFormatOptions *options) |
| gboolean | _syslog_format_parse_message_column (LogMessage *msg, const guchar **data, gint *length, const MsgFormatOptions *parse_options) |
| gboolean | syslog_format_handler (const MsgFormatOptions *parse_options, LogMessage *msg, const guchar *data, gsize length, gsize *problem_position) |
| void | syslog_format_init (void) |
| #define SD_NAME_SIZE 256 |
| gboolean _syslog_format_parse_message_column | ( | LogMessage * | msg, |
| const guchar ** | data, | ||
| gint * | length, | ||
| const MsgFormatOptions * | parse_options | ||
| ) |
| gboolean _syslog_format_parse_sd | ( | LogMessage * | msg, |
| const guchar ** | data, | ||
| gint * | length, | ||
| const MsgFormatOptions * | options | ||
| ) |
_syslog_format_parse: @msg: LogMessage instance to store parsed information into @data: message @length: length of the message pointed to by @data @flags: value affecting how the message is parsed (bits from LP_*)
Parse an http://www.syslog.cc/ietf/drafts/draft-ietf-syslog-protocol-23.txt formatted log message for structured data elements and store the parsed information in @msg.values and dup the SD string. Parsing is affected by the bits set @flags argument.
| gboolean _syslog_format_parse_sd_column | ( | LogMessage * | msg, |
| const guchar ** | data, | ||
| gint * | length, | ||
| const MsgFormatOptions * | options | ||
| ) |
| gboolean syslog_format_handler | ( | const MsgFormatOptions * | parse_options, |
| LogMessage * | msg, | ||
| const guchar * | data, | ||
| gsize | length, | ||
| gsize * | problem_position | ||
| ) |
| void syslog_format_init | ( | void | ) |
| NVHandle cisco_seqid |
| gboolean initialized |
| NVHandle is_synced |