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§impl Debug for AlertFilter
impl Debug for AlertFilter
Auto Trait Implementations§
impl Forget for AlertFilter
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