public class OutputSyslog extends Entity
OutputSyslog
class represents a syslog output, providing access
to properties of a forwarding server that provides data in standard syslog
format.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServer()
Returns the destination
host:port of this server. |
java.lang.String |
getType()
Returns the connection type of this server.
|
void |
setPriority(int priority)
Sets the syslog priority.
|
void |
setServer(java.lang.String server)
Sets the
host:port where the syslog data is sent. |
void |
setTimestampFormat(java.lang.String timestampformat)
Sets the timestamp format that precedes each event that is sent.
|
void |
setType(java.lang.String type)
Sets the protocol to use to send syslog data.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
public java.lang.String getServer()
host:port
of this server.host:port
.public java.lang.String getType()
public void setPriority(int priority)
priority
- The syslog priority.public void setServer(java.lang.String server)
host:port
where the syslog data is sent.server
- The destination host:port
.public void setTimestampFormat(java.lang.String timestampformat)
timestampformat
- The timestamp format.public void setType(java.lang.String type)
type
- The protocol type.