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 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={
        "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")
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
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:
- CollectTarget stringType 
- The type of the collection target, enter the name of the Logstore group.
- Namespace string
- The name of the namespace.
- SlsProcess Pulumi.Config Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- TaskName string
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- AttachLabels List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Attach Label> 
- The label of the monitoring task. See attach_labelsbelow.
- 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.
- CollectTarget stringType 
- The type of the collection target, enter the name of the Logstore group.
- Namespace string
- The name of the namespace.
- SlsProcess HybridConfig Monitor Sls Task Sls Process Config Args 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- TaskName string
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- AttachLabels []HybridMonitor Sls Task Attach Label Args 
- The label of the monitoring task. See attach_labelsbelow.
- 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.
- collectTarget StringType 
- The type of the collection target, enter the name of the Logstore group.
- namespace String
- The name of the namespace.
- slsProcess HybridConfig Monitor Sls Task Sls Process Config 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- taskName String
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attachLabels List<HybridMonitor Sls Task Attach Label> 
- The label of the monitoring task. See attach_labelsbelow.
- 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.
- collectTarget stringType 
- The type of the collection target, enter the name of the Logstore group.
- namespace string
- The name of the namespace.
- slsProcess HybridConfig Monitor Sls Task Sls Process Config 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- taskName string
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attachLabels HybridMonitor Sls Task Attach Label[] 
- The label of the monitoring task. See attach_labelsbelow.
- 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_ strtype 
- The type of the collection target, enter the name of the Logstore group.
- namespace str
- The name of the namespace.
- sls_process_ Hybridconfig Monitor Sls Task Sls Process Config Args 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- 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[HybridMonitor Sls Task Attach Label Args] 
- The label of the monitoring task. See attach_labelsbelow.
- 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.
- collectTarget StringType 
- The type of the collection target, enter the name of the Logstore group.
- namespace String
- The name of the namespace.
- slsProcess Property MapConfig 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- 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_labelsbelow.
- 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) -> HybridMonitorSlsTaskfunc 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
- 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.
- AttachLabels List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Attach Label> 
- The label of the monitoring task. See attach_labelsbelow.
- CollectInterval int
- The interval at which metrics are collected. Valid values: 15,60(default value). Unit: seconds.
- CollectTarget stringType 
- 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.
- SlsProcess Pulumi.Config Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- TaskName string
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- AttachLabels []HybridMonitor Sls Task Attach Label Args 
- The label of the monitoring task. See attach_labelsbelow.
- CollectInterval int
- The interval at which metrics are collected. Valid values: 15,60(default value). Unit: seconds.
- CollectTarget stringType 
- 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.
- SlsProcess HybridConfig Monitor Sls Task Sls Process Config Args 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- TaskName string
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attachLabels List<HybridMonitor Sls Task Attach Label> 
- The label of the monitoring task. See attach_labelsbelow.
- collectInterval Integer
- The interval at which metrics are collected. Valid values: 15,60(default value). Unit: seconds.
- collectTarget StringType 
- 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.
- slsProcess HybridConfig Monitor Sls Task Sls Process Config 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- taskName String
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attachLabels HybridMonitor Sls Task Attach Label[] 
- The label of the monitoring task. See attach_labelsbelow.
- collectInterval number
- The interval at which metrics are collected. Valid values: 15,60(default value). Unit: seconds.
- collectTarget stringType 
- 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.
- slsProcess HybridConfig Monitor Sls Task Sls Process Config 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- taskName string
- The name of the metric import task, enter the name of the metric for logs imported from Log Service.
- attach_labels Sequence[HybridMonitor Sls Task Attach Label Args] 
- The label of the monitoring task. See attach_labelsbelow.
- collect_interval int
- The interval at which metrics are collected. Valid values: 15,60(default value). Unit: seconds.
- collect_target_ strtype 
- 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_ Hybridconfig Monitor Sls Task Sls Process Config Args 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- 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_labelsbelow.
- collectInterval Number
- The interval at which metrics are collected. Valid values: 15,60(default value). Unit: seconds.
- collectTarget StringType 
- 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.
- slsProcess Property MapConfig 
- The configurations of the logs that are imported from Log Service. See sls_process_configbelow.
- 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            
HybridMonitorSlsTaskSlsProcessConfig, HybridMonitorSlsTaskSlsProcessConfigArgs              
- Expresses
List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Express> 
- The extended field that specifies the result of basic operations that are performed on aggregation results.
- Filter
Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Filter 
- The conditions that are used to filter logs imported from Log Service. See filterbelow.
- GroupBies List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Group By> 
- The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_bybelow.
- Statistics
List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Statistic> 
- The method that is used to aggregate logs imported from Log Service. See statisticsbelow.
- Expresses
[]HybridMonitor Sls Task Sls Process Config Express 
- The extended field that specifies the result of basic operations that are performed on aggregation results.
- Filter
HybridMonitor Sls Task Sls Process Config Filter 
- The conditions that are used to filter logs imported from Log Service. See filterbelow.
- GroupBies []HybridMonitor Sls Task Sls Process Config Group By 
- The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_bybelow.
- Statistics
[]HybridMonitor Sls Task Sls Process Config Statistic 
- The method that is used to aggregate logs imported from Log Service. See statisticsbelow.
- expresses
List<HybridMonitor Sls Task Sls Process Config Express> 
- The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter
HybridMonitor Sls Task Sls Process Config Filter 
- The conditions that are used to filter logs imported from Log Service. See filterbelow.
- groupBies List<HybridMonitor Sls Task Sls Process Config Group By> 
- The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_bybelow.
- statistics
List<HybridMonitor Sls Task Sls Process Config Statistic> 
- The method that is used to aggregate logs imported from Log Service. See statisticsbelow.
- expresses
HybridMonitor Sls Task Sls Process Config Express[] 
- The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter
HybridMonitor Sls Task Sls Process Config Filter 
- The conditions that are used to filter logs imported from Log Service. See filterbelow.
- groupBies HybridMonitor Sls Task Sls Process Config Group By[] 
- The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_bybelow.
- statistics
HybridMonitor Sls Task Sls Process Config Statistic[] 
- The method that is used to aggregate logs imported from Log Service. See statisticsbelow.
- expresses
Sequence[HybridMonitor Sls Task Sls Process Config Express] 
- The extended field that specifies the result of basic operations that are performed on aggregation results.
- filter
HybridMonitor Sls Task Sls Process Config Filter 
- The conditions that are used to filter logs imported from Log Service. See filterbelow.
- group_bies Sequence[HybridMonitor Sls Task Sls Process Config Group By] 
- The dimension based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. See group_bybelow.
- statistics
Sequence[HybridMonitor Sls Task Sls Process Config Statistic] 
- The method that is used to aggregate logs imported from Log Service. See statisticsbelow.
- 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 filterbelow.
- 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_bybelow.
- statistics List<Property Map>
- The method that is used to aggregate logs imported from Log Service. See statisticsbelow.
HybridMonitorSlsTaskSlsProcessConfigExpress, HybridMonitorSlsTaskSlsProcessConfigExpressArgs                
HybridMonitorSlsTaskSlsProcessConfigFilter, HybridMonitorSlsTaskSlsProcessConfigFilterArgs                
- Filters
List<Pulumi.Ali Cloud. Cms. Inputs. Hybrid Monitor Sls Task Sls Process Config Filter Filter> 
- The conditions that are used to filter logs imported from Log Service. See filtersbelow.
- Relation string
- The relationship between multiple filter conditions. Valid values: and(default value),or.
- Filters
[]HybridMonitor Sls Task Sls Process Config Filter Filter 
- The conditions that are used to filter logs imported from Log Service. See filtersbelow.
- Relation string
- The relationship between multiple filter conditions. Valid values: and(default value),or.
- filters
List<HybridMonitor Sls Task Sls Process Config Filter Filter> 
- The conditions that are used to filter logs imported from Log Service. See filtersbelow.
- relation String
- The relationship between multiple filter conditions. Valid values: and(default value),or.
- filters
HybridMonitor Sls Task Sls Process Config Filter Filter[] 
- The conditions that are used to filter logs imported from Log Service. See filtersbelow.
- relation string
- The relationship between multiple filter conditions. Valid values: and(default value),or.
- filters
Sequence[HybridMonitor Sls Task Sls Process Config Filter Filter] 
- The conditions that are used to filter logs imported from Log Service. See filtersbelow.
- 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 filtersbelow.
- 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.
- SlsKey stringName 
- 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.
- SlsKey stringName 
- 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.
- slsKey StringName 
- 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.
- slsKey stringName 
- 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_ strname 
- 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.
- slsKey StringName 
- 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.
- SlsKey stringName 
- 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.
- SlsKey stringName 
- 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.
- slsKey StringName 
- 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.
- slsKey stringName 
- 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_ strname 
- 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.
- slsKey StringName 
- 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 functionparameter todistribution, 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 functionparameter topercentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
 
- If you set the 
- 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 functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval.
- SlsKey stringName 
- 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 functionparameter todistribution, 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 functionparameter topercentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
 
- If you set the 
- 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 functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval.
- SlsKey stringName 
- 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 functionparameter todistribution, 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 functionparameter topercentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
 
- If you set the 
- 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 functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval.
- slsKey StringName 
- 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 functionparameter todistribution, 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 functionparameter topercentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
 
- If you set the 
- 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 functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval.
- slsKey stringName 
- 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 functionparameter todistribution, 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 functionparameter topercentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
 
- If you set the 
- 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 functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval.
- sls_key_ strname 
- 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 functionparameter todistribution, 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 functionparameter topercentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
 
- If you set the 
- 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 functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval.
- slsKey StringName 
- 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 alicloudTerraform Provider.