Documentation
¶
Index ¶
Constants ¶
View Source
const ( Date = iota Time EdegeLocation SCBytes IP Method Host URI Status Referer UserAgent Query Cookie EdgeDefaultResultType EdgeRequestId HostHeader Protocol CSByes TimeTaken ForwardedFor SSLProtocol SSLCypher EdgeResponseResultType ProtocolVersion FLEStatus FLEEncryptedFields Port TTFB EdgeDetailedResultType ContentType ContentLen RangeStart RangeEnd )
Line is a struct that represents a single line in a Cloudfront log file. @see https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Line ¶
type Line struct {
Date string `csv:"date"`
Time string `csv:"time"`
EdegeLocation string `csv:"x-edge-location"`
SCBytes string `csv:"sc-bytes"`
IP string `csv:"c-ip"`
Method string `csv:"cs-method"`
Host string `csv:"cs(Host)"`
URI string `csv:"cs-uri-stem"`
Status string `csv:"sc-status"`
Referer string `csv:"cs(Referer)"`
UserAgent string `csv:"cs(User-Agent)"`
Query string `csv:"cs-uri-query"`
Cookie string `csv:"cs(Cookie)"`
EdgeDefaultResultType string `csv:"x-edge-result-type"`
EdgeRequestId string `csv:"x-edge-request-id"`
HostHeader string `csv:"x-host-header"`
Protocol string `csv:"cs-protocol"`
CSByes string `csv:"cs-bytes"`
TimeTaken string `csv:"time-taken"`
ForwardedFor string `csv:"x-forwarded-for"`
SSLProtocol string `csv:"ssl-protocol"`
SSLCypher string `csv:"ssl-cipher"`
EdgeResponseResultType string `csv:"x-edge-response-result-type"`
ProtocolVersion string `csv:"cs-protocol-version"`
FLEStatus string `csv:"fle-status"`
FLEEncryptedFields string `csv:"fle-encrypted-fields"`
Port string `csv:"c-port"`
TTFB string `csv:"time-to-first-byte"`
EdgeDetailedResultType string `csv:"x-edge-detailed-result-type"`
ContentType string `csv:"sc-content-type"`
ContentLen string `csv:"sc-content-len"`
RangeStart string `csv:"sc-range-start"`
RangeEnd string `csv:"sc-range-end"`
}
Line is a struct that represents a single line in a CloudFront log file. @see https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
Click to show internal directories.
Click to hide internal directories.