Package org.netxms.client.events
Class SyslogRecord
- java.lang.Object
-
- org.netxms.client.events.SyslogRecord
-
public class SyslogRecord extends Object
Object representing single syslog record
-
-
Field Summary
Fields Modifier and Type Field Description static intALERTstatic intAUTHstatic intCLOCKDstatic intCRITCALstatic intCRONstatic intDEBUGstatic intEMERGENCYstatic intERRORstatic intFTPDstatic intINFORMATIONALstatic intKERNELstatic intLOCAL0static intLOCAL1static intLOCAL2static intLOCAL3static intLOCAL4static intLOCAL5static intLOCAL6static intLOCAL7static intLOG_ALERTstatic intLOG_AUDITstatic intLPRstatic intMAILstatic intNEWSstatic intNOTICEstatic intNTPstatic intSECURITYstatic intSYSLOGstatic intSYSTEMstatic intUSERstatic intUUCPstatic intWARNING
-
Constructor Summary
Constructors Constructor Description SyslogRecord(org.netxms.base.NXCPMessage msg, long baseId)Create syslog record object from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFacility()StringgetHostname()longgetId()StringgetMessage()intgetSeverity()longgetSourceObjectId()StringgetTag()DategetTimestamp()
-
-
-
Field Detail
-
KERNEL
public static final int KERNEL
- See Also:
- Constant Field Values
-
USER
public static final int USER
- See Also:
- Constant Field Values
-
MAIL
public static final int MAIL
- See Also:
- Constant Field Values
-
SYSTEM
public static final int SYSTEM
- See Also:
- Constant Field Values
-
AUTH
public static final int AUTH
- See Also:
- Constant Field Values
-
SYSLOG
public static final int SYSLOG
- See Also:
- Constant Field Values
-
LPR
public static final int LPR
- See Also:
- Constant Field Values
-
NEWS
public static final int NEWS
- See Also:
- Constant Field Values
-
UUCP
public static final int UUCP
- See Also:
- Constant Field Values
-
CRON
public static final int CRON
- See Also:
- Constant Field Values
-
SECURITY
public static final int SECURITY
- See Also:
- Constant Field Values
-
FTPD
public static final int FTPD
- See Also:
- Constant Field Values
-
NTP
public static final int NTP
- See Also:
- Constant Field Values
-
LOG_AUDIT
public static final int LOG_AUDIT
- See Also:
- Constant Field Values
-
LOG_ALERT
public static final int LOG_ALERT
- See Also:
- Constant Field Values
-
CLOCKD
public static final int CLOCKD
- See Also:
- Constant Field Values
-
LOCAL0
public static final int LOCAL0
- See Also:
- Constant Field Values
-
LOCAL1
public static final int LOCAL1
- See Also:
- Constant Field Values
-
LOCAL2
public static final int LOCAL2
- See Also:
- Constant Field Values
-
LOCAL3
public static final int LOCAL3
- See Also:
- Constant Field Values
-
LOCAL4
public static final int LOCAL4
- See Also:
- Constant Field Values
-
LOCAL5
public static final int LOCAL5
- See Also:
- Constant Field Values
-
LOCAL6
public static final int LOCAL6
- See Also:
- Constant Field Values
-
LOCAL7
public static final int LOCAL7
- See Also:
- Constant Field Values
-
EMERGENCY
public static final int EMERGENCY
- See Also:
- Constant Field Values
-
ALERT
public static final int ALERT
- See Also:
- Constant Field Values
-
CRITCAL
public static final int CRITCAL
- See Also:
- Constant Field Values
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
NOTICE
public static final int NOTICE
- See Also:
- Constant Field Values
-
INFORMATIONAL
public static final int INFORMATIONAL
- See Also:
- Constant Field Values
-
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
- Returns:
- the id
-
getTimestamp
public Date getTimestamp()
- Returns:
- the timestamp
-
getFacility
public int getFacility()
- Returns:
- the facility
-
getSeverity
public int getSeverity()
- Returns:
- the severity
-
getSourceObjectId
public long getSourceObjectId()
- Returns:
- the sourceObjectId
-
getHostname
public String getHostname()
- Returns:
- the hostname
-
getTag
public String getTag()
- Returns:
- the tag
-
getMessage
public String getMessage()
- Returns:
- the message
-
-