public static enum SplunkUtils.SPECIAL_FIELDS extends Enum<SplunkUtils.SPECIAL_FIELDS>
Enum Constant and Description |
---|
EARLIEST_TIME
The earliest time boundary of a query, overwrites config variable
|
LATEST_TIME
The latest time bound of a query, overwrites config variable
|
SOURCETYPE
The sourcetype of a query.
|
SPL
Used to send raw SPL to Splunk
|
Modifier and Type | Method and Description |
---|---|
static boolean |
includes(String field)
Indicates whether the field in question is a special field and should be
pushed down to the query or not.
|
static SplunkUtils.SPECIAL_FIELDS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplunkUtils.SPECIAL_FIELDS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplunkUtils.SPECIAL_FIELDS SOURCETYPE
public static final SplunkUtils.SPECIAL_FIELDS SPL
public static final SplunkUtils.SPECIAL_FIELDS EARLIEST_TIME
public static final SplunkUtils.SPECIAL_FIELDS LATEST_TIME
public final String field
public static SplunkUtils.SPECIAL_FIELDS[] values()
for (SplunkUtils.SPECIAL_FIELDS c : SplunkUtils.SPECIAL_FIELDS.values()) System.out.println(c);
public static SplunkUtils.SPECIAL_FIELDS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean includes(String field)
unknownField
- The field to be pushed downCopyright © 1970 The Apache Software Foundation. All rights reserved.