1. Packages
  2. Alicloud Provider
  3. API Docs
  4. cms
  5. HybridMonitorSlsTask
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.cms.HybridMonitorSlsTask

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    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 string
    The unique name of the resource.
    args HybridMonitorSlsTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args HybridMonitorSlsTaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HybridMonitorSlsTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    hybrid_monitor_sls_task_resource = alicloud.cms.HybridMonitorSlsTask("hybridMonitorSlsTaskResource",
        collect_target_type="string",
        namespace="string",
        sls_process_config=alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigArgs(
            expresses=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigExpressArgs(
                alias="string",
                express="string",
            )],
            filter=alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigFilterArgs(
                filters=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigFilterFilterArgs(
                    operator="string",
                    sls_key_name="string",
                    value="string",
                )],
                relation="string",
            ),
            group_bies=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigGroupByArgs(
                alias="string",
                sls_key_name="string",
            )],
            statistics=[alicloud.cms.HybridMonitorSlsTaskSlsProcessConfigStatisticArgs(
                alias="string",
                function="string",
                parameter_one="string",
                parameter_two="string",
                sls_key_name="string",
            )],
        ),
        task_name="string",
        attach_labels=[alicloud.cms.HybridMonitorSlsTaskAttachLabelArgs(
            name="string",
            value="string",
        )],
        collect_interval=0,
        description="string")
    
    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",
    });
    
    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
    

    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

    The HybridMonitorSlsTask resource accepts the following input properties:

    CollectTargetType string
    The type of the collection target, enter the name of the Logstore group.
    Namespace 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 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 string
    The type of the collection target, enter the name of the Logstore group.
    Namespace 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 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 String
    The type of the collection target, enter the name of the Logstore group.
    namespace 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 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 string
    The type of the collection target, enter the name of the Logstore group.
    namespace 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 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 str
    The type of the collection target, enter the name of the Logstore group.
    namespace 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 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 String
    The type of the collection target, enter the name of the Logstore group.
    namespace 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 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 string
    The type of the collection target, enter the name of the Logstore group.
    Description string
    The description of the metric import task.
    Namespace 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 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 string
    The type of the collection target, enter the name of the Logstore group.
    Description string
    The description of the metric import task.
    Namespace 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 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 String
    The type of the collection target, enter the name of the Logstore group.
    description String
    The description of the metric import task.
    namespace 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 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 string
    The type of the collection target, enter the name of the Logstore group.
    description string
    The description of the metric import task.
    namespace 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 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 str
    The type of the collection target, enter the name of the Logstore group.
    description str
    The description of the metric import task.
    namespace 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 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 String
    The type of the collection target, enter the name of the Logstore group.
    description String
    The description of the metric import task.
    namespace 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 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>
    

    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.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi