Struct google_api_proto::google::cloud::ids::logging::v1::TrafficLog
source · pub struct TrafficLog {Show 13 fields
pub start_time: Option<Timestamp>,
pub elapsed_time: Option<Duration>,
pub network: String,
pub source_ip_address: String,
pub source_port: i32,
pub destination_ip_address: String,
pub destination_port: i32,
pub ip_protocol: String,
pub application: String,
pub session_id: String,
pub repeat_count: String,
pub total_bytes: i64,
pub total_packets: i64,
}
Expand description
Traffic detected by Cloud IDS. Fields taken from: https://docs.paloaltonetworks.com/pan-os/8-1/pan-os-admin/monitoring/use-syslog-for-monitoring/syslog-field-descriptions/traffic-log-fields.html.
Fields§
§start_time: Option<Timestamp>
Time of session start.
elapsed_time: Option<Duration>
Elapsed time of the session.
network: String
The network associated with the IDS Endpoint.
source_ip_address: String
The source IP Address of the packet, e.g. “35.191.8.79”
source_port: i32
The source port of the packet, e.g. 8080
destination_ip_address: String
The destination IP Address of the packet, e.g. “192.168.100.2”
destination_port: i32
The destination port of the packet, e.g. 100
ip_protocol: String
The IP protocol of the packet, e.g. “TCP”.
application: String
Application associated with the session.
session_id: String
The direction of the packet.
repeat_count: String
Number of sessions with same source IP, destination IP, application, and type seen within 5 seconds.
total_bytes: i64
Total number of bytes transferred in the session.
total_packets: i64
Total number of packets transferred in the session.
Trait Implementations§
source§impl Clone for TrafficLog
impl Clone for TrafficLog
source§fn clone(&self) -> TrafficLog
fn clone(&self) -> TrafficLog
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrafficLog
impl Debug for TrafficLog
source§impl Default for TrafficLog
impl Default for TrafficLog
source§impl Message for TrafficLog
impl Message for TrafficLog
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TrafficLog
impl PartialEq for TrafficLog
source§fn eq(&self, other: &TrafficLog) -> bool
fn eq(&self, other: &TrafficLog) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrafficLog
Auto Trait Implementations§
impl Freeze for TrafficLog
impl RefUnwindSafe for TrafficLog
impl Send for TrafficLog
impl Sync for TrafficLog
impl Unpin for TrafficLog
impl UnwindSafe for TrafficLog
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request