Package com.datadog.api.client.v2.model
Class ObservabilityPipelineParseGrokProcessorIncludeRule
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineParseGrokProcessorIncludeRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineParseGrokProcessorIncludeRule
extends Object
A Grok parsing rule selected using the
include query. Each rule defines how to
extract structured fields from logs matching a Datadog search query.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineParseGrokProcessorIncludeRule(String include, List<ObservabilityPipelineParseGrokProcessorRuleMatchRule> matchRules) -
Method Summary
Modifier and TypeMethodDescriptionaddSupportRulesItem(ObservabilityPipelineParseGrokProcessorRuleSupportRule supportRulesItem) booleanReturn true if this ObservabilityPipelineParseGrokProcessorIncludeRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A Datadog search query used to determine which logs this Grok rule targets.A list of Grok parsing rules that define how to extract fields from matching logs.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.voidsetInclude(String include) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_MATCH_RULES
- See Also:
-
JSON_PROPERTY_SUPPORT_RULES
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineParseGrokProcessorIncludeRule
public ObservabilityPipelineParseGrokProcessorIncludeRule() -
ObservabilityPipelineParseGrokProcessorIncludeRule
public ObservabilityPipelineParseGrokProcessorIncludeRule(String include, List<ObservabilityPipelineParseGrokProcessorRuleMatchRule> matchRules)
-
-
Method Details
-
include
-
getInclude
A Datadog search query used to determine which logs this Grok rule targets.- Returns:
- include
-
setInclude
-
matchRules
public ObservabilityPipelineParseGrokProcessorIncludeRule matchRules(List<ObservabilityPipelineParseGrokProcessorRuleMatchRule> matchRules) -
addMatchRulesItem
public ObservabilityPipelineParseGrokProcessorIncludeRule addMatchRulesItem(ObservabilityPipelineParseGrokProcessorRuleMatchRule matchRulesItem) -
getMatchRules
A list of Grok parsing rules that define how to extract fields from matching logs. Each rule must contain a name and a valid Grok pattern.- Returns:
- matchRules
-
setMatchRules
-
supportRules
public ObservabilityPipelineParseGrokProcessorIncludeRule supportRules(List<ObservabilityPipelineParseGrokProcessorRuleSupportRule> supportRules) -
addSupportRulesItem
public ObservabilityPipelineParseGrokProcessorIncludeRule 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
public ObservabilityPipelineParseGrokProcessorIncludeRule putAdditionalProperty(String key, Object value) 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:
- ObservabilityPipelineParseGrokProcessorIncludeRule
-
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 ObservabilityPipelineParseGrokProcessorIncludeRule object is equal to o. -
hashCode
public int hashCode() -
toString
-