com.splunk
Class StormService

java.lang.Object
  extended by com.splunk.HttpService
      extended by com.splunk.Service
          extended by com.splunk.StormService

public class StormService
extends Service

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.Service
export, export, fullpath, getApp, getApplications, getCapabilities, getConfs, getConfs, getDeploymentClient, getDeploymentServerClasses, getDeploymentServerClasses, getDeploymentServers, getDeploymentServers, getDeploymentTenants, getDeploymentTenants, getDistributedConfiguration, getDistributedPeers, getDistributedPeers, getEventTypes, getEventTypes, getFiredAlertGroups, getFiredAlerts, getIndexes, getIndexes, getInfo, getInputs, getInputs, getJobs, getJobs, getLicenseGroups, getLicenseGroups, getLicenseMessages, getLicenseMessages, getLicensePools, getLicensePools, getLicenses, getLicenses, getLicenseSlaves, getLicenseSlaves, getLicenseStacks, getLicenseStacks, getLoggers, getLoggers, getMessages, getMessages, getOutputDefault, getOutputGroups, getOutputGroups, getOutputServers, getOutputServers, getOutputSyslogs, getOutputSyslogs, getOwner, getPassword, getPasswords, getPasswords, getReceiver, getRoles, getRoles, getSavedSearches, getSavedSearches, getSettings, getToken, getUploads, getUploads, getUsername, getUsers, getUsers, login, logout, oneshot, oneshot, oneshot, open, parse, parse, restart, search, search, search, send, setToken, versionCompare
 
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

StormService

public StormService()
Creates a new StormService instance.

Method Detail

connect

public 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. This member creates a new StormService instance and authenticates the session using credentials passed in from the args map.

Parameters:
args - The args map.
Returns:
A new StormService instance.