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