pub struct AlertFilter {
pub status: Option<AlertStatus>,
pub severity: Option<String>,
pub rule: Option<String>,
pub tag: Option<String>,
pub assignee: Option<String>,
pub since: Option<String>,
pub search: Option<String>,
}Expand description
The alerts list filter set. Every field composes into one boolean query
over the measured kibana.alert.* fields (triage spec section 4).
Fields§
§status: Option<AlertStatus>§severity: Option<String>§rule: Option<String>A rule name or rule_id, resolved through the standard name-or-id
resolution before filtering on kibana.alert.rule.rule_id.
tag: Option<String>§assignee: Option<String>A username or uid:<profile_uid>, resolved to a profile uid.
since: Option<String>A duration (90m, 24h, 7d) or an ISO timestamp.
search: Option<String>Substring match on the rule name and reason text.
Trait Implementations§
Source§impl Clone for AlertFilter
impl Clone for AlertFilter
Source§fn clone(&self) -> AlertFilter
fn clone(&self) -> AlertFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlertFilter
impl Debug for AlertFilter
Source§impl Default for AlertFilter
impl Default for AlertFilter
Source§fn default() -> AlertFilter
fn default() -> AlertFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlertFilter
impl RefUnwindSafe for AlertFilter
impl Send for AlertFilter
impl Sync for AlertFilter
impl Unpin for AlertFilter
impl UnsafeUnpin for AlertFilter
impl UnwindSafe for AlertFilter
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