Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSplunkHecMetricsDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSplunkHecMetricsDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSplunkHecMetricsDestination
extends Object
The
splunk_hec_metrics destination forwards metrics to Splunk using the HTTP Event
Collector (HEC).
Supported pipeline types: metrics
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineSplunkHecMetricsDestination(String id, List<String> inputs, ObservabilityPipelineSplunkHecMetricsDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) defaultNamespace(String defaultNamespace) endpointUrlKey(String endpointUrlKey) booleanReturn true if this ObservabilityPipelineSplunkHecMetricsDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration for buffer settings on destination components.Compression algorithm applied when sending metrics to Splunk HEC.Optional default namespace for metrics sent to Splunk HEC.Name of the environment variable or secret that holds the Splunk HEC endpoint URL.getId()The unique identifier for this component.getIndex()Optional name of the Splunk index where metrics are written.A list of component IDs whose output is used as theinputfor this component.The Splunk source field value for metric events.The Splunk sourcetype to assign to metric events.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.Name of the environment variable or secret that holds the Splunk HEC token.getType()The destination type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetDefaultNamespace(String defaultNamespace) voidsetEndpointUrlKey(String endpointUrlKey) voidvoidvoidvoidvoidsetSourcetype(String sourcetype) voidvoidsetTokenKey(String tokenKey) voidsourcetype(String sourcetype) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_COMPRESSION
- See Also:
-
JSON_PROPERTY_DEFAULT_NAMESPACE
- See Also:
-
JSON_PROPERTY_ENDPOINT_URL_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SOURCETYPE
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOKEN_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSplunkHecMetricsDestination
public ObservabilityPipelineSplunkHecMetricsDestination() -
ObservabilityPipelineSplunkHecMetricsDestination
public ObservabilityPipelineSplunkHecMetricsDestination(String id, List<String> inputs, ObservabilityPipelineSplunkHecMetricsDestinationType type)
-
-
Method Details
-
buffer
public ObservabilityPipelineSplunkHecMetricsDestination buffer(ObservabilityPipelineBufferOptions buffer) -
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
compression
public ObservabilityPipelineSplunkHecMetricsDestination compression(ObservabilityPipelineSplunkHecMetricsDestinationCompression compression) -
getCompression
Compression algorithm applied when sending metrics to Splunk HEC.- Returns:
- compression
-
setCompression
-
defaultNamespace
-
getDefaultNamespace
Optional default namespace for metrics sent to Splunk HEC.- Returns:
- defaultNamespace
-
setDefaultNamespace
-
endpointUrlKey
-
getEndpointUrlKey
Name of the environment variable or secret that holds the Splunk HEC endpoint URL.- Returns:
- endpointUrlKey
-
setEndpointUrlKey
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
index
-
getIndex
Optional name of the Splunk index where metrics are written.- Returns:
- index
-
setIndex
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
source
-
getSource
The Splunk source field value for metric events.- Returns:
- source
-
setSource
-
sourcetype
-
getSourcetype
The Splunk sourcetype to assign to metric events.- Returns:
- sourcetype
-
setSourcetype
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
tokenKey
-
getTokenKey
Name of the environment variable or secret that holds the Splunk HEC token.- Returns:
- tokenKey
-
setTokenKey
-
type
-
getType
The destination type. Alwayssplunk_hec_metrics.- Returns:
- type
-
setType
-
putAdditionalProperty
public ObservabilityPipelineSplunkHecMetricsDestination 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:
- ObservabilityPipelineSplunkHecMetricsDestination
-
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 ObservabilityPipelineSplunkHecMetricsDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-