var searchIndex = {}; searchIndex["syslog_rfc5424"] = {"doc":"Parser for [RFC 5424](https://tools.ietf.org/html/rfc5424) Syslog messages. Not to be confused\nwith the older [RFC 3164](https://tools.ietf.org/html/rfc3164) BSD Syslog protocol, which many\nsystems still emit.","items":[[4,"SyslogSeverity","syslog_rfc5424","Syslog Severities from RFC 5424.",null,null],[13,"SEV_EMERG","","",0,null],[13,"SEV_ALERT","","",0,null],[13,"SEV_CRIT","","",0,null],[13,"SEV_ERR","","",0,null],[13,"SEV_WARNING","","",0,null],[13,"SEV_NOTICE","","",0,null],[13,"SEV_INFO","","",0,null],[13,"SEV_DEBUG","","",0,null],[4,"SyslogFacility","","Syslog facilities. Taken From RFC 5424, but I've heard that some platforms mix these around.\nNames are from Linux.",null,null],[13,"LOG_KERN","","",1,null],[13,"LOG_USER","","",1,null],[13,"LOG_MAIL","","",1,null],[13,"LOG_DAEMON","","",1,null],[13,"LOG_AUTH","","",1,null],[13,"LOG_SYSLOG","","",1,null],[13,"LOG_LPR","","",1,null],[13,"LOG_NEWS","","",1,null],[13,"LOG_UUCP","","",1,null],[13,"LOG_CRON","","",1,null],[13,"LOG_AUTHPRIV","","",1,null],[13,"LOG_FTP","","",1,null],[13,"LOG_NTP","","",1,null],[13,"LOG_AUDIT","","",1,null],[13,"LOG_ALERT","","",1,null],[13,"LOG_CLOCKD","","",1,null],[13,"LOG_LOCAL0","","",1,null],[13,"LOG_LOCAL1","","",1,null],[13,"LOG_LOCAL2","","",1,null],[13,"LOG_LOCAL3","","",1,null],[13,"LOG_LOCAL4","","",1,null],[13,"LOG_LOCAL5","","",1,null],[13,"LOG_LOCAL6","","",1,null],[13,"LOG_LOCAL7","","",1,null],[0,"message","","In-memory representation of a single Syslog message.",null,null],[3,"StructuredData","syslog_rfc5424::message","Container for the StructuredData component of a syslog message.",null,null],[3,"SyslogMessage","","",null,null],[12,"severity","","",2,null],[12,"facility","","",2,null],[12,"version","","",2,null],[12,"timestamp","","",2,null],[12,"hostname","","",2,null],[12,"appname","","",2,null],[12,"procid","","",2,null],[12,"msgid","","",2,null],[12,"sd","","",2,null],[12,"msg","","",2,null],[4,"ProcIdType","","ProcIDs are usually numeric PIDs; however, on some systems, they may be something else",null,null],[13,"PID","","",3,null],[13,"Name","","",3,null],[6,"time_t","","",null,null],[6,"pid_t","","",null,null],[6,"msgid_t","","",null,null],[6,"MessageType","","",null,null],[6,"SDIDType","","",null,null],[6,"SDParamIDType","","",null,null],[6,"SDParamValueType","","",null,null],[6,"StructuredDataElement","","",null,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"encode","","",3,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"encode","","",4,null],[11,"new_empty","","",4,{"inputs":[],"output":{"name":"structureddata"}}],[11,"insert_tuple","","Insert a new (sd_id, sd_param_id) -> sd_value mapping into the StructuredData",4,null],[11,"find_tuple","","Lookup by SDID, SDParamID pair",4,null],[11,"find_sdid","","Find all param/value mappings for a given SDID",4,null],[11,"len","","The number of distinct SD_IDs",4,null],[11,"encode","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"eq","syslog_rfc5424","",0,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"from_int","","Convert an int (as used in the wire serialization) into a SyslogFacility",0,{"inputs":[{"name":"i32"}],"output":{"name":"option"}}],[11,"encode","","",0,null],[11,"eq","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"from_int","","Convert an int (as used in the wire serialization) into a SyslogFacility",1,{"inputs":[{"name":"i32"}],"output":{"name":"option"}}],[11,"encode","","",1,null],[0,"parser","","",null,null],[4,"ParseErr","syslog_rfc5424::parser","",null,null],[13,"RegexDoesNotMatchErr","","",5,null],[13,"BadSeverityInPri","","",5,null],[13,"BadFacilityInPri","","",5,null],[13,"UnexpectedEndOfInput","","",5,null],[13,"TooFewDigits","","",5,null],[13,"TooManyDigits","","",5,null],[13,"InvalidUTCOffset","","",5,null],[13,"UnicodeError","","",5,null],[13,"ExpectedTokenErr","","",5,null],[13,"IntConversionErr","","",5,null],[13,"MissingField","","",5,null],[5,"parse_message","","Parse a string into a SyslogMessage object",null,{"inputs":[{"name":"s"}],"output":{"name":"result"}}],[11,"fmt","","",5,null]],"paths":[[4,"SyslogSeverity"],[4,"SyslogFacility"],[3,"SyslogMessage"],[4,"ProcIdType"],[3,"StructuredData"],[4,"ParseErr"]]}; initSearch(searchIndex);