Package com.datadog.api.client.v2.model
Class ObservabilityPipelineParseGrokProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineParseGrokProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineParseGrokProcessor
extends Object
The
parse_grok processor extracts structured fields from unstructured log messages
using Grok patterns.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineParseGrokProcessor(Boolean enabled, String id, String include, List<ObservabilityPipelineParseGrokProcessorRuleItem> rules, ObservabilityPipelineParseGrokProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptiondisableLibraryRules(Boolean disableLibraryRules) displayName(String displayName) booleanReturn true if this ObservabilityPipelineParseGrokProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.If set totrue, disables the default Grok rules provided by Datadog.The display name for a component.Indicates whether the processor is enabled.getField()The log field to parse with the Grok rules.getId()A unique identifier for this processor.A Datadog search query used to determine which logs this processor targets.getRules()The list of Grok parsing rules selected by either source field or include query.getType()The processor type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisableLibraryRules(Boolean disableLibraryRules) voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidvoidvoidsetInclude(String include) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISABLE_LIBRARY_RULES
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_FIELD
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineParseGrokProcessor
public ObservabilityPipelineParseGrokProcessor() -
ObservabilityPipelineParseGrokProcessor
public ObservabilityPipelineParseGrokProcessor(Boolean enabled, String id, String include, List<ObservabilityPipelineParseGrokProcessorRuleItem> rules, ObservabilityPipelineParseGrokProcessorType type)
-
-
Method Details
-
disableLibraryRules
-
getDisableLibraryRules
If set totrue, disables the default Grok rules provided by Datadog.- Returns:
- disableLibraryRules
-
setDisableLibraryRules
-
displayName
-
getDisplayName
The display name for a component.- Returns:
- displayName
-
setDisplayName
-
enabled
-
getEnabled
Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
-
field
-
getField
The log field to parse with the Grok rules.- Returns:
- field
-
setField
-
id
-
getId
A unique identifier for this processor.- Returns:
- id
-
setId
-
include
-
getInclude
A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
-
rules
public ObservabilityPipelineParseGrokProcessor rules(List<ObservabilityPipelineParseGrokProcessorRuleItem> rules) -
addRulesItem
public ObservabilityPipelineParseGrokProcessor addRulesItem(ObservabilityPipelineParseGrokProcessorRuleItem rulesItem) -
getRules
The list of Grok parsing rules selected by either source field or include query.- Returns:
- rules
-
setRules
-
type
-
getType
The processor type. The value should always beparse_grok.- Returns:
- type
-
setType
-
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:
- ObservabilityPipelineParseGrokProcessor
-
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 ObservabilityPipelineParseGrokProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-