678 lines
21 KiB
Go
678 lines
21 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: models/model_http_access_log.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// HTTP访问日志
|
|
type HTTPAccessLog struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,48,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
|
NodeId int64 `protobuf:"varint,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
LocationId int64 `protobuf:"varint,3,opt,name=locationId,proto3" json:"locationId,omitempty"`
|
|
RewriteId int64 `protobuf:"varint,4,opt,name=rewriteId,proto3" json:"rewriteId,omitempty"`
|
|
OriginId int64 `protobuf:"varint,5,opt,name=originId,proto3" json:"originId,omitempty"`
|
|
RemoteAddr string `protobuf:"bytes,6,opt,name=remoteAddr,proto3" json:"remoteAddr,omitempty"`
|
|
RawRemoteAddr string `protobuf:"bytes,7,opt,name=rawRemoteAddr,proto3" json:"rawRemoteAddr,omitempty"`
|
|
RemotePort int32 `protobuf:"varint,8,opt,name=remotePort,proto3" json:"remotePort,omitempty"`
|
|
RemoteUser string `protobuf:"bytes,9,opt,name=remoteUser,proto3" json:"remoteUser,omitempty"`
|
|
RequestURI string `protobuf:"bytes,10,opt,name=requestURI,proto3" json:"requestURI,omitempty"`
|
|
RequestPath string `protobuf:"bytes,11,opt,name=requestPath,proto3" json:"requestPath,omitempty"`
|
|
RequestLength int64 `protobuf:"varint,12,opt,name=requestLength,proto3" json:"requestLength,omitempty"`
|
|
RequestTime float64 `protobuf:"fixed64,13,opt,name=requestTime,proto3" json:"requestTime,omitempty"`
|
|
RequestMethod string `protobuf:"bytes,14,opt,name=requestMethod,proto3" json:"requestMethod,omitempty"`
|
|
RequestFilename string `protobuf:"bytes,15,opt,name=requestFilename,proto3" json:"requestFilename,omitempty"`
|
|
RequestBody []byte `protobuf:"bytes,51,opt,name=requestBody,proto3" json:"requestBody,omitempty"`
|
|
Scheme string `protobuf:"bytes,16,opt,name=scheme,proto3" json:"scheme,omitempty"`
|
|
Proto string `protobuf:"bytes,17,opt,name=proto,proto3" json:"proto,omitempty"`
|
|
BytesSent int64 `protobuf:"varint,18,opt,name=bytesSent,proto3" json:"bytesSent,omitempty"`
|
|
BodyBytesSent int64 `protobuf:"varint,19,opt,name=bodyBytesSent,proto3" json:"bodyBytesSent,omitempty"`
|
|
Status int32 `protobuf:"varint,20,opt,name=status,proto3" json:"status,omitempty"`
|
|
StatusMessage string `protobuf:"bytes,21,opt,name=statusMessage,proto3" json:"statusMessage,omitempty"`
|
|
SentHeader map[string]*Strings `protobuf:"bytes,22,rep,name=sentHeader,proto3" json:"sentHeader,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
TimeISO8601 string `protobuf:"bytes,23,opt,name=timeISO8601,proto3" json:"timeISO8601,omitempty"`
|
|
TimeLocal string `protobuf:"bytes,24,opt,name=timeLocal,proto3" json:"timeLocal,omitempty"`
|
|
Msec float64 `protobuf:"fixed64,25,opt,name=msec,proto3" json:"msec,omitempty"`
|
|
Timestamp int64 `protobuf:"varint,26,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
Host string `protobuf:"bytes,27,opt,name=host,proto3" json:"host,omitempty"`
|
|
Referer string `protobuf:"bytes,28,opt,name=referer,proto3" json:"referer,omitempty"`
|
|
UserAgent string `protobuf:"bytes,29,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
|
|
Request string `protobuf:"bytes,30,opt,name=request,proto3" json:"request,omitempty"`
|
|
ContentType string `protobuf:"bytes,31,opt,name=contentType,proto3" json:"contentType,omitempty"`
|
|
Cookie map[string]string `protobuf:"bytes,32,rep,name=cookie,proto3" json:"cookie,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Args string `protobuf:"bytes,34,opt,name=args,proto3" json:"args,omitempty"`
|
|
QueryString string `protobuf:"bytes,35,opt,name=queryString,proto3" json:"queryString,omitempty"`
|
|
Header map[string]*Strings `protobuf:"bytes,36,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
ServerName string `protobuf:"bytes,37,opt,name=serverName,proto3" json:"serverName,omitempty"`
|
|
ServerPort int32 `protobuf:"varint,38,opt,name=serverPort,proto3" json:"serverPort,omitempty"`
|
|
ServerProtocol string `protobuf:"bytes,39,opt,name=serverProtocol,proto3" json:"serverProtocol,omitempty"`
|
|
Hostname string `protobuf:"bytes,40,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
// 源站相关
|
|
OriginAddress string `protobuf:"bytes,41,opt,name=originAddress,proto3" json:"originAddress,omitempty"`
|
|
OriginStatus int32 `protobuf:"varint,52,opt,name=originStatus,proto3" json:"originStatus,omitempty"`
|
|
// 错误信息
|
|
Errors []string `protobuf:"bytes,42,rep,name=errors,proto3" json:"errors,omitempty"`
|
|
// 扩展
|
|
Attrs map[string]string `protobuf:"bytes,43,rep,name=attrs,proto3" json:"attrs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// WAF相关
|
|
FirewallPolicyId int64 `protobuf:"varint,44,opt,name=firewallPolicyId,proto3" json:"firewallPolicyId,omitempty"`
|
|
FirewallRuleGroupId int64 `protobuf:"varint,45,opt,name=firewallRuleGroupId,proto3" json:"firewallRuleGroupId,omitempty"`
|
|
FirewallRuleSetId int64 `protobuf:"varint,46,opt,name=firewallRuleSetId,proto3" json:"firewallRuleSetId,omitempty"`
|
|
FirewallRuleId int64 `protobuf:"varint,47,opt,name=firewallRuleId,proto3" json:"firewallRuleId,omitempty"`
|
|
FirewallActions []string `protobuf:"bytes,49,rep,name=firewallActions,proto3" json:"firewallActions,omitempty"`
|
|
Tags []string `protobuf:"bytes,50,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
// 详情
|
|
Node *Node `protobuf:"bytes,100,opt,name=node,proto3" json:"node,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HTTPAccessLog) Reset() {
|
|
*x = HTTPAccessLog{}
|
|
mi := &file_models_model_http_access_log_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HTTPAccessLog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HTTPAccessLog) ProtoMessage() {}
|
|
|
|
func (x *HTTPAccessLog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_models_model_http_access_log_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HTTPAccessLog.ProtoReflect.Descriptor instead.
|
|
func (*HTTPAccessLog) Descriptor() ([]byte, []int) {
|
|
return file_models_model_http_access_log_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetServerId() int64 {
|
|
if x != nil {
|
|
return x.ServerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetNodeId() int64 {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetLocationId() int64 {
|
|
if x != nil {
|
|
return x.LocationId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRewriteId() int64 {
|
|
if x != nil {
|
|
return x.RewriteId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetOriginId() int64 {
|
|
if x != nil {
|
|
return x.OriginId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRemoteAddr() string {
|
|
if x != nil {
|
|
return x.RemoteAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRawRemoteAddr() string {
|
|
if x != nil {
|
|
return x.RawRemoteAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRemotePort() int32 {
|
|
if x != nil {
|
|
return x.RemotePort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRemoteUser() string {
|
|
if x != nil {
|
|
return x.RemoteUser
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestURI() string {
|
|
if x != nil {
|
|
return x.RequestURI
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestPath() string {
|
|
if x != nil {
|
|
return x.RequestPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestLength() int64 {
|
|
if x != nil {
|
|
return x.RequestLength
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestTime() float64 {
|
|
if x != nil {
|
|
return x.RequestTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestMethod() string {
|
|
if x != nil {
|
|
return x.RequestMethod
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestFilename() string {
|
|
if x != nil {
|
|
return x.RequestFilename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequestBody() []byte {
|
|
if x != nil {
|
|
return x.RequestBody
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetScheme() string {
|
|
if x != nil {
|
|
return x.Scheme
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetProto() string {
|
|
if x != nil {
|
|
return x.Proto
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetBytesSent() int64 {
|
|
if x != nil {
|
|
return x.BytesSent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetBodyBytesSent() int64 {
|
|
if x != nil {
|
|
return x.BodyBytesSent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetStatusMessage() string {
|
|
if x != nil {
|
|
return x.StatusMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetSentHeader() map[string]*Strings {
|
|
if x != nil {
|
|
return x.SentHeader
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetTimeISO8601() string {
|
|
if x != nil {
|
|
return x.TimeISO8601
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetTimeLocal() string {
|
|
if x != nil {
|
|
return x.TimeLocal
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetMsec() float64 {
|
|
if x != nil {
|
|
return x.Msec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetTimestamp() int64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetHost() string {
|
|
if x != nil {
|
|
return x.Host
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetReferer() string {
|
|
if x != nil {
|
|
return x.Referer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetUserAgent() string {
|
|
if x != nil {
|
|
return x.UserAgent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetRequest() string {
|
|
if x != nil {
|
|
return x.Request
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetContentType() string {
|
|
if x != nil {
|
|
return x.ContentType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetCookie() map[string]string {
|
|
if x != nil {
|
|
return x.Cookie
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetArgs() string {
|
|
if x != nil {
|
|
return x.Args
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetQueryString() string {
|
|
if x != nil {
|
|
return x.QueryString
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetHeader() map[string]*Strings {
|
|
if x != nil {
|
|
return x.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetServerName() string {
|
|
if x != nil {
|
|
return x.ServerName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetServerPort() int32 {
|
|
if x != nil {
|
|
return x.ServerPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetServerProtocol() string {
|
|
if x != nil {
|
|
return x.ServerProtocol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetHostname() string {
|
|
if x != nil {
|
|
return x.Hostname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetOriginAddress() string {
|
|
if x != nil {
|
|
return x.OriginAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetOriginStatus() int32 {
|
|
if x != nil {
|
|
return x.OriginStatus
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetErrors() []string {
|
|
if x != nil {
|
|
return x.Errors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetAttrs() map[string]string {
|
|
if x != nil {
|
|
return x.Attrs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetFirewallPolicyId() int64 {
|
|
if x != nil {
|
|
return x.FirewallPolicyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetFirewallRuleGroupId() int64 {
|
|
if x != nil {
|
|
return x.FirewallRuleGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetFirewallRuleSetId() int64 {
|
|
if x != nil {
|
|
return x.FirewallRuleSetId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetFirewallRuleId() int64 {
|
|
if x != nil {
|
|
return x.FirewallRuleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetFirewallActions() []string {
|
|
if x != nil {
|
|
return x.FirewallActions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTTPAccessLog) GetNode() *Node {
|
|
if x != nil {
|
|
return x.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Strings struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Strings) Reset() {
|
|
*x = Strings{}
|
|
mi := &file_models_model_http_access_log_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Strings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Strings) ProtoMessage() {}
|
|
|
|
func (x *Strings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_models_model_http_access_log_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Strings.ProtoReflect.Descriptor instead.
|
|
func (*Strings) Descriptor() ([]byte, []int) {
|
|
return file_models_model_http_access_log_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Strings) GetValues() []string {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_models_model_http_access_log_proto protoreflect.FileDescriptor
|
|
|
|
const file_models_model_http_access_log_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\"models/model_http_access_log.proto\x12\x02pb\x1a\x17models/model_node.proto\"\x81\x10\n" +
|
|
"\rHTTPAccessLog\x12\x1c\n" +
|
|
"\trequestId\x180 \x01(\tR\trequestId\x12\x1a\n" +
|
|
"\bserverId\x18\x01 \x01(\x03R\bserverId\x12\x16\n" +
|
|
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1e\n" +
|
|
"\n" +
|
|
"locationId\x18\x03 \x01(\x03R\n" +
|
|
"locationId\x12\x1c\n" +
|
|
"\trewriteId\x18\x04 \x01(\x03R\trewriteId\x12\x1a\n" +
|
|
"\boriginId\x18\x05 \x01(\x03R\boriginId\x12\x1e\n" +
|
|
"\n" +
|
|
"remoteAddr\x18\x06 \x01(\tR\n" +
|
|
"remoteAddr\x12$\n" +
|
|
"\rrawRemoteAddr\x18\a \x01(\tR\rrawRemoteAddr\x12\x1e\n" +
|
|
"\n" +
|
|
"remotePort\x18\b \x01(\x05R\n" +
|
|
"remotePort\x12\x1e\n" +
|
|
"\n" +
|
|
"remoteUser\x18\t \x01(\tR\n" +
|
|
"remoteUser\x12\x1e\n" +
|
|
"\n" +
|
|
"requestURI\x18\n" +
|
|
" \x01(\tR\n" +
|
|
"requestURI\x12 \n" +
|
|
"\vrequestPath\x18\v \x01(\tR\vrequestPath\x12$\n" +
|
|
"\rrequestLength\x18\f \x01(\x03R\rrequestLength\x12 \n" +
|
|
"\vrequestTime\x18\r \x01(\x01R\vrequestTime\x12$\n" +
|
|
"\rrequestMethod\x18\x0e \x01(\tR\rrequestMethod\x12(\n" +
|
|
"\x0frequestFilename\x18\x0f \x01(\tR\x0frequestFilename\x12 \n" +
|
|
"\vrequestBody\x183 \x01(\fR\vrequestBody\x12\x16\n" +
|
|
"\x06scheme\x18\x10 \x01(\tR\x06scheme\x12\x14\n" +
|
|
"\x05proto\x18\x11 \x01(\tR\x05proto\x12\x1c\n" +
|
|
"\tbytesSent\x18\x12 \x01(\x03R\tbytesSent\x12$\n" +
|
|
"\rbodyBytesSent\x18\x13 \x01(\x03R\rbodyBytesSent\x12\x16\n" +
|
|
"\x06status\x18\x14 \x01(\x05R\x06status\x12$\n" +
|
|
"\rstatusMessage\x18\x15 \x01(\tR\rstatusMessage\x12A\n" +
|
|
"\n" +
|
|
"sentHeader\x18\x16 \x03(\v2!.pb.HTTPAccessLog.SentHeaderEntryR\n" +
|
|
"sentHeader\x12 \n" +
|
|
"\vtimeISO8601\x18\x17 \x01(\tR\vtimeISO8601\x12\x1c\n" +
|
|
"\ttimeLocal\x18\x18 \x01(\tR\ttimeLocal\x12\x12\n" +
|
|
"\x04msec\x18\x19 \x01(\x01R\x04msec\x12\x1c\n" +
|
|
"\ttimestamp\x18\x1a \x01(\x03R\ttimestamp\x12\x12\n" +
|
|
"\x04host\x18\x1b \x01(\tR\x04host\x12\x18\n" +
|
|
"\areferer\x18\x1c \x01(\tR\areferer\x12\x1c\n" +
|
|
"\tuserAgent\x18\x1d \x01(\tR\tuserAgent\x12\x18\n" +
|
|
"\arequest\x18\x1e \x01(\tR\arequest\x12 \n" +
|
|
"\vcontentType\x18\x1f \x01(\tR\vcontentType\x125\n" +
|
|
"\x06cookie\x18 \x03(\v2\x1d.pb.HTTPAccessLog.CookieEntryR\x06cookie\x12\x12\n" +
|
|
"\x04args\x18\" \x01(\tR\x04args\x12 \n" +
|
|
"\vqueryString\x18# \x01(\tR\vqueryString\x125\n" +
|
|
"\x06header\x18$ \x03(\v2\x1d.pb.HTTPAccessLog.HeaderEntryR\x06header\x12\x1e\n" +
|
|
"\n" +
|
|
"serverName\x18% \x01(\tR\n" +
|
|
"serverName\x12\x1e\n" +
|
|
"\n" +
|
|
"serverPort\x18& \x01(\x05R\n" +
|
|
"serverPort\x12&\n" +
|
|
"\x0eserverProtocol\x18' \x01(\tR\x0eserverProtocol\x12\x1a\n" +
|
|
"\bhostname\x18( \x01(\tR\bhostname\x12$\n" +
|
|
"\roriginAddress\x18) \x01(\tR\roriginAddress\x12\"\n" +
|
|
"\foriginStatus\x184 \x01(\x05R\foriginStatus\x12\x16\n" +
|
|
"\x06errors\x18* \x03(\tR\x06errors\x122\n" +
|
|
"\x05attrs\x18+ \x03(\v2\x1c.pb.HTTPAccessLog.AttrsEntryR\x05attrs\x12*\n" +
|
|
"\x10firewallPolicyId\x18, \x01(\x03R\x10firewallPolicyId\x120\n" +
|
|
"\x13firewallRuleGroupId\x18- \x01(\x03R\x13firewallRuleGroupId\x12,\n" +
|
|
"\x11firewallRuleSetId\x18. \x01(\x03R\x11firewallRuleSetId\x12&\n" +
|
|
"\x0efirewallRuleId\x18/ \x01(\x03R\x0efirewallRuleId\x12(\n" +
|
|
"\x0ffirewallActions\x181 \x03(\tR\x0ffirewallActions\x12\x12\n" +
|
|
"\x04tags\x182 \x03(\tR\x04tags\x12\x1c\n" +
|
|
"\x04node\x18d \x01(\v2\b.pb.NodeR\x04node\x1aJ\n" +
|
|
"\x0fSentHeaderEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12!\n" +
|
|
"\x05value\x18\x02 \x01(\v2\v.pb.StringsR\x05value:\x028\x01\x1a9\n" +
|
|
"\vCookieEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
|
|
"\vHeaderEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12!\n" +
|
|
"\x05value\x18\x02 \x01(\v2\v.pb.StringsR\x05value:\x028\x01\x1a8\n" +
|
|
"\n" +
|
|
"AttrsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"!\n" +
|
|
"\aStrings\x12\x16\n" +
|
|
"\x06values\x18\x01 \x03(\tR\x06valuesB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_models_model_http_access_log_proto_rawDescOnce sync.Once
|
|
file_models_model_http_access_log_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_models_model_http_access_log_proto_rawDescGZIP() []byte {
|
|
file_models_model_http_access_log_proto_rawDescOnce.Do(func() {
|
|
file_models_model_http_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_access_log_proto_rawDesc), len(file_models_model_http_access_log_proto_rawDesc)))
|
|
})
|
|
return file_models_model_http_access_log_proto_rawDescData
|
|
}
|
|
|
|
var file_models_model_http_access_log_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_models_model_http_access_log_proto_goTypes = []any{
|
|
(*HTTPAccessLog)(nil), // 0: pb.HTTPAccessLog
|
|
(*Strings)(nil), // 1: pb.Strings
|
|
nil, // 2: pb.HTTPAccessLog.SentHeaderEntry
|
|
nil, // 3: pb.HTTPAccessLog.CookieEntry
|
|
nil, // 4: pb.HTTPAccessLog.HeaderEntry
|
|
nil, // 5: pb.HTTPAccessLog.AttrsEntry
|
|
(*Node)(nil), // 6: pb.Node
|
|
}
|
|
var file_models_model_http_access_log_proto_depIdxs = []int32{
|
|
2, // 0: pb.HTTPAccessLog.sentHeader:type_name -> pb.HTTPAccessLog.SentHeaderEntry
|
|
3, // 1: pb.HTTPAccessLog.cookie:type_name -> pb.HTTPAccessLog.CookieEntry
|
|
4, // 2: pb.HTTPAccessLog.header:type_name -> pb.HTTPAccessLog.HeaderEntry
|
|
5, // 3: pb.HTTPAccessLog.attrs:type_name -> pb.HTTPAccessLog.AttrsEntry
|
|
6, // 4: pb.HTTPAccessLog.node:type_name -> pb.Node
|
|
1, // 5: pb.HTTPAccessLog.SentHeaderEntry.value:type_name -> pb.Strings
|
|
1, // 6: pb.HTTPAccessLog.HeaderEntry.value:type_name -> pb.Strings
|
|
7, // [7:7] is the sub-list for method output_type
|
|
7, // [7:7] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_models_model_http_access_log_proto_init() }
|
|
func file_models_model_http_access_log_proto_init() {
|
|
if File_models_model_http_access_log_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_node_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_access_log_proto_rawDesc), len(file_models_model_http_access_log_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_models_model_http_access_log_proto_goTypes,
|
|
DependencyIndexes: file_models_model_http_access_log_proto_depIdxs,
|
|
MessageInfos: file_models_model_http_access_log_proto_msgTypes,
|
|
}.Build()
|
|
File_models_model_http_access_log_proto = out.File
|
|
file_models_model_http_access_log_proto_goTypes = nil
|
|
file_models_model_http_access_log_proto_depIdxs = nil
|
|
}
|