Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSplunkHecSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSplunkHecSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSplunkHecSource
extends Object
The
splunk_hec source implements the Splunk HTTP Event Collector (HEC) API.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddressKey(String addressKey) addValidTokensItem(ObservabilityPipelineSplunkHecSourceValidToken validTokensItem) booleanReturn true if this ObservabilityPipelineSplunkHecSource object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the environment variable or secret that holds the listen address for the HEC API.getId()The unique identifier for this component.Whentrue, the Splunk HEC token from the incoming request is stored in the event metadata.getTls()Configuration for enabling TLS encryption between the pipeline component and external connecting clients.getType()The source type.A list of tokens that are accepted for authenticating incoming HEC requests.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddressKey(String addressKey) voidvoidsetStoreHecToken(Boolean storeHecToken) voidvoidvoidsetValidTokens(List<ObservabilityPipelineSplunkHecSourceValidToken> validTokens) storeHecToken(Boolean storeHecToken) toString()validTokens(List<ObservabilityPipelineSplunkHecSourceValidToken> validTokens)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDRESS_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_STORE_HEC_TOKEN
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALID_TOKENS
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSplunkHecSource
public ObservabilityPipelineSplunkHecSource() -
ObservabilityPipelineSplunkHecSource
public ObservabilityPipelineSplunkHecSource(String id, ObservabilityPipelineSplunkHecSourceType type)
-
-
Method Details
-
addressKey
-
getAddressKey
Name of the environment variable or secret that holds the listen address for the HEC API.- Returns:
- addressKey
-
setAddressKey
-
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
-
storeHecToken
-
getStoreHecToken
Whentrue, the Splunk HEC token from the incoming request is stored in the event metadata. This allows downstream components to forward the token to other Splunk HEC destinations.- Returns:
- storeHecToken
-
setStoreHecToken
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external connecting clients.- Returns:
- tls
-
setTls
-
type
-
getType
The source type. Alwayssplunk_hec.- Returns:
- type
-
setType
-
validTokens
public ObservabilityPipelineSplunkHecSource validTokens(List<ObservabilityPipelineSplunkHecSourceValidToken> validTokens) -
addValidTokensItem
public ObservabilityPipelineSplunkHecSource addValidTokensItem(ObservabilityPipelineSplunkHecSourceValidToken validTokensItem) -
getValidTokens
A list of tokens that are accepted for authenticating incoming HEC requests. When set, the source rejects any request whose HEC token does not match an enabled entry in this list.- Returns:
- validTokens
-
setValidTokens
-
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:
- ObservabilityPipelineSplunkHecSource
-
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 ObservabilityPipelineSplunkHecSource object is equal to o. -
hashCode
public int hashCode() -
toString
-