Package com.datadog.api.client.v2.model
Class ObservabilityPipelineParseGrokProcessorRule
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineParseGrokProcessorRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineParseGrokProcessorRule
extends Object
A Grok parsing rule used in the
parse_grok processor. Each rule defines how to
extract structured fields from a specific log field using Grok patterns.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineParseGrokProcessorRule(List<ObservabilityPipelineParseGrokProcessorRuleMatchRule> matchRules, String source) -
Method Summary
Modifier and TypeMethodDescriptionaddSupportRulesItem(ObservabilityPipelineParseGrokProcessorRuleSupportRule supportRulesItem) booleanReturn true if this ObservabilityPipelineParseGrokProcessorRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of Grok parsing rules that define how to extract fields from the source field.The value of the source field in log events to be processed by the Grok rules.A list of Grok helper rules that can be referenced by the parsing rules.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MATCH_RULES
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SUPPORT_RULES
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineParseGrokProcessorRule
public ObservabilityPipelineParseGrokProcessorRule() -
ObservabilityPipelineParseGrokProcessorRule
public ObservabilityPipelineParseGrokProcessorRule(List<ObservabilityPipelineParseGrokProcessorRuleMatchRule> matchRules, String source)
-
-
Method Details
-
matchRules
public ObservabilityPipelineParseGrokProcessorRule matchRules(List<ObservabilityPipelineParseGrokProcessorRuleMatchRule> matchRules) -
addMatchRulesItem
public ObservabilityPipelineParseGrokProcessorRule addMatchRulesItem(ObservabilityPipelineParseGrokProcessorRuleMatchRule matchRulesItem) -
getMatchRules
A list of Grok parsing rules that define how to extract fields from the source field. Each rule must contain a name and a valid Grok pattern.- Returns:
- matchRules
-
setMatchRules
-
source
-
getSource
The value of the source field in log events to be processed by the Grok rules.- Returns:
- source
-
setSource
-
supportRules
public ObservabilityPipelineParseGrokProcessorRule supportRules(List<ObservabilityPipelineParseGrokProcessorRuleSupportRule> supportRules) -
addSupportRulesItem
public ObservabilityPipelineParseGrokProcessorRule addSupportRulesItem(ObservabilityPipelineParseGrokProcessorRuleSupportRule supportRulesItem) -
getSupportRules
A list of Grok helper rules that can be referenced by the parsing rules.- Returns:
- supportRules
-
setSupportRules
public void setSupportRules(List<ObservabilityPipelineParseGrokProcessorRuleSupportRule> supportRules) -
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ObservabilityPipelineParseGrokProcessorRule
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ObservabilityPipelineParseGrokProcessorRule object is equal to o. -
hashCode
public int hashCode() -
toString
-