Struct cernan::filter::json_encode_filter::JSONEncodeFilterConfig [−][src]
pub struct JSONEncodeFilterConfig { pub config_path: Option<String>, pub forwards: Vec<String>, pub parse_line: bool, pub tags: TagMap, }
Configuration for JSONEncodeFilter
Fields
config_path: Option<String>
The filter's unique name in the routing topology.
forwards: Vec<String>
The forwards along which the filter will emit its metric::Event
s.
parse_line: bool
Whether the filter should attempt to parse LogLine
values that are
valid JSON objects.
The tags to be applied to all metric::Event
s streaming through this
filter. These tags will overwrite any tags carried by the
metric::Event
itself.
Trait Implementations
impl Clone for JSONEncodeFilterConfig
[src]
impl Clone for JSONEncodeFilterConfig
fn clone(&self) -> JSONEncodeFilterConfig
[src]
fn clone(&self) -> JSONEncodeFilterConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for JSONEncodeFilterConfig
[src]
impl Debug for JSONEncodeFilterConfig
Auto Trait Implementations
impl Send for JSONEncodeFilterConfig
impl Send for JSONEncodeFilterConfig
impl Sync for JSONEncodeFilterConfig
impl Sync for JSONEncodeFilterConfig