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: SiemIp
destination_ip: Option<SiemIp>
destination_port: u16
in_bytes: u32
out_bytes: u32
http_code: u32
duration: f32
http_method: HttpMethod
user_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: WebProtocol
user_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
impl RefUnwindSafe for WebServerEvent
impl Send for WebServerEvent
impl Sync for WebServerEvent
impl Unpin for WebServerEvent
impl UnwindSafe for WebServerEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,