@Metadata(label="dataformat,transformation", title="Grok", firstVersion="3.0.0") public class GrokDataFormat extends DataFormatDefinition
Constructor and Description |
---|
GrokDataFormat() |
Modifier and Type | Method and Description |
---|---|
String |
getAllowMultipleMatchesPerLine() |
String |
getFlattened() |
String |
getNamedOnly() |
String |
getPattern() |
void |
setAllowMultipleMatchesPerLine(String allowMultipleMatchesPerLine)
If false, every line of input is matched for pattern only once.
|
void |
setFlattened(String flattened)
Turns on flattened mode.
|
void |
setNamedOnly(String namedOnly)
Whether to capture named expressions only or not (i.e.
|
void |
setPattern(String pattern)
The grok pattern to match lines of input
|
String |
toString() |
getDataFormat, getDataFormatName, getShortName, setDataFormat, setDataFormatName
getId, setId
public String getPattern()
public void setPattern(String pattern)
public String getFlattened()
public void setFlattened(String flattened)
public String getAllowMultipleMatchesPerLine()
public void setAllowMultipleMatchesPerLine(String allowMultipleMatchesPerLine)
public String getNamedOnly()
public void setNamedOnly(String namedOnly)
Apache Camel