Skip navigation links
A C D E G I M N R S V 

A

aliases - Variable in enum io.krakens.grok.api.Converter.Type
 

C

capture(String) - Method in class io.krakens.grok.api.Grok
Match the given log with the named regex.
capture(List<String>) - Method in class io.krakens.grok.api.Grok
Match the given list of log with the named regex and return the list of json representation of the matched elements.
capture() - Method in class io.krakens.grok.api.Match
Match to the subject the regex and save the matched element into a map.
captureFlattened() - Method in class io.krakens.grok.api.Match
Match to the subject the regex and save the matched element into a map Multiple values to the same key are flattened to one value: the sole non-null value will be captured.
compile(String) - Method in class io.krakens.grok.api.GrokCompiler
Compiles a given Grok pattern and returns a Grok object which can parse the pattern.
compile(String, boolean) - Method in class io.krakens.grok.api.GrokCompiler
 
compile(String, ZoneId, boolean) - Method in class io.krakens.grok.api.GrokCompiler
Compiles a given Grok pattern and returns a Grok object which can parse the pattern.
Converter - Class in io.krakens.grok.api
Convert String argument to the right type.
Converter() - Constructor for class io.krakens.grok.api.Converter
 
converter - Variable in enum io.krakens.grok.api.Converter.Type
 
Converter.Type - Enum in io.krakens.grok.api
 
converters - Variable in class io.krakens.grok.api.Grok
 

D

discover(String) - Method in class io.krakens.grok.api.Discovery
Find a pattern from a log.
discover(String) - Method in class io.krakens.grok.api.Grok
Grok will try to find the best expression that will match your input.
Discovery - Class in io.krakens.grok.api
Discovery try to find the best pattern for the given string.
Discovery(Grok) - Constructor for class io.krakens.grok.api.Discovery
Create a new Discovery object.

E

EMPTY - Static variable in class io.krakens.grok.api.Match
Create Empty grok matcher.
extractKey(String) - Static method in class io.krakens.grok.api.Converter
 

G

getConverters(Collection<String>, Object...) - Static method in class io.krakens.grok.api.Converter
 
getEnd() - Method in class io.krakens.grok.api.Match
 
getGroupTypes(Collection<String>) - Static method in class io.krakens.grok.api.Converter
 
getMatch() - Method in class io.krakens.grok.api.Match
 
getNamedRegex() - Method in class io.krakens.grok.api.Grok
Get the named regex from the Grok pattern.
getNamedRegexCollection() - Method in class io.krakens.grok.api.Grok
Get the full collection of the named regex.
getNamedRegexCollectionById(String) - Method in class io.krakens.grok.api.Grok
Get the named regex from the given id.
getNameGroups(String) - Static method in class io.krakens.grok.api.GrokUtils
 
getOriginalGrokPattern() - Method in class io.krakens.grok.api.Grok
Original grok pattern used to compile to the named regex.
getPatternDefinitions() - Method in class io.krakens.grok.api.GrokCompiler
 
getPatterns() - Method in class io.krakens.grok.api.Grok
Get the current map of Grok pattern.
getSaved_pattern() - Method in class io.krakens.grok.api.Grok
 
getStart() - Method in class io.krakens.grok.api.Match
 
getSubject() - Method in class io.krakens.grok.api.Match
Retrurn the single line of log.
Grok - Class in io.krakens.grok.api
Grok parse arbitrary text and structure it.
Grok(String, String, Map<String, String>, Map<String, String>, ZoneId) - Constructor for class io.krakens.grok.api.Grok
 
GROK_PATTERN - Static variable in class io.krakens.grok.api.GrokUtils
Extract Grok patter like %{FOO} to FOO, Also Grok pattern with semantic.
GrokCompiler - Class in io.krakens.grok.api
 
GrokException - Exception in io.krakens.grok.api.exception
Signals that an Grok exception of some sort has occurred.
GrokException() - Constructor for exception io.krakens.grok.api.exception.GrokException
Creates a new GrokException.
GrokException(String, Throwable) - Constructor for exception io.krakens.grok.api.exception.GrokException
Constructs a new GrokException.
GrokException(String) - Constructor for exception io.krakens.grok.api.exception.GrokException
Constructs a new GrokException.
GrokException(Throwable) - Constructor for exception io.krakens.grok.api.exception.GrokException
Constructs a new GrokException.
GrokUtils - Class in io.krakens.grok.api
GrokUtils contain set of useful tools or methods.
GrokUtils() - Constructor for class io.krakens.grok.api.GrokUtils
 
groupTypes - Variable in class io.krakens.grok.api.Grok
 

I

io.krakens.grok.api - package io.krakens.grok.api
 
io.krakens.grok.api.exception - package io.krakens.grok.api.exception
 
isKeepEmptyCaptures() - Method in class io.krakens.grok.api.Match
 
isNull() - Method in class io.krakens.grok.api.Match
Util fct.

M

match(CharSequence) - Method in class io.krakens.grok.api.Grok
Match the given text with the named regex Grok will extract data from the string and get an extence of Match.
Match - Class in io.krakens.grok.api
Match is a representation in Grok world of your log.
Match(CharSequence, Grok, Matcher, int, int) - Constructor for class io.krakens.grok.api.Match
Create a new Match object.

N

NAMED_REGEX - Static variable in class io.krakens.grok.api.GrokUtils
 
namedGroups - Variable in class io.krakens.grok.api.Grok
 
namedGroups(Matcher, Set<String>) - Static method in class io.krakens.grok.api.GrokUtils
 
newInstance() - Static method in class io.krakens.grok.api.GrokCompiler
 

R

register(String, String) - Method in class io.krakens.grok.api.GrokCompiler
Registers a new pattern definition.
register(Map<String, String>) - Method in class io.krakens.grok.api.GrokCompiler
Registers multiple pattern definitions.
register(InputStream) - Method in class io.krakens.grok.api.GrokCompiler
Registers multiple pattern definitions from a given inputStream, and decoded as a UTF-8 source.
register(InputStream, Charset) - Method in class io.krakens.grok.api.GrokCompiler
Registers multiple pattern definitions from a given inputStream.
register(Reader) - Method in class io.krakens.grok.api.GrokCompiler
Registers multiple pattern definitions from a given Reader.
registerDefaultPatterns() - Method in class io.krakens.grok.api.GrokCompiler
 
registerPatternFromClasspath(String) - Method in class io.krakens.grok.api.GrokCompiler
 
registerPatternFromClasspath(String, Charset) - Method in class io.krakens.grok.api.GrokCompiler
 

S

setKeepEmptyCaptures(boolean) - Method in class io.krakens.grok.api.Match
Ignore empty captures.
setSaved_pattern(String) - Method in class io.krakens.grok.api.Grok
 

V

valueOf(String) - Static method in enum io.krakens.grok.api.Converter.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.krakens.grok.api.Converter.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G I M N R S V 
Skip navigation links