com.splunk
Class InputKind

java.lang.Object
  extended by com.splunk.InputKind

public class InputKind
extends java.lang.Object

The InputKind enumeration defines the different types of Splunk data inputs (input kinds). For example, a raw TCP input is InputKind.Tcp, and a cooked TCP input is InputKind.TcpSplunk. Each modular input kind shows up as a separate instance of InputKind.


Field Summary
static InputKind Monitor
          Monitor input.
static InputKind Script
          Script input.
static InputKind Tcp
          Raw TCP input.
static InputKind TcpSplunk
          Cooked TCP input.
static InputKind Udp
          UDP input.
static InputKind Unknown
          Unknown type of input.
static InputKind WindowsActiveDirectory
          Windows Active Directory input.
static InputKind WindowsEventLog
          Windows event log input.
static InputKind WindowsPerfmon
          Windows performance monitor input.
static InputKind WindowsRegistry
          Windows Registry input.
static InputKind WindowsWmi
          Windows Management Instrumentation (WMI) input.
static InputKind WinEventLog
           
static InputKind WinRegMon
           
 
Method Summary
static InputKind create(java.lang.String relpath)
          Create an InputKind object from a String giving the relative path from data/inputs/ to the kind.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Unknown

public static final InputKind Unknown
Unknown type of input.


Monitor

public static final InputKind Monitor
Monitor input.


Script

public static final InputKind Script
Script input.


Tcp

public static final InputKind Tcp
Raw TCP input.


TcpSplunk

public static final InputKind TcpSplunk
Cooked TCP input.


Udp

public static final InputKind Udp
UDP input.


WindowsActiveDirectory

public static final InputKind WindowsActiveDirectory
Windows Active Directory input.


WindowsEventLog

public static final InputKind WindowsEventLog
Windows event log input.


WinEventLog

public static final InputKind WinEventLog

WindowsPerfmon

public static final InputKind WindowsPerfmon
Windows performance monitor input.


WindowsRegistry

public static final InputKind WindowsRegistry
Windows Registry input.


WinRegMon

public static final InputKind WinRegMon

WindowsWmi

public static final InputKind WindowsWmi
Windows Management Instrumentation (WMI) input.

Method Detail

create

public static InputKind create(java.lang.String relpath)
Create an InputKind object from a String giving the relative path from data/inputs/ to the kind. For example, "tcp/raw" or "monitor". InputKind's constructors are private. You should use this method to create an InputKind.

Parameters:
relpath - The relative path from data/inputs specifying the InputKind to create.
Returns:
An InputKind object.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Textual representation for debugging purposes.