logs

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckLogAction added in v0.4.7

type CheckLogAction struct {
	actionutils.ParentAction
}

CheckLogAction 检查是否有日志

func (*CheckLogAction) RunPost added in v0.4.7

func (this *CheckLogAction) RunPost(params struct {
	Day       string
	Partition int32

	ServerId          int64
	RequestId         string
	ClusterId         int64
	NodeId            int64
	HasError          bool
	HasFirewallPolicy bool
	Keyword           string
	Ip                string
	Domain            string

	Hour string
})

type HasLogsAction added in v0.5.2

type HasLogsAction struct {
	actionutils.ParentAction
}

HasLogsAction 检查某个分区是否有日志

func (*HasLogsAction) RunPost added in v0.5.2

func (this *HasLogsAction) RunPost(params struct {
	ClusterId int64
	NodeId    int64
	Day       string
	Hour      string
	Keyword   string
	Ip        string
	Domain    string
	HasError  int
	HasWAF    int
	Partition int32 `default:"-1"`

	RequestId string
	ServerId  int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	ClusterId int64
	NodeId    int64
	Day       string
	Hour      string
	Keyword   string
	Ip        string
	Domain    string
	HasError  int
	HasWAF    int
	Partition int32 `default:"-1"`

	RequestId string
	ServerId  int64

	PageSize int64
})

type PartitionDataAction added in v0.4.7

type PartitionDataAction struct {
	actionutils.ParentAction
}

PartitionDataAction 读取分区表

func (*PartitionDataAction) RunPost added in v0.4.7

func (this *PartitionDataAction) RunPost(params struct {
	Day string
})

type SettingsAction added in v0.3.7

type SettingsAction struct {
	actionutils.ParentAction
}

func (*SettingsAction) Init added in v0.3.7

func (this *SettingsAction) Init()

func (*SettingsAction) RunGet added in v0.3.7

func (this *SettingsAction) RunGet(params struct{})

func (*SettingsAction) RunPost added in v0.3.7

func (this *SettingsAction) RunPost(params struct {
	Percent           int
	CountPerSecond    int
	MaxLength         int
	EnableAutoPartial bool
	RowsPerTable      int64

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Jump to

Keyboard shortcuts

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