public class SplunkConnection extends Object
| Constructor and Description |
|---|
SplunkConnection(SplunkPluginConfig config) |
SplunkConnection(SplunkPluginConfig config,
com.splunk.Service service)
This constructor is used for testing only
|
| Modifier and Type | Method and Description |
|---|---|
com.splunk.Service |
connect()
Connects to Splunk instance
|
com.splunk.EntityCollection<com.splunk.Index> |
getIndexes()
Gets the available indexes from Splunk.
|
public SplunkConnection(SplunkPluginConfig config)
public SplunkConnection(SplunkPluginConfig config, com.splunk.Service service)
public com.splunk.Service connect()
public com.splunk.EntityCollection<com.splunk.Index> getIndexes()
Copyright © 2021 The Apache Software Foundation. All rights reserved.