client

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogsClient

type LogsClient struct {
	core.JDCloudClient
}

func NewLogsClient

func NewLogsClient(credential *core.Credential) *LogsClient

func (*LogsClient) CreateCollectInfo added in v1.11.0

func (c *LogsClient) CreateCollectInfo(request *logs.CreateCollectInfoRequest) (*logs.CreateCollectInfoResponse, error)

创建采集配置,支持基于云产品模板生成采集模板;支持用于自定义采集配置。

func (*LogsClient) CreateLogset added in v1.11.0

func (c *LogsClient) CreateLogset(request *logs.CreateLogsetRequest) (*logs.CreateLogsetResponse, error)

创建日志集。名称不可重复。

func (*LogsClient) CreateLogtopic added in v1.11.0

func (c *LogsClient) CreateLogtopic(request *logs.CreateLogtopicRequest) (*logs.CreateLogtopicResponse, error)

创建日志主题,不可与当前日志集下现有日志主题重名。

func (*LogsClient) CreateMetricTask added in v1.13.0

func (c *LogsClient) CreateMetricTask(request *logs.CreateMetricTaskRequest) (*logs.CreateMetricTaskResponse, error)

创建监控任务,不可与当前日志主题下现有日志监控任务重名。

func (*LogsClient) CreateParser added in v1.56.0

func (c *LogsClient) CreateParser(request *logs.CreateParserRequest) (*logs.CreateParserResponse, error)

创建日志的解析配置。

func (*LogsClient) CreateSubscribe added in v1.56.0

func (c *LogsClient) CreateSubscribe(request *logs.CreateSubscribeRequest) (*logs.CreateSubscribeResponse, error)

创建日志消费

func (*LogsClient) DeleteLogset added in v1.11.0

func (c *LogsClient) DeleteLogset(request *logs.DeleteLogsetRequest) (*logs.DeleteLogsetResponse, error)

删除日志集,删除多个日志集时,任意的日志集包含了日志主题的,将导致全部删除失败。

func (*LogsClient) DeleteLogtopic added in v1.11.0

func (c *LogsClient) DeleteLogtopic(request *logs.DeleteLogtopicRequest) (*logs.DeleteLogtopicResponse, error)

删除日志主题。其采集配置与采集实例配置将一并删除。

func (*LogsClient) DeleteMetricTask added in v1.13.0

func (c *LogsClient) DeleteMetricTask(request *logs.DeleteMetricTaskRequest) (*logs.DeleteMetricTaskResponse, error)

删除指定监控任务。

func (*LogsClient) DescribeCollectInfo added in v1.11.0

func (c *LogsClient) DescribeCollectInfo(request *logs.DescribeCollectInfoRequest) (*logs.DescribeCollectInfoResponse, error)

采集配置的基本信息。

func (*LogsClient) DescribeCollectResources added in v1.11.0

查询采集配置的实例列表

func (*LogsClient) DescribeLogset added in v1.11.0

func (c *LogsClient) DescribeLogset(request *logs.DescribeLogsetRequest) (*logs.DescribeLogsetResponse, error)

查询日志集详情。

func (*LogsClient) DescribeLogsets added in v1.11.0

func (c *LogsClient) DescribeLogsets(request *logs.DescribeLogsetsRequest) (*logs.DescribeLogsetsResponse, error)

查询日志集列表。支持按照名称进行模糊查询。结果中包含了该日志集是否存在日志主题的信息。存在日志主题的日志集不允许删除。

func (*LogsClient) DescribeLogtopic added in v1.11.0

func (c *LogsClient) DescribeLogtopic(request *logs.DescribeLogtopicRequest) (*logs.DescribeLogtopicResponse, error)

查询日志主题基本信息。如配置了采集配置,将返回采集配置的UID

func (*LogsClient) DescribeLogtopics added in v1.11.0

func (c *LogsClient) DescribeLogtopics(request *logs.DescribeLogtopicsRequest) (*logs.DescribeLogtopicsResponse, error)

查询日志主题列表,支持按照名称模糊查询。

func (*LogsClient) DescribeMetricTask added in v1.13.0

func (c *LogsClient) DescribeMetricTask(request *logs.DescribeMetricTaskRequest) (*logs.DescribeMetricTaskResponse, error)

查询指定监控任务的详情信息

func (*LogsClient) DescribeMetricTasks added in v1.13.0

func (c *LogsClient) DescribeMetricTasks(request *logs.DescribeMetricTasksRequest) (*logs.DescribeMetricTasksResponse, error)

查询监控任务列表,返回该主题下的所有监控任务信息。

func (*LogsClient) DescribeParser added in v1.56.0

func (c *LogsClient) DescribeParser(request *logs.DescribeParserRequest) (*logs.DescribeParserResponse, error)

获取解析配置

func (*LogsClient) DescribeSubscribe added in v1.56.0

func (c *LogsClient) DescribeSubscribe(request *logs.DescribeSubscribeRequest) (*logs.DescribeSubscribeResponse, error)

日志消费信息

func (*LogsClient) DisableLogger added in v1.13.0

func (c *LogsClient) DisableLogger()

func (*LogsClient) GetLogs added in v1.56.0

func (c *LogsClient) GetLogs(request *logs.GetLogsRequest) (*logs.GetLogsResponse, error)

扫描日志

func (*LogsClient) Histograms added in v1.56.0

func (c *LogsClient) Histograms(request *logs.HistogramsRequest) (*logs.HistogramsResponse, error)

日志检索结果直方图

func (*LogsClient) Search added in v1.13.0

func (c *LogsClient) Search(request *logs.SearchRequest) (*logs.SearchResponse, error)

搜索日志

func (*LogsClient) SetConfig

func (c *LogsClient) SetConfig(config *core.Config)

func (*LogsClient) SetLogger

func (c *LogsClient) SetLogger(logger core.Logger)

func (*LogsClient) TestMetricTask added in v1.13.0

func (c *LogsClient) TestMetricTask(request *logs.TestMetricTaskRequest) (*logs.TestMetricTaskResponse, error)

日志测试,根据用户输入的日志筛选条件以及监控指标设置进行模拟监控统计

func (*LogsClient) UpdateCollectInfo added in v1.11.0

func (c *LogsClient) UpdateCollectInfo(request *logs.UpdateCollectInfoRequest) (*logs.UpdateCollectInfoResponse, error)

更新采集配置。若传入的实例列表不为空,将覆盖之前的所有实例,而非新增。

func (*LogsClient) UpdateCollectResources added in v1.11.0

增量更新采集实例列表。更新的动作支持 add 、 remove

func (*LogsClient) UpdateLogset added in v1.11.0

func (c *LogsClient) UpdateLogset(request *logs.UpdateLogsetRequest) (*logs.UpdateLogsetResponse, error)

更新日志集。日志集名称不可更新。

func (*LogsClient) UpdateLogtopic added in v1.11.0

func (c *LogsClient) UpdateLogtopic(request *logs.UpdateLogtopicRequest) (*logs.UpdateLogtopicResponse, error)

更新日志主题。日志主题名称不可更新。

func (*LogsClient) UpdateMetricTask added in v1.13.0

func (c *LogsClient) UpdateMetricTask(request *logs.UpdateMetricTaskRequest) (*logs.UpdateMetricTaskResponse, error)

更新监控任务,日志监控任务不许重名。

func (*LogsClient) UpdateParser added in v1.56.0

func (c *LogsClient) UpdateParser(request *logs.UpdateParserRequest) (*logs.UpdateParserResponse, error)

更新解析配置

func (*LogsClient) UpdateSubscribe added in v1.56.0

func (c *LogsClient) UpdateSubscribe(request *logs.UpdateSubscribeRequest) (*logs.UpdateSubscribeResponse, error)

更新日志消费

func (*LogsClient) ValidateParser added in v1.56.0

func (c *LogsClient) ValidateParser(request *logs.ValidateParserRequest) (*logs.ValidateParserResponse, error)

验证日志解析语法

Jump to

Keyboard shortcuts

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