Struct usiem::events::webserver::WebServerEvent[][src]

pub struct WebServerEvent {
    pub source_ip: SiemIp,
    pub destination_ip: Option<SiemIp>,
    pub destination_port: u16,
    pub in_bytes: u32,
    pub out_bytes: u32,
    pub http_code: u32,
    pub duration: f32,
    pub http_method: HttpMethod,
    pub user_agent: Cow<'static, str>,
    pub url_full: Cow<'static, str>,
    pub url_domain: Cow<'static, str>,
    pub url_path: Cow<'static, str>,
    pub url_query: Cow<'static, str>,
    pub url_extension: Cow<'static, str>,
    pub protocol: WebProtocol,
    pub user_name: Cow<'static, str>,
    pub mime_type: Cow<'static, str>,
    pub outcome: WebServerOutcome,
}

A typical combined Log format has a source_ip, a user_id, a date, the http method, the path requested, the user agent and the size of the resource returned

Fields

source_ip: SiemIpdestination_ip: Option<SiemIp>destination_port: u16in_bytes: u32out_bytes: u32http_code: u32duration: f32http_method: HttpMethoduser_agent: Cow<'static, str>url_full: Cow<'static, str>url_domain: Cow<'static, str>url_path: Cow<'static, str>url_query: Cow<'static, str>url_extension: Cow<'static, str>protocol: WebProtocoluser_name: Cow<'static, str>mime_type: Cow<'static, str>outcome: WebServerOutcome

Trait Implementations

impl Debug for WebServerEvent[src]

impl Serialize for WebServerEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.