public class Discovery
extends java.lang.Object
Discovery try to find the best pattern for the given string.| Constructor and Description |
|---|
Discovery(Grok grok)
Create a new
Discovery object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
discover(java.lang.String text)
Find a pattern from a log.
|
public Discovery(Grok grok)
Discovery object.grok - instance of grok