|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splunk.HttpService
com.splunk.Service
com.splunk.StormService
public class StormService
The StormService
class represents a Splunk service instance at a
given address (host:port), accessed using the http
or https
protocol scheme.
Using the StormService
class, you can get a Receiver
object
and log events to it. For more information, see
Overview of the Splunk Java SDK on the Developer Portal.
Field Summary |
---|
Fields inherited from class com.splunk.Service |
---|
app, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_SCHEME, owner, password, passwordEndPoint, simpleReceiverEndPoint, token, username, version |
Fields inherited from class com.splunk.HttpService |
---|
host, port, scheme |
Constructor Summary | |
---|---|
StormService()
Creates a new StormService instance. |
Method Summary | |
---|---|
static StormService |
connect(java.util.Map<java.lang.String,java.lang.Object> args)
Establishes a connection to a Splunk Storm service using a map of arguments. |
Methods inherited from class com.splunk.HttpService |
---|
delete, delete, get, get, getHost, getPort, getPrefix, getScheme, getUrl, post, post |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StormService()
StormService
instance.
Method Detail |
---|
public static StormService connect(java.util.Map<java.lang.String,java.lang.Object> args)
StormService
instance and
authenticates the session using credentials passed in from the
args
map.
args
- The args
map.
StormService
instance.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |