#[non_exhaustive]
pub struct SplunkDestinationConfiguration { pub hec_endpoint: Option<String>, pub hec_endpoint_type: Option<HecEndpointType>, pub hec_token: Option<String>, pub hec_acknowledgment_timeout_in_seconds: Option<i32>, pub retry_options: Option<SplunkRetryOptions>, pub s3_backup_mode: Option<SplunkS3BackupMode>, pub s3_configuration: Option<S3DestinationConfiguration>, pub processing_configuration: Option<ProcessingConfiguration>, pub cloud_watch_logging_options: Option<CloudWatchLoggingOptions>, }
Expand description

Describes the configuration of a destination in Splunk.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
hec_endpoint: Option<String>

The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.

hec_endpoint_type: Option<HecEndpointType>

This type can be either "Raw" or "Event."

hec_token: Option<String>

This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.

hec_acknowledgment_timeout_in_seconds: Option<i32>

The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.

retry_options: Option<SplunkRetryOptions>

The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.

s3_backup_mode: Option<SplunkS3BackupMode>

Defines how documents should be delivered to Amazon S3. When set to FailedEventsOnly, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to AllEvents, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is FailedEventsOnly.

You can update this backup mode from FailedEventsOnly to AllEvents. You can't update it from AllEvents to FailedEventsOnly.

s3_configuration: Option<S3DestinationConfiguration>

The configuration for the backup Amazon S3 location.

processing_configuration: Option<ProcessingConfiguration>

The data processing configuration.

cloud_watch_logging_options: Option<CloudWatchLoggingOptions>

The Amazon CloudWatch logging options for your delivery stream.

Implementations

The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.

This type can be either "Raw" or "Event."

This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.

The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.

The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.

Defines how documents should be delivered to Amazon S3. When set to FailedEventsOnly, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to AllEvents, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is FailedEventsOnly.

You can update this backup mode from FailedEventsOnly to AllEvents. You can't update it from AllEvents to FailedEventsOnly.

The configuration for the backup Amazon S3 location.

The data processing configuration.

The Amazon CloudWatch logging options for your delivery stream.

Creates a new builder-style object to manufacture SplunkDestinationConfiguration

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more