func (nae *NetworkAlertEvent) GetLogEntry() *logrus.Entry {
	return logrus.WithFields(logrus.Fields{
		"ifindex": nae.Ifindex,
		"netns":   nae.Netns,
		"pid":     nae.PID,
		"action":  nae.Action,
		// "data_path":      nae.DataPath,
		"interface_type": nae.InterfaceType,
		"l3":             nae.NProtocol,
		"l4":             nae.TProtocol,
		"l7":             nae.AProtocol,
		"source_ip":      nae.SourceIP,
		"dest_ip":        nae.DestIP,
		"source_port":    nae.SourcePort,
		"dest_port":      nae.DestPort,
		"source_mac":     nae.SourceMACAddr,
		"dest_mac":       nae.DestMACAddr,
		"ip_version":     nae.IPVersion,
		// "tot_len":        nae.TotLen,
		// "packet_id":      nae.PacketID,
		// "frag_off":       nae.FragmentOffset,
	})
}
// GetLogEntry - Returns the event logrus fields
Returns the event logrus fields
// GetLogEntry - Returns the event logrus fields
func (nae *NetworkAlertEvent) GetLogEntry() *logrus.Entry {
	return logrus.WithFields(logrus.Fields{
		"ifindex": nae.Ifindex,
		"netns":   nae.Netns,
		"pid":     nae.PID,
		"action":  nae.Action,
		"interface_type": nae.InterfaceType,
		"l3":             nae.NProtocol,
		"l4":             nae.TProtocol,
		"l7":             nae.AProtocol,
		"source_ip":      nae.SourceIP,
		"dest_ip":        nae.DestIP,
		"source_port":    nae.SourcePort,
		"dest_port":      nae.DestPort,
		"source_mac":     nae.SourceMACAddr,
		"dest_mac":       nae.DestMACAddr,
		"ip_version":     nae.IPVersion,
	})
}
func ( nae * NetworkAlertEvent ) GetLogEntry ( ) * logrus . Entry { return logrus . WithFields ( logrus . Fields { " " : nae . Ifindex , " " : nae . Netns , " " : nae . PID , " " : nae . Action , " " : nae . InterfaceType , " " : nae . NProtocol , " " : nae . TProtocol , " " : nae . AProtocol , " " : nae . SourceIP , " " : nae . DestIP , " " : nae . SourcePort , " " : nae . DestPort , " " : nae . SourceMACAddr , " " : nae . DestMACAddr , " " : nae . IPVersion , } ) }
Returns the event logrus fields
Returns the event logrus fields
// "data_path":      nae.DataPath, // "tot_len":        nae.TotLen, // "packet_id":      nae.PacketID, // "frag_off":       nae.FragmentOffset,