alb_connection_log

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AlbConnectionLogTableIdentifier = "aws_alb_connection_log"

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbConnectionLog

type AlbConnectionLog struct {
	schema.CommonFields

	ClientIP                   string    `json:"client_ip"`
	ClientPort                 int       `json:"client_port"`
	ConnTraceID                *string   `json:"conn_trace_id"`
	LeafClientCertSerialNumber string    `json:"leaf_client_cert_serial_number,omitempty"`
	LeafClientCertSubject      string    `json:"leaf_client_cert_subject,omitempty"`
	LeafClientCertValidity     string    `json:"leaf_client_cert_validity,omitempty"`
	ListenerPort               int       `json:"listener_port,omitempty"`
	TLSCipher                  string    `json:"tls_cipher,omitempty"`
	TLSHandshakeLatency        float64   `json:"tls_handshake_latency,omitempty"`
	TLSProtocol                string    `json:"tls_protocol,omitempty"`
	TLSVerifyStatus            string    `json:"tls_verify_status,omitempty"`
	Timestamp                  time.Time `json:"timestamp"`
}

AlbConnectionLog represents a connection log entry from an AWS ALB.

func (*AlbConnectionLog) GetColumnDescriptions

func (c *AlbConnectionLog) GetColumnDescriptions() map[string]string

GetColumnDescriptions returns a mapping of connection log field names to their descriptions.

func (*AlbConnectionLog) InitialiseFromMap

func (c *AlbConnectionLog) InitialiseFromMap(m map[string]string) error

InitialiseFromMap populates the AlbConnectionLog fields from a map. It expects keys that match the field names defined in the connection log format.

type AlbConnectionLogTable

type AlbConnectionLogTable struct{}

func (*AlbConnectionLogTable) EnrichRow

func (c *AlbConnectionLogTable) EnrichRow(row *AlbConnectionLog, sourceEnrichmentFields schema.SourceEnrichment) (*AlbConnectionLog, error)

func (*AlbConnectionLogTable) GetDescription

func (c *AlbConnectionLogTable) GetDescription() string

GetDescription returns a description of the connection log table.

func (*AlbConnectionLogTable) GetSourceMetadata

func (c *AlbConnectionLogTable) GetSourceMetadata() ([]*table.SourceMetadata[*AlbConnectionLog], error)

func (*AlbConnectionLogTable) Identifier

func (c *AlbConnectionLogTable) Identifier() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL