logo
pub struct SplunkDestinationConfiguration {
    pub cloud_watch_logging_options: Option<CloudWatchLoggingOptions>,
    pub hec_acknowledgment_timeout_in_seconds: Option<i64>,
    pub hec_endpoint: String,
    pub hec_endpoint_type: String,
    pub hec_token: String,
    pub processing_configuration: Option<ProcessingConfiguration>,
    pub retry_options: Option<SplunkRetryOptions>,
    pub s3_backup_mode: Option<String>,
    pub s3_configuration: S3DestinationConfiguration,
}
Expand description

Describes the configuration of a destination in Splunk.

Fields

cloud_watch_logging_options: Option<CloudWatchLoggingOptions>

The Amazon CloudWatch logging options for your delivery stream.

hec_acknowledgment_timeout_in_seconds: Option<i64>

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.

hec_endpoint: String

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

hec_endpoint_type: String

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

hec_token: String

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

processing_configuration: Option<ProcessingConfiguration>

The data processing configuration.

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<String>

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: S3DestinationConfiguration

The configuration for the backup Amazon S3 location.

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

Returns the “default value” for a type. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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