#[non_exhaustive]pub struct LogsPipelineProcessor {
pub filter: Option<LogsFilter>,
pub is_enabled: Option<bool>,
pub name: Option<String>,
pub processors: Option<Vec<LogsProcessor>>,
pub type_: LogsPipelineProcessorType,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Nested Pipelines are pipelines within a pipeline. Use Nested Pipelines to split the processing into two steps. For example, first use a high-level filtering such as team and then a second level of filtering based on the integration, service, or any other tag or attribute.
A pipeline can contain Nested Pipelines and Processors whereas a Nested Pipeline can only contain Processors.
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.filter: Option<LogsFilter>
Filter for logs.
is_enabled: Option<bool>
Whether or not the processor is enabled.
name: Option<String>
Name of the processor.
processors: Option<Vec<LogsProcessor>>
Ordered list of processors in this pipeline.
type_: LogsPipelineProcessorType
Type of logs pipeline processor.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl LogsPipelineProcessor
impl LogsPipelineProcessor
pub fn new(type_: LogsPipelineProcessorType) -> LogsPipelineProcessor
pub fn filter(self, value: LogsFilter) -> Self
pub fn is_enabled(self, value: bool) -> Self
pub fn name(self, value: String) -> Self
pub fn processors(self, value: Vec<LogsProcessor>) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for LogsPipelineProcessor
impl Clone for LogsPipelineProcessor
Source§fn clone(&self) -> LogsPipelineProcessor
fn clone(&self) -> LogsPipelineProcessor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogsPipelineProcessor
impl Debug for LogsPipelineProcessor
Source§impl<'de> Deserialize<'de> for LogsPipelineProcessor
impl<'de> Deserialize<'de> for LogsPipelineProcessor
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LogsPipelineProcessor
impl PartialEq for LogsPipelineProcessor
Source§impl Serialize for LogsPipelineProcessor
impl Serialize for LogsPipelineProcessor
impl StructuralPartialEq for LogsPipelineProcessor
Auto Trait Implementations§
impl Freeze for LogsPipelineProcessor
impl RefUnwindSafe for LogsPipelineProcessor
impl Send for LogsPipelineProcessor
impl Sync for LogsPipelineProcessor
impl Unpin for LogsPipelineProcessor
impl UnwindSafe for LogsPipelineProcessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more