Index

A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

accept(float) - Method in interface org.elasticsearch.grok.FloatConsumer
Consumes the value.

B

bank() - Method in class org.elasticsearch.grok.PatternBank
 
BOOLEAN - Enum constant in enum class org.elasticsearch.grok.GrokCaptureType
 

C

captureConfig() - Method in class org.elasticsearch.grok.Grok
The list of values that this Grok can capture.
captureRanges(String) - Method in class org.elasticsearch.grok.Grok
Matches and returns the ranges of any named captures.
captures(String) - Method in class org.elasticsearch.grok.Grok
Matches and returns any named captures.

D

DOUBLE - Enum constant in enum class org.elasticsearch.grok.GrokCaptureType
 

E

ECS_COMPATIBILITY_DISABLED - Static variable in class org.elasticsearch.grok.GrokBuiltinPatterns
 
ECS_COMPATIBILITY_MODES - Static variable in class org.elasticsearch.grok.GrokBuiltinPatterns
 
ECS_COMPATIBILITY_V1 - Static variable in class org.elasticsearch.grok.GrokBuiltinPatterns
 
ecsV1Patterns() - Static method in class org.elasticsearch.grok.GrokBuiltinPatterns
 
EMPTY - Static variable in class org.elasticsearch.grok.PatternBank
 
equals(Object) - Method in record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Indicates whether some other object is "equal to" this one.
extendWith(Map<String, String>) - Method in class org.elasticsearch.grok.PatternBank
Extends a pattern bank with extra patterns, returning a new pattern bank.
extract(byte[], int, Region) - Method in interface org.elasticsearch.grok.GrokCaptureExtracter
 
extract(byte[], int, Region) - Method in class org.elasticsearch.grok.GrokCaptureExtracter.MapExtracter
 

F

FLOAT - Enum constant in enum class org.elasticsearch.grok.GrokCaptureType
 
FloatConsumer - Interface in org.elasticsearch.grok
Primitive Consumer for floats.
forBoolean(Function<Consumer<Boolean>, GrokCaptureExtracter>) - Method in interface org.elasticsearch.grok.GrokCaptureConfig.NativeExtracterMap
Called when the native type is an
invalid reference
boolean
.
forDouble(Function<DoubleConsumer, GrokCaptureExtracter>) - Method in interface org.elasticsearch.grok.GrokCaptureConfig.NativeExtracterMap
Called when the native type is an
invalid reference
double
.
forFloat(Function<FloatConsumer, GrokCaptureExtracter>) - Method in interface org.elasticsearch.grok.GrokCaptureConfig.NativeExtracterMap
Called when the native type is an
invalid reference
float
.
forInt(Function<IntConsumer, GrokCaptureExtracter>) - Method in interface org.elasticsearch.grok.GrokCaptureConfig.NativeExtracterMap
Called when the native type is an
invalid reference
int
.
forLong(Function<LongConsumer, GrokCaptureExtracter>) - Method in interface org.elasticsearch.grok.GrokCaptureConfig.NativeExtracterMap
Called when the native type is an
invalid reference
long
.
forString(Function<Consumer<String>, GrokCaptureExtracter>) - Method in interface org.elasticsearch.grok.GrokCaptureConfig.NativeExtracterMap
Called when the native type is a String.

G

get(boolean) - Static method in class org.elasticsearch.grok.GrokBuiltinPatterns
Load built-in patterns.
get(String) - Static method in class org.elasticsearch.grok.GrokBuiltinPatterns
 
get(String) - Method in class org.elasticsearch.grok.PatternBank
 
getCompiledExpression() - Method in class org.elasticsearch.grok.Grok
 
Grok - Class in org.elasticsearch.grok
 
Grok(PatternBank, String, Consumer<String>) - Constructor for class org.elasticsearch.grok.Grok
 
Grok(PatternBank, String, MatcherWatchdog, Consumer<String>) - Constructor for class org.elasticsearch.grok.Grok
 
GrokBuiltinPatterns - Class in org.elasticsearch.grok
 
GrokBuiltinPatterns() - Constructor for class org.elasticsearch.grok.GrokBuiltinPatterns
 
GrokCaptureConfig - Class in org.elasticsearch.grok
Configuration for a value that Grok can capture.
GrokCaptureConfig.NativeExtracterMap<T> - Interface in org.elasticsearch.grok
Collection of handlers for each native type.
GrokCaptureExtracter - Interface in org.elasticsearch.grok
How to extract matches.
GrokCaptureExtracter.MapExtracter - Class in org.elasticsearch.grok
Extract Map results.
GrokCaptureExtracter.Range - Record Class in org.elasticsearch.grok
 
GrokCaptureType - Enum Class in org.elasticsearch.grok
The type defined for the field in the pattern.

H

hashCode() - Method in record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Returns a hash code value for this object.

I

INTEGER - Enum constant in enum class org.elasticsearch.grok.GrokCaptureType
 
isValidEcsCompatibilityMode(String) - Static method in class org.elasticsearch.grok.GrokBuiltinPatterns
 

L

legacyPatterns() - Static method in class org.elasticsearch.grok.GrokBuiltinPatterns
 
length() - Method in record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Returns the value of the length record component.
LONG - Enum constant in enum class org.elasticsearch.grok.GrokCaptureType
 

M

match() - Method in record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Returns the value of the match record component.
match(byte[], int, int, GrokCaptureExtracter) - Method in class org.elasticsearch.grok.Grok
Matches and collects any named captures.
match(String) - Method in class org.elasticsearch.grok.Grok
Checks whether a specific text matches the defined grok expression.
MatcherWatchdog - Interface in org.elasticsearch.grok
Protects against long running operations that happen between the register and unregister invocations.
MatcherWatchdog.Default - Class in org.elasticsearch.grok
 
MatcherWatchdog.Noop - Class in org.elasticsearch.grok
 
maxExecutionTimeInMillis() - Method in class org.elasticsearch.grok.MatcherWatchdog.Default
 
maxExecutionTimeInMillis() - Method in interface org.elasticsearch.grok.MatcherWatchdog
 
maxExecutionTimeInMillis() - Method in class org.elasticsearch.grok.MatcherWatchdog.Noop
 

N

name() - Method in class org.elasticsearch.grok.GrokCaptureConfig
The name defined for the field in the pattern.
nativeExtracter(GrokCaptureConfig.NativeExtracterMap<T>) - Method in class org.elasticsearch.grok.GrokCaptureConfig
Build an extract that has access to the "native" type of the extracter match.
newInstance(long, long, LongSupplier, BiConsumer<Long, Runnable>) - Static method in interface org.elasticsearch.grok.MatcherWatchdog
Returns an implementation that checks for each fixed interval if there are threads that have invoked MatcherWatchdog.register(Matcher) and not MatcherWatchdog.unregister(Matcher) and have been in this state for longer than the specified max execution interval and then interrupts these threads.
noop() - Static method in interface org.elasticsearch.grok.MatcherWatchdog
 

O

objectExtracter(Consumer<Object>) - Method in class org.elasticsearch.grok.GrokCaptureConfig
Build a GrokCaptureExtracter that will call emit when it extracts text, boxed if the "native" representation is primitive type.
offset() - Method in record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Returns the value of the offset record component.
org.elasticsearch.grok - module org.elasticsearch.grok
 
org.elasticsearch.grok - package org.elasticsearch.grok
 

P

PatternBank - Class in org.elasticsearch.grok
 
PatternBank(Map<String, String>) - Constructor for class org.elasticsearch.grok.PatternBank
 

R

Range(Object, int, int) - Constructor for record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Creates an instance of a Range record class.
rangeExtracter(Consumer<Object>) - Method in class org.elasticsearch.grok.GrokCaptureConfig
Creates a GrokCaptureExtracter that will call emit with the extracted range (offset and length) when it extracts text.
rawExtracter(int[], Consumer<? super String>) - Static method in enum class org.elasticsearch.grok.GrokCaptureType
 
register(Matcher) - Method in class org.elasticsearch.grok.MatcherWatchdog.Default
 
register(Matcher) - Method in class org.elasticsearch.grok.MatcherWatchdog.Noop
 
register(Matcher) - Method in interface org.elasticsearch.grok.MatcherWatchdog
Registers the current matcher and interrupts the this matcher if the takes too long for this thread to invoke MatcherWatchdog.unregister(Matcher).

S

STRING - Enum constant in enum class org.elasticsearch.grok.GrokCaptureType
 

T

toString() - Method in record class org.elasticsearch.grok.GrokCaptureExtracter.Range
Returns a string representation of this record class.
type() - Method in class org.elasticsearch.grok.GrokCaptureConfig
The type defined for the field in the pattern.

U

unregister(Matcher) - Method in class org.elasticsearch.grok.MatcherWatchdog.Default
 
unregister(Matcher) - Method in class org.elasticsearch.grok.MatcherWatchdog.Noop
 
unregister(Matcher) - Method in interface org.elasticsearch.grok.MatcherWatchdog
Unregisters the current matcher and prevents it from being interrupted.

V

valueOf(String) - Static method in enum class org.elasticsearch.grok.GrokCaptureType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.elasticsearch.grok.GrokCaptureType
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values