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
sourceimpl Clone for SplunkDestinationConfiguration
impl Clone for SplunkDestinationConfiguration
sourcefn clone(&self) -> SplunkDestinationConfiguration
fn clone(&self) -> SplunkDestinationConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SplunkDestinationConfiguration
impl Default for SplunkDestinationConfiguration
sourcefn default() -> SplunkDestinationConfiguration
fn default() -> SplunkDestinationConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SplunkDestinationConfiguration> for SplunkDestinationConfiguration
impl PartialEq<SplunkDestinationConfiguration> for SplunkDestinationConfiguration
sourcefn eq(&self, other: &SplunkDestinationConfiguration) -> bool
fn eq(&self, other: &SplunkDestinationConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SplunkDestinationConfiguration) -> bool
fn ne(&self, other: &SplunkDestinationConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for SplunkDestinationConfiguration
Auto Trait Implementations
impl RefUnwindSafe for SplunkDestinationConfiguration
impl Send for SplunkDestinationConfiguration
impl Sync for SplunkDestinationConfiguration
impl Unpin for SplunkDestinationConfiguration
impl UnwindSafe for SplunkDestinationConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more