|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.Entity com.splunk.OutputSyslog
public class OutputSyslog
The OutputSyslog
class represents a syslog output, providing access
to properties of a forwarding server that provides data in standard syslog
format.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.splunk.Entity |
---|
content, toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, path, refreshArgs, service, title |
Method Summary | |
---|---|
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. |
Methods inherited from class com.splunk.Entity |
---|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |