@Deprecated public class Pile extends Object
| Constructor and Description |
|---|
Pile()
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
addFromDirectory(String directory)
Deprecated.
Load patterns file from a directory
|
int |
addPattern(String name,
String file)
Deprecated.
|
int |
addPatternFromFile(String file)
Deprecated.
Add pattern to grok from a file
|
void |
compile(String pattern)
Deprecated.
Compile the pattern with a corresponding grok
|
Match |
match(String line)
Deprecated.
|
public int addPattern(String name, String file)
name - of the patternfile - pathpublic int addFromDirectory(String directory)
directory - public int addPatternFromFile(String file)
file - public void compile(String pattern) throws Throwable
pattern - ThrowableCopyright © 2016. All rights reserved.