Skip navigation links
A C D E G I L M O P R S T 

A

addFromDirectory(String) - Method in class oi.thekraken.grok.api.Pile
Deprecated.
Load patterns file from a directory
addPattern(String, String) - Method in class oi.thekraken.grok.api.Grok
Add custom pattern to grok in the runtime.
addPattern(String, String) - Method in class oi.thekraken.grok.api.Pile
Deprecated.
 
addPatternFromFile(String) - Method in class oi.thekraken.grok.api.Grok
Add patterns to Grok from the given file.
addPatternFromFile(String) - Method in class oi.thekraken.grok.api.Pile
Deprecated.
Add pattern to grok from a file
addPatternFromReader(Reader) - Method in class oi.thekraken.grok.api.Grok
Add patterns to Grok from a Reader.
addToRemove(String) - Method in class oi.thekraken.grok.api.Garbage
Set a field to be remove when exporting the final output.
addToRemove(List<String>) - Method in class oi.thekraken.grok.api.Garbage
Set a list of field name to be remove when exporting the final output.
addToRename(String, Object) - Method in class oi.thekraken.grok.api.Garbage
Set a new name to be change when exporting the final output.

C

capture(String) - Method in class oi.thekraken.grok.api.Grok
Match the given log with the named regex.
captures(List<String>) - Method in class oi.thekraken.grok.api.Grok
Match the given list of log with the named regex and return the list of json representation of the matched elements.
captures() - Method in class oi.thekraken.grok.api.Match
Match to the subject the regex and save the matched element into a map.
compile(String) - Method in class oi.thekraken.grok.api.Grok
Compile the Grok pattern to named regex pattern.
compile(String, boolean) - Method in class oi.thekraken.grok.api.Grok
Compile the Grok pattern to named regex pattern.
compile(String) - Method in class oi.thekraken.grok.api.Pile
Deprecated.
Compile the pattern with a corresponding grok
convert(String, Object) - Static method in class oi.thekraken.grok.api.Converter
 
Converter - Class in oi.thekraken.grok.api
Convert String argument to the right type.
Converter() - Constructor for class oi.thekraken.grok.api.Converter
 
converters - Static variable in class oi.thekraken.grok.api.Converter
 
copyPatterns(Map<String, String>) - Method in class oi.thekraken.grok.api.Grok
Copy the given Map of patterns (pattern name, regular expression) to Grok, duplicate element will be override.
create(String, String) - Static method in class oi.thekraken.grok.api.Grok
Create a Grok instance with the given patterns file and a Grok pattern.
create(String) - Static method in class oi.thekraken.grok.api.Grok
Create a Grok instance with the given grok patterns file.

D

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

E

EMPTY - Static variable in class oi.thekraken.grok.api.Grok
Create Empty Grok.
EMPTY - Static variable in class oi.thekraken.grok.api.Match
Create Empty grok matcher.

G

Garbage - Class in oi.thekraken.grok.api
The Leon the professional of Grok.
Garbage is use by grok to remove or rename elements before getting the final output
Garbage() - Constructor for class oi.thekraken.grok.api.Garbage
Create a new Garbage object.
getEnd() - Method in class oi.thekraken.grok.api.Match
 
getInstance() - Static method in class oi.thekraken.grok.api.Match
Singleton.
getMatch() - Method in class oi.thekraken.grok.api.Match
 
getNamedRegex() - Method in class oi.thekraken.grok.api.Grok
Get the named regex from the Grok pattern.
getNamedRegexCollection() - Method in class oi.thekraken.grok.api.Grok
Get the full collection of the named regex.
getNamedRegexCollectionById(String) - Method in class oi.thekraken.grok.api.Grok
Get the named regex from the given id.
getOriginalGrokPattern() - Method in class oi.thekraken.grok.api.Grok
Original grok pattern used to compile to the named regex.
getPatterns() - Method in class oi.thekraken.grok.api.Grok
Get the current map of Grok pattern.
getSaved_pattern() - Method in class oi.thekraken.grok.api.Grok
 
getStart() - Method in class oi.thekraken.grok.api.Match
 
getSubject() - Method in class oi.thekraken.grok.api.Match
Retrurn the single line of log.
Grok - Class in oi.thekraken.grok.api
Grok parse arbitrary text and structure it.
Grok is simple API that allows you to easily parse logs and other files (single line).
Grok() - Constructor for class oi.thekraken.grok.api.Grok
Create a new emptyGrok object.
GROK_ERROR_COMPILE_FAILED - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_ERROR_FILE_NOT_ACCESSIBLE - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_ERROR_NOMATCH - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_ERROR_PATTERN_NOT_FOUND - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_ERROR_UNEXPECTED_READ_SIZE - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_ERROR_UNINITIALIZED - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_OK - Static variable in class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GROK_PATTERN - Static variable in class oi.thekraken.grok.api.GrokUtils
Extract Grok patter like %{FOO} to FOO, Also Grok pattern with semantic.
GrokError - Class in oi.thekraken.grok.api.exception
Deprecated.
GrokError() - Constructor for class oi.thekraken.grok.api.exception.GrokError
Deprecated.
 
GrokException - Exception in oi.thekraken.grok.api.exception
Signals that an Grok exception of some sort has occurred.
GrokException() - Constructor for exception oi.thekraken.grok.api.exception.GrokException
Creates a new GrokException.
GrokException(String, Throwable) - Constructor for exception oi.thekraken.grok.api.exception.GrokException
Constructs a new GrokException.
GrokException(String) - Constructor for exception oi.thekraken.grok.api.exception.GrokException
Constructs a new GrokException.
GrokException(Throwable) - Constructor for exception oi.thekraken.grok.api.exception.GrokException
Constructs a new GrokException.
GrokUtils - Class in oi.thekraken.grok.api
GrokUtils contain set of useful tools or methods.
GrokUtils() - Constructor for class oi.thekraken.grok.api.GrokUtils
 

I

isNull() - Method in class oi.thekraken.grok.api.Match
Util fct.

L

locale - Static variable in class oi.thekraken.grok.api.Converter
 

M

match(String) - Method in class oi.thekraken.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 oi.thekraken.grok.api
Match is a representation in Grok world of your log.
Match() - Constructor for class oi.thekraken.grok.api.Match
Create a new Match object.
match(String) - Method in class oi.thekraken.grok.api.Pile
Deprecated.
 

O

oi.thekraken.grok.api - package oi.thekraken.grok.api
 
oi.thekraken.grok.api.exception - package oi.thekraken.grok.api.exception
 

P

Pile - Class in oi.thekraken.grok.api
Deprecated.
Pile() - Constructor for class oi.thekraken.grok.api.Pile
Deprecated.
Constructor

R

remove(Map<String, Object>) - Method in class oi.thekraken.grok.api.Garbage
Remove from the map the unwilling items.
rename(Map<String, Object>) - Method in class oi.thekraken.grok.api.Garbage
Rename the item from the map.

S

setEnd(int) - Method in class oi.thekraken.grok.api.Match
 
setGrok(Grok) - Method in class oi.thekraken.grok.api.Match
 
setMatch(Matcher) - Method in class oi.thekraken.grok.api.Match
 
setSaved_pattern(String) - Method in class oi.thekraken.grok.api.Grok
 
setStart(int) - Method in class oi.thekraken.grok.api.Match
 
setSubject(String) - Method in class oi.thekraken.grok.api.Match
Set the single line of log to parse.

T

toJson(Boolean) - Method in class oi.thekraken.grok.api.Match
Get the json representation of the matched element.
toJson() - Method in class oi.thekraken.grok.api.Match
Get the json representation of the matched element.
toMap() - Method in class oi.thekraken.grok.api.Match
Get the map representation of the matched element in the text.
A C D E G I L M O P R S T 
Skip navigation links

Copyright © 2016. All rights reserved.