Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendFileLog ¶
func SendFileLog(ips []string)
Types ¶
type LogRecord ¶
type LogRecord struct {
Level string `json:"level"`
Ts float64 `json:"ts"`
Logger string `json:"logger"`
Msg string `json:"msg"`
}
LogRecord 表示日志记录的结构体
type SendLog ¶
type SendLog struct {
LogTime float64 `json:"ts"` // 请求时间(时间戳)
Client string `json:"client"` // 客户端ip
Severity string `json:"severity"` // 规则等级
RuleID string `json:"id"` // 规则id
RuleMsg string `json:"msg"` // 规则描述
Hostname string `json:"hostname"` // 请求的目标主机名
URI string `json:"uri"` // 请求路径
Data string `json:"data"` // 规则附加的上下文数据。
}
Click to show internal directories.
Click to hide internal directories.