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

pub struct WebServerEvent {
Show fields 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

Implementations

impl WebServerEvent[src]

pub fn source_ip(&self) -> &SiemIp[src]

pub fn destination_ip(&self) -> &Option<SiemIp>[src]

pub fn destination_port(&self) -> u16[src]

pub fn in_bytes(&self) -> u32[src]

pub fn out_bytes(&self) -> u32[src]

pub fn http_code(&self) -> u32[src]

pub fn duration(&self) -> f32[src]

pub fn protocol(&self) -> &WebProtocol[src]

pub fn outcome(&self) -> &WebServerOutcome[src]

pub fn http_method(&self) -> &HttpMethod[src]

pub fn user_name(&self) -> &str[src]

pub fn mime_type(&self) -> &str[src]

pub fn url_full(&self) -> &str[src]

pub fn url_domain(&self) -> &str[src]

pub fn url_path(&self) -> &str[src]

pub fn url_query(&self) -> &str[src]

pub fn url_extension(&self) -> &str[src]

pub fn user_agent(&self) -> &str[src]

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.