Modifier and Type | Method and Description |
---|---|
String |
getServer()
Returns the destination
host:port of this server. |
String |
getType()
Returns the connection type of this server.
|
void |
setPriority(int priority)
Sets the syslog priority.
|
void |
setServer(String server)
Sets the
host:port where the syslog data is sent. |
void |
setTimestampFormat(String timestampformat)
Sets the timestamp format that precedes each event that is sent.
|
void |
setType(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getServer()
host:port
of this server.host:port
.public String getType()
public void setPriority(int priority)
priority
- The syslog priority.public void setServer(String server)
host:port
where the syslog data is sent.server
- The destination host:port
.public void setTimestampFormat(String timestampformat)
timestampformat
- The timestamp format.public void setType(String type)
type
- The protocol type.Copyright © 2022 Splunk, Inc.. All rights reserved.