Package com.datadog.api.client.v2.model
Class ObservabilityPipelineParseJSONProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineParseJSONProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineParseJSONProcessor
extends Object
The
parse_json processor extracts JSON from a specified field and flattens it into
the event. This is useful when logs contain embedded JSON as a string.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineParseJSONProcessor(Boolean enabled, String field, String id, String include, ObservabilityPipelineParseJSONProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanReturn true if this ObservabilityPipelineParseJSONProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The display name for a component.Indicates whether the processor is enabled.getField()The name of the log field that contains a JSON string.getId()A unique identifier for this component.A Datadog search query used to determine which logs this processor targets.getType()The processor type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidvoidvoidsetInclude(String include) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
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_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineParseJSONProcessor
public ObservabilityPipelineParseJSONProcessor() -
ObservabilityPipelineParseJSONProcessor
public ObservabilityPipelineParseJSONProcessor(Boolean enabled, String field, String id, String include, ObservabilityPipelineParseJSONProcessorType type)
-
-
Method Details
-
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 name of the log field that contains a JSON string.- Returns:
- field
-
setField
-
id
-
getId
A unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to downstream components).- Returns:
- id
-
setId
-
include
-
getInclude
A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
-
type
-
getType
The processor type. The value should always beparse_json.- 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:
- ObservabilityPipelineParseJSONProcessor
-
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 ObservabilityPipelineParseJSONProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-