1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cms
  5. HybridMonitorSlsTask
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cms.HybridMonitorSlsTask

Explore with Pulumi AI

Provides a Cloud Monitor Service Hybrid Monitor Sls Task resource.

For information about Cloud Monitor Service Hybrid Monitor Sls Task and how to use it, see What is Hybrid Monitor Sls Task.

NOTE: Available since v1.179.0.

Create HybridMonitorSlsTask Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new HybridMonitorSlsTask(name: string, args: HybridMonitorSlsTaskArgs, opts?: CustomResourceOptions);
@overload
def HybridMonitorSlsTask(resource_name: str,
                         args: HybridMonitorSlsTaskArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def HybridMonitorSlsTask(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         collect_target_type: Optional[str] = None,
                         namespace: Optional[str] = None,
                         sls_process_config: Optional[HybridMonitorSlsTaskSlsProcessConfigArgs] = None,
                         task_name: Optional[str] = None,
                         attach_labels: Optional[Sequence[HybridMonitorSlsTaskAttachLabelArgs]] = None,
                         collect_interval: Optional[int] = None,
                         description: Optional[str] = None)
func NewHybridMonitorSlsTask(ctx *Context, name string, args HybridMonitorSlsTaskArgs, opts ...ResourceOption) (*HybridMonitorSlsTask, error)
public HybridMonitorSlsTask(string name, HybridMonitorSlsTaskArgs args, CustomResourceOptions? opts = null)
public HybridMonitorSlsTask(String name, HybridMonitorSlsTaskArgs args)
public HybridMonitorSlsTask(String name, HybridMonitorSlsTaskArgs args, CustomResourceOptions options)
type: alicloud:cms:HybridMonitorSlsTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. HybridMonitorSlsTaskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. HybridMonitorSlsTaskArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. HybridMonitorSlsTaskArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. HybridMonitorSlsTaskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. HybridMonitorSlsTaskArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var hybridMonitorSlsTaskResource = new AliCloud.Cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource", new()
{
    CollectTargetType = "string",
    Namespace = "string",
    SlsProcessConfig = new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigArgs
    {
        Expresses = new[]
        {
            new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigExpressArgs
            {
                Alias = "string",
                Express = "string",
            },
        },
        Filter = new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigFilterArgs
        {
            Filters = new[]
            {
                new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs
                {
                    Operator = "string",
                    SlsKeyName = "string",
                    Value = "string",
                },
            },
            Relation = "string",
        },
        GroupBies = new[]
        {
            new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigGroupByArgs
            {
                Alias = "string",
                SlsKeyName = "string",
            },
        },
        Statistics = new[]
        {
            new AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigStatisticArgs
            {
                Alias = "string",
                Function = "string",
                ParameterOne = "string",
                ParameterTwo = "string",
                SlsKeyName = "string",
            },
        },
    },
    TaskName = "string",
    AttachLabels = new[]
    {
        new AliCloud.Cms.Inputs.HybridMonitorSlsTaskAttachLabelArgs
        {
            Name = "string",
            Value = "string",
        },
    },
    CollectInterval = 0,
    Description = "string",
});
Copy
example, err := cms.NewHybridMonitorSlsTask(ctx, "hybridMonitorSlsTaskResource", &cms.HybridMonitorSlsTaskArgs{
	CollectTargetType: pulumi.String("string"),
	Namespace:         pulumi.String("string"),
	SlsProcessConfig: &cms.HybridMonitorSlsTaskSlsProcessConfigArgs{
		Expresses: cms.HybridMonitorSlsTaskSlsProcessConfigExpressArray{
			&cms.HybridMonitorSlsTaskSlsProcessConfigExpressArgs{
				Alias:   pulumi.String("string"),
				Express: pulumi.String("string"),
			},
		},
		Filter: &cms.HybridMonitorSlsTaskSlsProcessConfigFilterArgs{
			Filters: cms.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArray{
				&cms.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs{
					Operator:   pulumi.String("string"),
					SlsKeyName: pulumi.String("string"),
					Value:      pulumi.String("string"),
				},
			},
			Relation: pulumi.String("string"),
		},
		GroupBies: cms.HybridMonitorSlsTaskSlsProcessConfigGroupByArray{
			&cms.HybridMonitorSlsTaskSlsProcessConfigGroupByArgs{
				Alias:      pulumi.String("string"),
				SlsKeyName: pulumi.String("string"),
			},
		},
		Statistics: cms.HybridMonitorSlsTaskSlsProcessConfigStatisticArray{
			&cms.HybridMonitorSlsTaskSlsProcessConfigStatisticArgs{
				Alias:        pulumi.String("string"),
				Function:     pulumi.String("string"),
				ParameterOne: pulumi.String("string"),
				ParameterTwo: pulumi.String("string"),
				SlsKeyName:   pulumi.String("string"),
			},
		},
	},
	TaskName: pulumi.String("string"),
	AttachLabels: cms.HybridMonitorSlsTaskAttachLabelArray{
		&cms.HybridMonitorSlsTaskAttachLabelArgs{
			Name:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	CollectInterval: pulumi.Int(0),
	Description:     pulumi.String("string"),
})
Copy
var hybridMonitorSlsTaskResource = new HybridMonitorSlsTask("hybridMonitorSlsTaskResource", HybridMonitorSlsTaskArgs.builder()
    .collectTargetType("string")
    .namespace("string")
    .slsProcessConfig(HybridMonitorSlsTaskSlsProcessConfigArgs.builder()
        .expresses(HybridMonitorSlsTaskSlsProcessConfigExpressArgs.builder()
            .alias("string")
            .express("string")
            .build())
        .filter(HybridMonitorSlsTaskSlsProcessConfigFilterArgs.builder()
            .filters(HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs.builder()
                .operator("string")
                .slsKeyName("string")
                .value("string")
                .build())
            .relation("string")
            .build())
        .groupBies(HybridMonitorSlsTaskSlsProcessConfigGroupByArgs.builder()
            .alias("string")
            .slsKeyName("string")
            .build())
        .statistics(HybridMonitorSlsTaskSlsProcessConfigStatisticArgs.builder()
            .alias("string")
            .function("string")
            .parameterOne("string")
            .parameterTwo("string")
            .slsKeyName("string")
            .build())
        .build())
    .taskName("string")
    .attachLabels(HybridMonitorSlsTaskAttachLabelArgs.builder()
        .name("string")
        .value("string")
        .build())
    .collectInterval(0)
    .description("string")
    .build());
Copy
hybrid_monitor_sls_task_resource = alicloud.cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource",
    collect_target_type="string",
    namespace="string",
    sls_process_config={
        "expresses": [{
            "alias": "string",
            "express": "string",
        }],
        "filter": {
            "filters": [{
                "operator": "string",
                "sls_key_name": "string",
                "value": "string",
            }],
            "relation": "string",
        },
        "group_bies": [{
            "alias": "string",
            "sls_key_name": "string",
        }],
        "statistics": [{
            "alias": "string",
            "function": "string",
            "parameter_one": "string",
            "parameter_two": "string",
            "sls_key_name": "string",
        }],
    },
    task_name="string",
    attach_labels=[{
        "name": "string",
        "value": "string",
    }],
    collect_interval=0,
    description="string")
Copy
const hybridMonitorSlsTaskResource = new alicloud.cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource", {
    collectTargetType: "string",
    namespace: "string",
    slsProcessConfig: {
        expresses: [{
            alias: "string",
            express: "string",
        }],
        filter: {
            filters: [{
                operator: "string",
                slsKeyName: "string",
                value: "string",
            }],
            relation: "string",
        },
        groupBies: [{
            alias: "string",
            slsKeyName: "string",
        }],
        statistics: [{
            alias: "string",
            "function": "string",
            parameterOne: "string",
            parameterTwo: "string",
            slsKeyName: "string",
        }],
    },
    taskName: "string",
    attachLabels: [{
        name: "string",
        value: "string",
    }],
    collectInterval: 0,
    description: "string",
});
Copy
type: alicloud:cms:HybridMonitorSlsTask
properties:
    attachLabels:
        - name: string
          value: string
    collectInterval: 0
    collectTargetType: string
    description: string
    namespace: string
    slsProcessConfig:
        expresses:
            - alias: string
              express: string
        filter:
            filters:
                - operator: string
                  slsKeyName: string
                  value: string
            relation: string
        groupBies:
            - alias: string
              slsKeyName: string
        statistics:
            - alias: string
              function: string
              parameterOne: string
              parameterTwo: string
              slsKeyName: string
    taskName: string
Copy

HybridMonitorSlsTask Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The HybridMonitorSlsTask resource accepts the following input properties:

CollectTargetType
This property is required.
Changes to this property will trigger replacement.
string
The type of the collection target, enter the name of the Logstore group.
Namespace
This property is required.
Changes to this property will trigger replacement.
string
The name of the namespace.
SlsProcessConfig This property is required. Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfig
The configurations of the logs that are imported from Log Service. See sls_process_config below.
TaskName
This property is required.
Changes to this property will trigger replacement.
string
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
AttachLabels List<Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskAttachLabel>
The label of the monitoring task. See attach_labels below.
CollectInterval int
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
Description string
The description of the metric import task.
CollectTargetType
This property is required.
Changes to this property will trigger replacement.
string
The type of the collection target, enter the name of the Logstore group.
Namespace
This property is required.
Changes to this property will trigger replacement.
string
The name of the namespace.
SlsProcessConfig This property is required. HybridMonitorSlsTaskSlsProcessConfigArgs
The configurations of the logs that are imported from Log Service. See sls_process_config below.
TaskName
This property is required.
Changes to this property will trigger replacement.
string
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
AttachLabels []HybridMonitorSlsTaskAttachLabelArgs
The label of the monitoring task. See attach_labels below.
CollectInterval int
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
Description string
The description of the metric import task.
collectTargetType
This property is required.
Changes to this property will trigger replacement.
String
The type of the collection target, enter the name of the Logstore group.
namespace
This property is required.
Changes to this property will trigger replacement.
String
The name of the namespace.
slsProcessConfig This property is required. HybridMonitorSlsTaskSlsProcessConfig
The configurations of the logs that are imported from Log Service. See sls_process_config below.
taskName
This property is required.
Changes to this property will trigger replacement.
String
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attachLabels List<HybridMonitorSlsTaskAttachLabel>
The label of the monitoring task. See attach_labels below.
collectInterval Integer
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
description String
The description of the metric import task.
collectTargetType
This property is required.
Changes to this property will trigger replacement.
string
The type of the collection target, enter the name of the Logstore group.
namespace
This property is required.
Changes to this property will trigger replacement.
string
The name of the namespace.
slsProcessConfig This property is required. HybridMonitorSlsTaskSlsProcessConfig
The configurations of the logs that are imported from Log Service. See sls_process_config below.
taskName
This property is required.
Changes to this property will trigger replacement.
string
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attachLabels HybridMonitorSlsTaskAttachLabel[]
The label of the monitoring task. See attach_labels below.
collectInterval number
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
description string
The description of the metric import task.
collect_target_type
This property is required.
Changes to this property will trigger replacement.
str
The type of the collection target, enter the name of the Logstore group.
namespace
This property is required.
Changes to this property will trigger replacement.
str
The name of the namespace.
sls_process_config This property is required. HybridMonitorSlsTaskSlsProcessConfigArgs
The configurations of the logs that are imported from Log Service. See sls_process_config below.
task_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attach_labels Sequence[HybridMonitorSlsTaskAttachLabelArgs]
The label of the monitoring task. See attach_labels below.
collect_interval int
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
description str
The description of the metric import task.
collectTargetType
This property is required.
Changes to this property will trigger replacement.
String
The type of the collection target, enter the name of the Logstore group.
namespace
This property is required.
Changes to this property will trigger replacement.
String
The name of the namespace.
slsProcessConfig This property is required. Property Map
The configurations of the logs that are imported from Log Service. See sls_process_config below.
taskName
This property is required.
Changes to this property will trigger replacement.
String
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attachLabels List<Property Map>
The label of the monitoring task. See attach_labels below.
collectInterval Number
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
description String
The description of the metric import task.

Outputs

All input properties are implicitly available as output properties. Additionally, the HybridMonitorSlsTask resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing HybridMonitorSlsTask Resource

Get an existing HybridMonitorSlsTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: HybridMonitorSlsTaskState, opts?: CustomResourceOptions): HybridMonitorSlsTask
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attach_labels: Optional[Sequence[HybridMonitorSlsTaskAttachLabelArgs]] = None,
        collect_interval: Optional[int] = None,
        collect_target_type: Optional[str] = None,
        description: Optional[str] = None,
        namespace: Optional[str] = None,
        sls_process_config: Optional[HybridMonitorSlsTaskSlsProcessConfigArgs] = None,
        task_name: Optional[str] = None) -> HybridMonitorSlsTask
func GetHybridMonitorSlsTask(ctx *Context, name string, id IDInput, state *HybridMonitorSlsTaskState, opts ...ResourceOption) (*HybridMonitorSlsTask, error)
public static HybridMonitorSlsTask Get(string name, Input<string> id, HybridMonitorSlsTaskState? state, CustomResourceOptions? opts = null)
public static HybridMonitorSlsTask get(String name, Output<String> id, HybridMonitorSlsTaskState state, CustomResourceOptions options)
resources:  _:    type: alicloud:cms:HybridMonitorSlsTask    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AttachLabels List<Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskAttachLabel>
The label of the monitoring task. See attach_labels below.
CollectInterval int
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
CollectTargetType Changes to this property will trigger replacement. string
The type of the collection target, enter the name of the Logstore group.
Description string
The description of the metric import task.
Namespace Changes to this property will trigger replacement. string
The name of the namespace.
SlsProcessConfig Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfig
The configurations of the logs that are imported from Log Service. See sls_process_config below.
TaskName Changes to this property will trigger replacement. string
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
AttachLabels []HybridMonitorSlsTaskAttachLabelArgs
The label of the monitoring task. See attach_labels below.
CollectInterval int
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
CollectTargetType Changes to this property will trigger replacement. string
The type of the collection target, enter the name of the Logstore group.
Description string
The description of the metric import task.
Namespace Changes to this property will trigger replacement. string
The name of the namespace.
SlsProcessConfig HybridMonitorSlsTaskSlsProcessConfigArgs
The configurations of the logs that are imported from Log Service. See sls_process_config below.
TaskName Changes to this property will trigger replacement. string
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attachLabels List<HybridMonitorSlsTaskAttachLabel>
The label of the monitoring task. See attach_labels below.
collectInterval Integer
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
collectTargetType Changes to this property will trigger replacement. String
The type of the collection target, enter the name of the Logstore group.
description String
The description of the metric import task.
namespace Changes to this property will trigger replacement. String
The name of the namespace.
slsProcessConfig HybridMonitorSlsTaskSlsProcessConfig
The configurations of the logs that are imported from Log Service. See sls_process_config below.
taskName Changes to this property will trigger replacement. String
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attachLabels HybridMonitorSlsTaskAttachLabel[]
The label of the monitoring task. See attach_labels below.
collectInterval number
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
collectTargetType Changes to this property will trigger replacement. string
The type of the collection target, enter the name of the Logstore group.
description string
The description of the metric import task.
namespace Changes to this property will trigger replacement. string
The name of the namespace.
slsProcessConfig HybridMonitorSlsTaskSlsProcessConfig
The configurations of the logs that are imported from Log Service. See sls_process_config below.
taskName Changes to this property will trigger replacement. string
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attach_labels Sequence[HybridMonitorSlsTaskAttachLabelArgs]
The label of the monitoring task. See attach_labels below.
collect_interval int
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
collect_target_type Changes to this property will trigger replacement. str
The type of the collection target, enter the name of the Logstore group.
description str
The description of the metric import task.
namespace Changes to this property will trigger replacement. str
The name of the namespace.
sls_process_config HybridMonitorSlsTaskSlsProcessConfigArgs
The configurations of the logs that are imported from Log Service. See sls_process_config below.
task_name Changes to this property will trigger replacement. str
The name of the metric import task, enter the name of the metric for logs imported from Log Service.
attachLabels List<Property Map>
The label of the monitoring task. See attach_labels below.
collectInterval Number
The interval at which metrics are collected. Valid values: 15, 60(default value). Unit: seconds.
collectTargetType Changes to this property will trigger replacement. String
The type of the collection target, enter the name of the Logstore group.
description String
The description of the metric import task.
namespace Changes to this property will trigger replacement. String
The name of the namespace.
slsProcessConfig Property Map
The configurations of the logs that are imported from Log Service. See sls_process_config below.
taskName Changes to this property will trigger replacement. String
The name of the metric import task, enter the name of the metric for logs imported from Log Service.

Supporting Types

HybridMonitorSlsTaskAttachLabel
, HybridMonitorSlsTaskAttachLabelArgs

Name string
The tag key of the metric.
Value string
The tag value of the metric.
Name string
The tag key of the metric.
Value string
The tag value of the metric.
name String
The tag key of the metric.
value String
The tag value of the metric.
name string
The tag key of the metric.
value string
The tag value of the metric.
name str
The tag key of the metric.
value str
The tag value of the metric.
name String
The tag key of the metric.
value String
The tag value of the metric.

HybridMonitorSlsTaskSlsProcessConfig
, HybridMonitorSlsTaskSlsProcessConfigArgs

Expresses List<Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigExpress>
The extended field that specifies the result of basic operations that are performed on aggregation results.
Filter Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigFilter
The conditions that are used to filter logs imported from Log Service. See filter below.
GroupBies List<Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigGroupBy>
The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_by below.
Statistics List<Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigStatistic>
The method that is used to aggregate logs imported from Log Service. See statistics below.
Expresses []HybridMonitorSlsTaskSlsProcessConfigExpress
The extended field that specifies the result of basic operations that are performed on aggregation results.
Filter HybridMonitorSlsTaskSlsProcessConfigFilter
The conditions that are used to filter logs imported from Log Service. See filter below.
GroupBies []HybridMonitorSlsTaskSlsProcessConfigGroupBy
The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_by below.
Statistics []HybridMonitorSlsTaskSlsProcessConfigStatistic
The method that is used to aggregate logs imported from Log Service. See statistics below.
expresses List<HybridMonitorSlsTaskSlsProcessConfigExpress>
The extended field that specifies the result of basic operations that are performed on aggregation results.
filter HybridMonitorSlsTaskSlsProcessConfigFilter
The conditions that are used to filter logs imported from Log Service. See filter below.
groupBies List<HybridMonitorSlsTaskSlsProcessConfigGroupBy>
The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_by below.
statistics List<HybridMonitorSlsTaskSlsProcessConfigStatistic>
The method that is used to aggregate logs imported from Log Service. See statistics below.
expresses HybridMonitorSlsTaskSlsProcessConfigExpress[]
The extended field that specifies the result of basic operations that are performed on aggregation results.
filter HybridMonitorSlsTaskSlsProcessConfigFilter
The conditions that are used to filter logs imported from Log Service. See filter below.
groupBies HybridMonitorSlsTaskSlsProcessConfigGroupBy[]
The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_by below.
statistics HybridMonitorSlsTaskSlsProcessConfigStatistic[]
The method that is used to aggregate logs imported from Log Service. See statistics below.
expresses Sequence[HybridMonitorSlsTaskSlsProcessConfigExpress]
The extended field that specifies the result of basic operations that are performed on aggregation results.
filter HybridMonitorSlsTaskSlsProcessConfigFilter
The conditions that are used to filter logs imported from Log Service. See filter below.
group_bies Sequence[HybridMonitorSlsTaskSlsProcessConfigGroupBy]
The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_by below.
statistics Sequence[HybridMonitorSlsTaskSlsProcessConfigStatistic]
The method that is used to aggregate logs imported from Log Service. See statistics below.
expresses List<Property Map>
The extended field that specifies the result of basic operations that are performed on aggregation results.
filter Property Map
The conditions that are used to filter logs imported from Log Service. See filter below.
groupBies List<Property Map>
The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_by below.
statistics List<Property Map>
The method that is used to aggregate logs imported from Log Service. See statistics below.

HybridMonitorSlsTaskSlsProcessConfigExpress
, HybridMonitorSlsTaskSlsProcessConfigExpressArgs

Alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
Express string
The extended field that specifies the result of basic operations that are performed on aggregation results.
Alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
Express string
The extended field that specifies the result of basic operations that are performed on aggregation results.
alias String
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
express String
The extended field that specifies the result of basic operations that are performed on aggregation results.
alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
express string
The extended field that specifies the result of basic operations that are performed on aggregation results.
alias str
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
express str
The extended field that specifies the result of basic operations that are performed on aggregation results.
alias String
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
express String
The extended field that specifies the result of basic operations that are performed on aggregation results.

HybridMonitorSlsTaskSlsProcessConfigFilter
, HybridMonitorSlsTaskSlsProcessConfigFilterArgs

Filters List<Pulumi.AliCloud.Cms.Inputs.HybridMonitorSlsTaskSlsProcessConfigFilterFilter>
The conditions that are used to filter logs imported from Log Service. See filters below.
Relation string
The relationship between multiple filter conditions. Valid values: and(default value), or.
Filters []HybridMonitorSlsTaskSlsProcessConfigFilterFilter
The conditions that are used to filter logs imported from Log Service. See filters below.
Relation string
The relationship between multiple filter conditions. Valid values: and(default value), or.
filters List<HybridMonitorSlsTaskSlsProcessConfigFilterFilter>
The conditions that are used to filter logs imported from Log Service. See filters below.
relation String
The relationship between multiple filter conditions. Valid values: and(default value), or.
filters HybridMonitorSlsTaskSlsProcessConfigFilterFilter[]
The conditions that are used to filter logs imported from Log Service. See filters below.
relation string
The relationship between multiple filter conditions. Valid values: and(default value), or.
filters Sequence[HybridMonitorSlsTaskSlsProcessConfigFilterFilter]
The conditions that are used to filter logs imported from Log Service. See filters below.
relation str
The relationship between multiple filter conditions. Valid values: and(default value), or.
filters List<Property Map>
The conditions that are used to filter logs imported from Log Service. See filters below.
relation String
The relationship between multiple filter conditions. Valid values: and(default value), or.

HybridMonitorSlsTaskSlsProcessConfigFilterFilter
, HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs

Operator string
The method that is used to filter logs imported from Log Service. Valid values: >, >=, =, <=, <, !=, contain, notContain.
SlsKeyName string
The name of the key that is used to filter logs imported from Log Service.
Value string
Operator string
The method that is used to filter logs imported from Log Service. Valid values: >, >=, =, <=, <, !=, contain, notContain.
SlsKeyName string
The name of the key that is used to filter logs imported from Log Service.
Value string
operator String
The method that is used to filter logs imported from Log Service. Valid values: >, >=, =, <=, <, !=, contain, notContain.
slsKeyName String
The name of the key that is used to filter logs imported from Log Service.
value String
operator string
The method that is used to filter logs imported from Log Service. Valid values: >, >=, =, <=, <, !=, contain, notContain.
slsKeyName string
The name of the key that is used to filter logs imported from Log Service.
value string
operator str
The method that is used to filter logs imported from Log Service. Valid values: >, >=, =, <=, <, !=, contain, notContain.
sls_key_name str
The name of the key that is used to filter logs imported from Log Service.
value str
operator String
The method that is used to filter logs imported from Log Service. Valid values: >, >=, =, <=, <, !=, contain, notContain.
slsKeyName String
The name of the key that is used to filter logs imported from Log Service.
value String

HybridMonitorSlsTaskSlsProcessConfigGroupBy
, HybridMonitorSlsTaskSlsProcessConfigGroupByArgs

Alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
SlsKeyName string
The name of the key that is used to filter logs imported from Log Service.
Alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
SlsKeyName string
The name of the key that is used to filter logs imported from Log Service.
alias String
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
slsKeyName String
The name of the key that is used to filter logs imported from Log Service.
alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
slsKeyName string
The name of the key that is used to filter logs imported from Log Service.
alias str
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
sls_key_name str
The name of the key that is used to filter logs imported from Log Service.
alias String
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
slsKeyName String
The name of the key that is used to filter logs imported from Log Service.

HybridMonitorSlsTaskSlsProcessConfigStatistic
, HybridMonitorSlsTaskSlsProcessConfigStatisticArgs

Alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
Function string
The function that is used to aggregate log data within a statistical period. Valid values: count, sum, avg, max, min, value, countps, sumps, distinct, distribution, percentile.
ParameterOne string
The value of the function that is used to aggregate logs imported from Log Service.

  • If you set the function parameter to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.
  • If you set the function parameter to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
ParameterTwo string
The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the function parameter is set to distribution. This parameter specifies the upper limit of the statistical interval.
SlsKeyName string
The name of the key that is used to filter logs imported from Log Service.
Alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
Function string
The function that is used to aggregate log data within a statistical period. Valid values: count, sum, avg, max, min, value, countps, sumps, distinct, distribution, percentile.
ParameterOne string
The value of the function that is used to aggregate logs imported from Log Service.

  • If you set the function parameter to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.
  • If you set the function parameter to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
ParameterTwo string
The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the function parameter is set to distribution. This parameter specifies the upper limit of the statistical interval.
SlsKeyName string
The name of the key that is used to filter logs imported from Log Service.
alias String
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
function String
The function that is used to aggregate log data within a statistical period. Valid values: count, sum, avg, max, min, value, countps, sumps, distinct, distribution, percentile.
parameterOne String
The value of the function that is used to aggregate logs imported from Log Service.

  • If you set the function parameter to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.
  • If you set the function parameter to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
parameterTwo String
The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the function parameter is set to distribution. This parameter specifies the upper limit of the statistical interval.
slsKeyName String
The name of the key that is used to filter logs imported from Log Service.
alias string
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
function string
The function that is used to aggregate log data within a statistical period. Valid values: count, sum, avg, max, min, value, countps, sumps, distinct, distribution, percentile.
parameterOne string
The value of the function that is used to aggregate logs imported from Log Service.

  • If you set the function parameter to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.
  • If you set the function parameter to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
parameterTwo string
The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the function parameter is set to distribution. This parameter specifies the upper limit of the statistical interval.
slsKeyName string
The name of the key that is used to filter logs imported from Log Service.
alias str
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
function str
The function that is used to aggregate log data within a statistical period. Valid values: count, sum, avg, max, min, value, countps, sumps, distinct, distribution, percentile.
parameter_one str
The value of the function that is used to aggregate logs imported from Log Service.

  • If you set the function parameter to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.
  • If you set the function parameter to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
parameter_two str
The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the function parameter is set to distribution. This parameter specifies the upper limit of the statistical interval.
sls_key_name str
The name of the key that is used to filter logs imported from Log Service.
alias String
The alias of the extended field that specifies the result of basic operations that are performed on aggregation results.
function String
The function that is used to aggregate log data within a statistical period. Valid values: count, sum, avg, max, min, value, countps, sumps, distinct, distribution, percentile.
parameterOne String
The value of the function that is used to aggregate logs imported from Log Service.

  • If you set the function parameter to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.
  • If you set the function parameter to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
parameterTwo String
The value of the function that is used to aggregate logs imported from Log Service. Note: This parameter is required only if the function parameter is set to distribution. This parameter specifies the upper limit of the statistical interval.
slsKeyName String
The name of the key that is used to filter logs imported from Log Service.

Import

Cloud Monitor Service Hybrid Monitor Sls Task can be imported using the id, e.g.

$ pulumi import alicloud:cms/hybridMonitorSlsTask:HybridMonitorSlsTask example <id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.