public class Raw extends PayloadBase implements Serializable
If no matcher matches a given input, the resulting event will have a Raw
payload
associated with it.
Constructor and Description |
---|
Raw()
Construct matcher object.
|
Raw(String input,
Event e,
com.mozilla.secops.parser.ParserState state)
Construct parser object.
|
Modifier and Type | Method and Description |
---|---|
String |
eventStringValue(EventFilterPayload.StringProperty property)
Return a given String payload field value based on the supplied field identifier
|
String |
getRaw()
Get raw string
|
Payload.PayloadType |
getType()
Get payload type.
|
Boolean |
matcher(String input,
com.mozilla.secops.parser.ParserState state)
Apply matcher.
|
eventIntegerValue
public Boolean matcher(String input, com.mozilla.secops.parser.ParserState state)
PayloadBase
matcher
in class PayloadBase
input
- Input string.state
- ParserStatepublic Payload.PayloadType getType()
PayloadBase
getType
in class PayloadBase
Payload.PayloadType
public String getRaw()
Returns original event string that could not be parsed.
public String eventStringValue(EventFilterPayload.StringProperty property)
PayloadBase
eventStringValue
in class PayloadBase
property
- EventFilterPayload.StringProperty
Copyright © 2022. All rights reserved.