Or in easier words, what will be returned from the input modules, regardless if the input is a flat file or mysql?
In my opinion we have 2 options.
A) Each syslog message in raw format as ONE string, All Syslog messages in a one big Array.
B) Each syslog message already parsed and splitted into a string array. Example:
- Code: Select all
$syslogmsg[SYSLOG_ID] = Uniquie ID if available
$syslogmsg[SYSLOG_DATE] = Date of the Syslogmessage
$syslogmsg[SYSLOG_FACILITY] = Syslog Facility
$syslogmsg[SYSLOG_PRIORITY] = Syslog Priority
$syslogmsg[SYSLOG_HOST] = Syslog Source
$syslogmsg[SYSLOG_SYSLOGTAG] = Syslog Tag Value if available
$syslogmsg[SYSLOG_MESSAGE] = Syslog message
$syslogmsg[SYSLOG_MESSAGETYPE] = Type, like "SYSLOG, EVENTREPORTER etc etc"


