Struct usiem_elasticsearch::output::ElasticOuputConfig [−][src]
pub struct ElasticOuputConfig {
pub commit_max_messages: usize,
pub cache_size: usize,
pub commit_timeout: u64,
pub commit_time: u64,
pub elastic_address: String,
pub elastic_stream: String,
pub bearer_token: Option<String>,
}
Fields
commit_max_messages: usize
Max. messages for each HTTP request
cache_size: usize
commit_timeout: u64
Timeout for communication
commit_time: u64
Send logs every X milliseconds
elastic_address: String
ElasticSearch URI where it’s listening
elastic_stream: String
ElasticSearch Data Stream to send logs to
bearer_token: Option<String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ElasticOuputConfig
impl Send for ElasticOuputConfig
impl Sync for ElasticOuputConfig
impl Unpin for ElasticOuputConfig
impl UnwindSafe for ElasticOuputConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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