1. Packages
  2. Ibm Provider
  3. API Docs
  4. LogsE2m
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.LogsE2m

Explore with Pulumi AI

Create, update, and delete logs_e2ms with this resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const logsE2mInstance = new ibm.LogsE2m("logsE2mInstance", {
    instanceId: ibm_resource_instance.logs_instance.guid,
    region: ibm_resource_instance.logs_instance.location,
    description: "example E2M decription",
    logsQuery: {
        applicationnameFilters: [],
        severityFilters: [
            "debug",
            "error",
        ],
        subsystemnameFilters: [],
    },
    type: "logs2metrics",
});
Copy
import pulumi
import pulumi_ibm as ibm

logs_e2m_instance = ibm.LogsE2m("logsE2mInstance",
    instance_id=ibm_resource_instance["logs_instance"]["guid"],
    region=ibm_resource_instance["logs_instance"]["location"],
    description="example E2M decription",
    logs_query={
        "applicationname_filters": [],
        "severity_filters": [
            "debug",
            "error",
        ],
        "subsystemname_filters": [],
    },
    type="logs2metrics")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.NewLogsE2m(ctx, "logsE2mInstance", &ibm.LogsE2mArgs{
			InstanceId:  pulumi.Any(ibm_resource_instance.Logs_instance.Guid),
			Region:      pulumi.Any(ibm_resource_instance.Logs_instance.Location),
			Description: pulumi.String("example E2M decription"),
			LogsQuery: &ibm.LogsE2mLogsQueryArgs{
				ApplicationnameFilters: pulumi.StringArray{},
				SeverityFilters: pulumi.StringArray{
					pulumi.String("debug"),
					pulumi.String("error"),
				},
				SubsystemnameFilters: pulumi.StringArray{},
			},
			Type: pulumi.String("logs2metrics"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var logsE2mInstance = new Ibm.LogsE2m("logsE2mInstance", new()
    {
        InstanceId = ibm_resource_instance.Logs_instance.Guid,
        Region = ibm_resource_instance.Logs_instance.Location,
        Description = "example E2M decription",
        LogsQuery = new Ibm.Inputs.LogsE2mLogsQueryArgs
        {
            ApplicationnameFilters = new() { },
            SeverityFilters = new[]
            {
                "debug",
                "error",
            },
            SubsystemnameFilters = new() { },
        },
        Type = "logs2metrics",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.LogsE2m;
import com.pulumi.ibm.LogsE2mArgs;
import com.pulumi.ibm.inputs.LogsE2mLogsQueryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var logsE2mInstance = new LogsE2m("logsE2mInstance", LogsE2mArgs.builder()
            .instanceId(ibm_resource_instance.logs_instance().guid())
            .region(ibm_resource_instance.logs_instance().location())
            .description("example E2M decription")
            .logsQuery(LogsE2mLogsQueryArgs.builder()
                .applicationnameFilters()
                .severityFilters(                
                    "debug",
                    "error")
                .subsystemnameFilters()
                .build())
            .type("logs2metrics")
            .build());

    }
}
Copy
resources:
  logsE2mInstance:
    type: ibm:LogsE2m
    properties:
      instanceId: ${ibm_resource_instance.logs_instance.guid}
      region: ${ibm_resource_instance.logs_instance.location}
      description: example E2M decription
      logsQuery:
        applicationnameFilters: []
        severityFilters:
          - debug
          - error
        subsystemnameFilters: []
      type: logs2metrics
Copy

Create LogsE2m Resource

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

Constructor syntax

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

@overload
def LogsE2m(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            instance_id: Optional[str] = None,
            description: Optional[str] = None,
            endpoint_type: Optional[str] = None,
            logs_e2m_id: Optional[str] = None,
            logs_query: Optional[LogsE2mLogsQueryArgs] = None,
            metric_fields: Optional[Sequence[LogsE2mMetricFieldArgs]] = None,
            metric_labels: Optional[Sequence[LogsE2mMetricLabelArgs]] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            type: Optional[str] = None)
func NewLogsE2m(ctx *Context, name string, args LogsE2mArgs, opts ...ResourceOption) (*LogsE2m, error)
public LogsE2m(string name, LogsE2mArgs args, CustomResourceOptions? opts = null)
public LogsE2m(String name, LogsE2mArgs args)
public LogsE2m(String name, LogsE2mArgs args, CustomResourceOptions options)
type: ibm:LogsE2m
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. LogsE2mArgs
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. LogsE2mArgs
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. LogsE2mArgs
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. LogsE2mArgs
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. LogsE2mArgs
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 logsE2mResource = new Ibm.LogsE2m("logsE2mResource", new()
{
    InstanceId = "string",
    Description = "string",
    EndpointType = "string",
    LogsE2mId = "string",
    LogsQuery = new Ibm.Inputs.LogsE2mLogsQueryArgs
    {
        Alias = "string",
        ApplicationnameFilters = new[]
        {
            "string",
        },
        Lucene = "string",
        SeverityFilters = new[]
        {
            "string",
        },
        SubsystemnameFilters = new[]
        {
            "string",
        },
    },
    MetricFields = new[]
    {
        new Ibm.Inputs.LogsE2mMetricFieldArgs
        {
            Aggregations = new[]
            {
                new Ibm.Inputs.LogsE2mMetricFieldAggregationArgs
                {
                    AggType = "string",
                    Enabled = false,
                    Histogram = new Ibm.Inputs.LogsE2mMetricFieldAggregationHistogramArgs
                    {
                        Buckets = new[]
                        {
                            0,
                        },
                    },
                    Samples = new Ibm.Inputs.LogsE2mMetricFieldAggregationSamplesArgs
                    {
                        SampleType = "string",
                    },
                    TargetMetricName = "string",
                },
            },
            SourceField = "string",
            TargetBaseMetricName = "string",
        },
    },
    MetricLabels = new[]
    {
        new Ibm.Inputs.LogsE2mMetricLabelArgs
        {
            SourceField = "string",
            TargetLabel = "string",
        },
    },
    Name = "string",
    Region = "string",
    Type = "string",
});
Copy
example, err := ibm.NewLogsE2m(ctx, "logsE2mResource", &ibm.LogsE2mArgs{
	InstanceId:   pulumi.String("string"),
	Description:  pulumi.String("string"),
	EndpointType: pulumi.String("string"),
	LogsE2mId:    pulumi.String("string"),
	LogsQuery: &ibm.LogsE2mLogsQueryArgs{
		Alias: pulumi.String("string"),
		ApplicationnameFilters: pulumi.StringArray{
			pulumi.String("string"),
		},
		Lucene: pulumi.String("string"),
		SeverityFilters: pulumi.StringArray{
			pulumi.String("string"),
		},
		SubsystemnameFilters: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	MetricFields: ibm.LogsE2mMetricFieldArray{
		&ibm.LogsE2mMetricFieldArgs{
			Aggregations: ibm.LogsE2mMetricFieldAggregationArray{
				&ibm.LogsE2mMetricFieldAggregationArgs{
					AggType: pulumi.String("string"),
					Enabled: pulumi.Bool(false),
					Histogram: &ibm.LogsE2mMetricFieldAggregationHistogramArgs{
						Buckets: pulumi.Float64Array{
							pulumi.Float64(0),
						},
					},
					Samples: &ibm.LogsE2mMetricFieldAggregationSamplesArgs{
						SampleType: pulumi.String("string"),
					},
					TargetMetricName: pulumi.String("string"),
				},
			},
			SourceField:          pulumi.String("string"),
			TargetBaseMetricName: pulumi.String("string"),
		},
	},
	MetricLabels: ibm.LogsE2mMetricLabelArray{
		&ibm.LogsE2mMetricLabelArgs{
			SourceField: pulumi.String("string"),
			TargetLabel: pulumi.String("string"),
		},
	},
	Name:   pulumi.String("string"),
	Region: pulumi.String("string"),
	Type:   pulumi.String("string"),
})
Copy
var logsE2mResource = new LogsE2m("logsE2mResource", LogsE2mArgs.builder()
    .instanceId("string")
    .description("string")
    .endpointType("string")
    .logsE2mId("string")
    .logsQuery(LogsE2mLogsQueryArgs.builder()
        .alias("string")
        .applicationnameFilters("string")
        .lucene("string")
        .severityFilters("string")
        .subsystemnameFilters("string")
        .build())
    .metricFields(LogsE2mMetricFieldArgs.builder()
        .aggregations(LogsE2mMetricFieldAggregationArgs.builder()
            .aggType("string")
            .enabled(false)
            .histogram(LogsE2mMetricFieldAggregationHistogramArgs.builder()
                .buckets(0)
                .build())
            .samples(LogsE2mMetricFieldAggregationSamplesArgs.builder()
                .sampleType("string")
                .build())
            .targetMetricName("string")
            .build())
        .sourceField("string")
        .targetBaseMetricName("string")
        .build())
    .metricLabels(LogsE2mMetricLabelArgs.builder()
        .sourceField("string")
        .targetLabel("string")
        .build())
    .name("string")
    .region("string")
    .type("string")
    .build());
Copy
logs_e2m_resource = ibm.LogsE2m("logsE2mResource",
    instance_id="string",
    description="string",
    endpoint_type="string",
    logs_e2m_id="string",
    logs_query={
        "alias": "string",
        "applicationname_filters": ["string"],
        "lucene": "string",
        "severity_filters": ["string"],
        "subsystemname_filters": ["string"],
    },
    metric_fields=[{
        "aggregations": [{
            "agg_type": "string",
            "enabled": False,
            "histogram": {
                "buckets": [0],
            },
            "samples": {
                "sample_type": "string",
            },
            "target_metric_name": "string",
        }],
        "source_field": "string",
        "target_base_metric_name": "string",
    }],
    metric_labels=[{
        "source_field": "string",
        "target_label": "string",
    }],
    name="string",
    region="string",
    type="string")
Copy
const logsE2mResource = new ibm.LogsE2m("logsE2mResource", {
    instanceId: "string",
    description: "string",
    endpointType: "string",
    logsE2mId: "string",
    logsQuery: {
        alias: "string",
        applicationnameFilters: ["string"],
        lucene: "string",
        severityFilters: ["string"],
        subsystemnameFilters: ["string"],
    },
    metricFields: [{
        aggregations: [{
            aggType: "string",
            enabled: false,
            histogram: {
                buckets: [0],
            },
            samples: {
                sampleType: "string",
            },
            targetMetricName: "string",
        }],
        sourceField: "string",
        targetBaseMetricName: "string",
    }],
    metricLabels: [{
        sourceField: "string",
        targetLabel: "string",
    }],
    name: "string",
    region: "string",
    type: "string",
});
Copy
type: ibm:LogsE2m
properties:
    description: string
    endpointType: string
    instanceId: string
    logsE2mId: string
    logsQuery:
        alias: string
        applicationnameFilters:
            - string
        lucene: string
        severityFilters:
            - string
        subsystemnameFilters:
            - string
    metricFields:
        - aggregations:
            - aggType: string
              enabled: false
              histogram:
                buckets:
                    - 0
              samples:
                sampleType: string
              targetMetricName: string
          sourceField: string
          targetBaseMetricName: string
    metricLabels:
        - sourceField: string
          targetLabel: string
    name: string
    region: string
    type: string
Copy

LogsE2m 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 LogsE2m resource accepts the following input properties:

InstanceId This property is required. string
Cloud Logs Instance GUID.
Description string
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
EndpointType string
Cloud Logs Instance Endpoint type. Allowed values public and private.
LogsE2mId string
The unique identifier of the logs_e2m resource.
LogsQuery LogsE2mLogsQuery
E2M logs query. Nested schema for logs_query:
MetricFields List<LogsE2mMetricField>
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
MetricLabels List<LogsE2mMetricLabel>
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
Name string
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
Region string
Cloud Logs Instance Region.
Type string
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
InstanceId This property is required. string
Cloud Logs Instance GUID.
Description string
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
EndpointType string
Cloud Logs Instance Endpoint type. Allowed values public and private.
LogsE2mId string
The unique identifier of the logs_e2m resource.
LogsQuery LogsE2mLogsQueryArgs
E2M logs query. Nested schema for logs_query:
MetricFields []LogsE2mMetricFieldArgs
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
MetricLabels []LogsE2mMetricLabelArgs
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
Name string
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
Region string
Cloud Logs Instance Region.
Type string
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
instanceId This property is required. String
Cloud Logs Instance GUID.
description String
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
endpointType String
Cloud Logs Instance Endpoint type. Allowed values public and private.
logsE2mId String
The unique identifier of the logs_e2m resource.
logsQuery LogsE2mLogsQuery
E2M logs query. Nested schema for logs_query:
metricFields List<LogsE2mMetricField>
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metricLabels List<LogsE2mMetricLabel>
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name String
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
region String
Cloud Logs Instance Region.
type String
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
instanceId This property is required. string
Cloud Logs Instance GUID.
description string
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
endpointType string
Cloud Logs Instance Endpoint type. Allowed values public and private.
logsE2mId string
The unique identifier of the logs_e2m resource.
logsQuery LogsE2mLogsQuery
E2M logs query. Nested schema for logs_query:
metricFields LogsE2mMetricField[]
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metricLabels LogsE2mMetricLabel[]
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name string
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
region string
Cloud Logs Instance Region.
type string
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
instance_id This property is required. str
Cloud Logs Instance GUID.
description str
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
endpoint_type str
Cloud Logs Instance Endpoint type. Allowed values public and private.
logs_e2m_id str
The unique identifier of the logs_e2m resource.
logs_query LogsE2mLogsQueryArgs
E2M logs query. Nested schema for logs_query:
metric_fields Sequence[LogsE2mMetricFieldArgs]
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metric_labels Sequence[LogsE2mMetricLabelArgs]
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name str
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
region str
Cloud Logs Instance Region.
type str
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
instanceId This property is required. String
Cloud Logs Instance GUID.
description String
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
endpointType String
Cloud Logs Instance Endpoint type. Allowed values public and private.
logsE2mId String
The unique identifier of the logs_e2m resource.
logsQuery Property Map
E2M logs query. Nested schema for logs_query:
metricFields List<Property Map>
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metricLabels List<Property Map>
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name String
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
region String
Cloud Logs Instance Region.
type String
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.

Outputs

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

CreateTime string
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
E2mId string
The unique identifier of the logs e2m.
Id string
The provider-assigned unique ID for this managed resource.
IsInternal bool
(Boolean) A flag that represents if the e2m is for internal usage.
Permutations List<LogsE2mPermutation>
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
UpdateTime string
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
CreateTime string
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
E2mId string
The unique identifier of the logs e2m.
Id string
The provider-assigned unique ID for this managed resource.
IsInternal bool
(Boolean) A flag that represents if the e2m is for internal usage.
Permutations []LogsE2mPermutation
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
UpdateTime string
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
createTime String
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
e2mId String
The unique identifier of the logs e2m.
id String
The provider-assigned unique ID for this managed resource.
isInternal Boolean
(Boolean) A flag that represents if the e2m is for internal usage.
permutations List<LogsE2mPermutation>
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
updateTime String
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
createTime string
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
e2mId string
The unique identifier of the logs e2m.
id string
The provider-assigned unique ID for this managed resource.
isInternal boolean
(Boolean) A flag that represents if the e2m is for internal usage.
permutations LogsE2mPermutation[]
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
updateTime string
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
create_time str
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
e2m_id str
The unique identifier of the logs e2m.
id str
The provider-assigned unique ID for this managed resource.
is_internal bool
(Boolean) A flag that represents if the e2m is for internal usage.
permutations Sequence[LogsE2mPermutation]
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
update_time str
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
createTime String
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
e2mId String
The unique identifier of the logs e2m.
id String
The provider-assigned unique ID for this managed resource.
isInternal Boolean
(Boolean) A flag that represents if the e2m is for internal usage.
permutations List<Property Map>
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
updateTime String
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.

Look up Existing LogsE2m Resource

Get an existing LogsE2m 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?: LogsE2mState, opts?: CustomResourceOptions): LogsE2m
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        e2m_id: Optional[str] = None,
        endpoint_type: Optional[str] = None,
        instance_id: Optional[str] = None,
        is_internal: Optional[bool] = None,
        logs_e2m_id: Optional[str] = None,
        logs_query: Optional[LogsE2mLogsQueryArgs] = None,
        metric_fields: Optional[Sequence[LogsE2mMetricFieldArgs]] = None,
        metric_labels: Optional[Sequence[LogsE2mMetricLabelArgs]] = None,
        name: Optional[str] = None,
        permutations: Optional[Sequence[LogsE2mPermutationArgs]] = None,
        region: Optional[str] = None,
        type: Optional[str] = None,
        update_time: Optional[str] = None) -> LogsE2m
func GetLogsE2m(ctx *Context, name string, id IDInput, state *LogsE2mState, opts ...ResourceOption) (*LogsE2m, error)
public static LogsE2m Get(string name, Input<string> id, LogsE2mState? state, CustomResourceOptions? opts = null)
public static LogsE2m get(String name, Output<String> id, LogsE2mState state, CustomResourceOptions options)
resources:  _:    type: ibm:LogsE2m    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:
CreateTime string
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
Description string
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
E2mId string
The unique identifier of the logs e2m.
EndpointType string
Cloud Logs Instance Endpoint type. Allowed values public and private.
InstanceId string
Cloud Logs Instance GUID.
IsInternal bool
(Boolean) A flag that represents if the e2m is for internal usage.
LogsE2mId string
The unique identifier of the logs_e2m resource.
LogsQuery LogsE2mLogsQuery
E2M logs query. Nested schema for logs_query:
MetricFields List<LogsE2mMetricField>
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
MetricLabels List<LogsE2mMetricLabel>
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
Name string
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
Permutations List<LogsE2mPermutation>
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
Region string
Cloud Logs Instance Region.
Type string
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
UpdateTime string
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
CreateTime string
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
Description string
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
E2mId string
The unique identifier of the logs e2m.
EndpointType string
Cloud Logs Instance Endpoint type. Allowed values public and private.
InstanceId string
Cloud Logs Instance GUID.
IsInternal bool
(Boolean) A flag that represents if the e2m is for internal usage.
LogsE2mId string
The unique identifier of the logs_e2m resource.
LogsQuery LogsE2mLogsQueryArgs
E2M logs query. Nested schema for logs_query:
MetricFields []LogsE2mMetricFieldArgs
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
MetricLabels []LogsE2mMetricLabelArgs
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
Name string
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
Permutations []LogsE2mPermutationArgs
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
Region string
Cloud Logs Instance Region.
Type string
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
UpdateTime string
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
createTime String
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
description String
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
e2mId String
The unique identifier of the logs e2m.
endpointType String
Cloud Logs Instance Endpoint type. Allowed values public and private.
instanceId String
Cloud Logs Instance GUID.
isInternal Boolean
(Boolean) A flag that represents if the e2m is for internal usage.
logsE2mId String
The unique identifier of the logs_e2m resource.
logsQuery LogsE2mLogsQuery
E2M logs query. Nested schema for logs_query:
metricFields List<LogsE2mMetricField>
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metricLabels List<LogsE2mMetricLabel>
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name String
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
permutations List<LogsE2mPermutation>
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
region String
Cloud Logs Instance Region.
type String
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
updateTime String
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
createTime string
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
description string
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
e2mId string
The unique identifier of the logs e2m.
endpointType string
Cloud Logs Instance Endpoint type. Allowed values public and private.
instanceId string
Cloud Logs Instance GUID.
isInternal boolean
(Boolean) A flag that represents if the e2m is for internal usage.
logsE2mId string
The unique identifier of the logs_e2m resource.
logsQuery LogsE2mLogsQuery
E2M logs query. Nested schema for logs_query:
metricFields LogsE2mMetricField[]
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metricLabels LogsE2mMetricLabel[]
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name string
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
permutations LogsE2mPermutation[]
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
region string
Cloud Logs Instance Region.
type string
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
updateTime string
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
create_time str
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
description str
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
e2m_id str
The unique identifier of the logs e2m.
endpoint_type str
Cloud Logs Instance Endpoint type. Allowed values public and private.
instance_id str
Cloud Logs Instance GUID.
is_internal bool
(Boolean) A flag that represents if the e2m is for internal usage.
logs_e2m_id str
The unique identifier of the logs_e2m resource.
logs_query LogsE2mLogsQueryArgs
E2M logs query. Nested schema for logs_query:
metric_fields Sequence[LogsE2mMetricFieldArgs]
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metric_labels Sequence[LogsE2mMetricLabelArgs]
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name str
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
permutations Sequence[LogsE2mPermutationArgs]
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
region str
Cloud Logs Instance Region.
type str
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
update_time str
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
createTime String
(String) E2M create time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
description String
Description of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[A-Za-z0-9_\\-\\s]+$/.
e2mId String
The unique identifier of the logs e2m.
endpointType String
Cloud Logs Instance Endpoint type. Allowed values public and private.
instanceId String
Cloud Logs Instance GUID.
isInternal Boolean
(Boolean) A flag that represents if the e2m is for internal usage.
logsE2mId String
The unique identifier of the logs_e2m resource.
logsQuery Property Map
E2M logs query. Nested schema for logs_query:
metricFields List<Property Map>
E2M metric fields.

  • Constraints: The maximum length is 10 items. The minimum length is 0 items. Nested schema for metric_fields:
metricLabels List<Property Map>
E2M metric labels.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for metric_labels:
name String
Name of the E2M.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
permutations List<Property Map>
(List) Represents the limit of the permutations and if the limit was exceeded. Nested schema for permutations:
region String
Cloud Logs Instance Region.
type String
E2M type.

  • Constraints: Allowable values are: unspecified, logs2metrics.
updateTime String
(String) E2M update time.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.

Supporting Types

LogsE2mLogsQuery
, LogsE2mLogsQueryArgs

Alias string
Alias.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
ApplicationnameFilters List<string>
Application name filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
Lucene string
Lucene query.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
SeverityFilters List<string>
Severity type filters.

  • Constraints: Allowable list items are: unspecified, debug, verbose, info, warning, error, critical. The maximum length is 4096 items. The minimum length is 0 items.
SubsystemnameFilters List<string>
Subsystem names filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
Alias string
Alias.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
ApplicationnameFilters []string
Application name filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
Lucene string
Lucene query.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
SeverityFilters []string
Severity type filters.

  • Constraints: Allowable list items are: unspecified, debug, verbose, info, warning, error, critical. The maximum length is 4096 items. The minimum length is 0 items.
SubsystemnameFilters []string
Subsystem names filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
alias String
Alias.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
applicationnameFilters List<String>
Application name filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
lucene String
Lucene query.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
severityFilters List<String>
Severity type filters.

  • Constraints: Allowable list items are: unspecified, debug, verbose, info, warning, error, critical. The maximum length is 4096 items. The minimum length is 0 items.
subsystemnameFilters List<String>
Subsystem names filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
alias string
Alias.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
applicationnameFilters string[]
Application name filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
lucene string
Lucene query.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
severityFilters string[]
Severity type filters.

  • Constraints: Allowable list items are: unspecified, debug, verbose, info, warning, error, critical. The maximum length is 4096 items. The minimum length is 0 items.
subsystemnameFilters string[]
Subsystem names filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
alias str
Alias.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
applicationname_filters Sequence[str]
Application name filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
lucene str
Lucene query.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
severity_filters Sequence[str]
Severity type filters.

  • Constraints: Allowable list items are: unspecified, debug, verbose, info, warning, error, critical. The maximum length is 4096 items. The minimum length is 0 items.
subsystemname_filters Sequence[str]
Subsystem names filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
alias String
Alias.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
applicationnameFilters List<String>
Application name filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.
lucene String
Lucene query.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
severityFilters List<String>
Severity type filters.

  • Constraints: Allowable list items are: unspecified, debug, verbose, info, warning, error, critical. The maximum length is 4096 items. The minimum length is 0 items.
subsystemnameFilters List<String>
Subsystem names filters.

  • Constraints: The list items must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$. The maximum length is 4096 items. The minimum length is 0 items.

LogsE2mMetricField
, LogsE2mMetricFieldArgs

Aggregations List<LogsE2mMetricFieldAggregation>
Represents Aggregation type list.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for aggregations:
SourceField string
Source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
TargetBaseMetricName string
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
Aggregations []LogsE2mMetricFieldAggregation
Represents Aggregation type list.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for aggregations:
SourceField string
Source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
TargetBaseMetricName string
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
aggregations List<LogsE2mMetricFieldAggregation>
Represents Aggregation type list.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for aggregations:
sourceField String
Source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
targetBaseMetricName String
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
aggregations LogsE2mMetricFieldAggregation[]
Represents Aggregation type list.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for aggregations:
sourceField string
Source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
targetBaseMetricName string
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
aggregations Sequence[LogsE2mMetricFieldAggregation]
Represents Aggregation type list.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for aggregations:
source_field str
Source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
target_base_metric_name str
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
aggregations List<Property Map>
Represents Aggregation type list.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for aggregations:
sourceField String
Source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
targetBaseMetricName String
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.

LogsE2mMetricFieldAggregation
, LogsE2mMetricFieldAggregationArgs

AggType string
Aggregation type.

  • Constraints: Allowable values are: unspecified, min, max, count, avg, sum, histogram, samples.
Enabled bool
Is enabled.
Histogram LogsE2mMetricFieldAggregationHistogram
E2M aggregate histogram type metadata. Nested schema for histogram:
Samples LogsE2mMetricFieldAggregationSamples
E2M sample type metadata. Nested schema for samples:
TargetMetricName string
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
AggType string
Aggregation type.

  • Constraints: Allowable values are: unspecified, min, max, count, avg, sum, histogram, samples.
Enabled bool
Is enabled.
Histogram LogsE2mMetricFieldAggregationHistogram
E2M aggregate histogram type metadata. Nested schema for histogram:
Samples LogsE2mMetricFieldAggregationSamples
E2M sample type metadata. Nested schema for samples:
TargetMetricName string
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
aggType String
Aggregation type.

  • Constraints: Allowable values are: unspecified, min, max, count, avg, sum, histogram, samples.
enabled Boolean
Is enabled.
histogram LogsE2mMetricFieldAggregationHistogram
E2M aggregate histogram type metadata. Nested schema for histogram:
samples LogsE2mMetricFieldAggregationSamples
E2M sample type metadata. Nested schema for samples:
targetMetricName String
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
aggType string
Aggregation type.

  • Constraints: Allowable values are: unspecified, min, max, count, avg, sum, histogram, samples.
enabled boolean
Is enabled.
histogram LogsE2mMetricFieldAggregationHistogram
E2M aggregate histogram type metadata. Nested schema for histogram:
samples LogsE2mMetricFieldAggregationSamples
E2M sample type metadata. Nested schema for samples:
targetMetricName string
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
agg_type str
Aggregation type.

  • Constraints: Allowable values are: unspecified, min, max, count, avg, sum, histogram, samples.
enabled bool
Is enabled.
histogram LogsE2mMetricFieldAggregationHistogram
E2M aggregate histogram type metadata. Nested schema for histogram:
samples LogsE2mMetricFieldAggregationSamples
E2M sample type metadata. Nested schema for samples:
target_metric_name str
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
aggType String
Aggregation type.

  • Constraints: Allowable values are: unspecified, min, max, count, avg, sum, histogram, samples.
enabled Boolean
Is enabled.
histogram Property Map
E2M aggregate histogram type metadata. Nested schema for histogram:
samples Property Map
E2M sample type metadata. Nested schema for samples:
targetMetricName String
Target metric field alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.

LogsE2mMetricFieldAggregationHistogram
, LogsE2mMetricFieldAggregationHistogramArgs

Buckets List<double>
Buckets of the E2M.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items.
Buckets []float64
Buckets of the E2M.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items.
buckets List<Double>
Buckets of the E2M.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items.
buckets number[]
Buckets of the E2M.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items.
buckets Sequence[float]
Buckets of the E2M.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items.
buckets List<Number>
Buckets of the E2M.

  • Constraints: The maximum length is 4096 items. The minimum length is 0 items.

LogsE2mMetricFieldAggregationSamples
, LogsE2mMetricFieldAggregationSamplesArgs

SampleType string
Sample type min/max.

  • Constraints: Allowable values are: unspecified, min, max.
SampleType string
Sample type min/max.

  • Constraints: Allowable values are: unspecified, min, max.
sampleType String
Sample type min/max.

  • Constraints: Allowable values are: unspecified, min, max.
sampleType string
Sample type min/max.

  • Constraints: Allowable values are: unspecified, min, max.
sample_type str
Sample type min/max.

  • Constraints: Allowable values are: unspecified, min, max.
sampleType String
Sample type min/max.

  • Constraints: Allowable values are: unspecified, min, max.

LogsE2mMetricLabel
, LogsE2mMetricLabelArgs

SourceField string
Metric label source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
TargetLabel string
Metric label target alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
SourceField string
Metric label source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
TargetLabel string
Metric label target alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
sourceField String
Metric label source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
targetLabel String
Metric label target alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
sourceField string
Metric label source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
targetLabel string
Metric label target alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
source_field str
Metric label source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
target_label str
Metric label target alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.
sourceField String
Metric label source field.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
targetLabel String
Metric label target alias name.

  • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression /^[\\w\/-]+$/.

LogsE2mPermutation
, LogsE2mPermutationArgs

HasExceededLimit This property is required. bool
(Boolean) Flag to indicate if limit was exceeded.
Limit This property is required. double
(Integer) E2M permutation limit.
HasExceededLimit This property is required. bool
(Boolean) Flag to indicate if limit was exceeded.
Limit This property is required. float64
(Integer) E2M permutation limit.
hasExceededLimit This property is required. Boolean
(Boolean) Flag to indicate if limit was exceeded.
limit This property is required. Double
(Integer) E2M permutation limit.
hasExceededLimit This property is required. boolean
(Boolean) Flag to indicate if limit was exceeded.
limit This property is required. number
(Integer) E2M permutation limit.
has_exceeded_limit This property is required. bool
(Boolean) Flag to indicate if limit was exceeded.
limit This property is required. float
(Integer) E2M permutation limit.
hasExceededLimit This property is required. Boolean
(Boolean) Flag to indicate if limit was exceeded.
limit This property is required. Number
(Integer) E2M permutation limit.

Import

You can import the ibm_logs_e2m resource by using id. id combination of region, instance_id and e2m_id.

Syntax

```sh
$ pulumi import ibm:index/logsE2m:LogsE2m logs_e2m < region >/< instance_id >/< e2m_id >;
```

Example

$ pulumi import ibm:index/logsE2m:LogsE2m logs_e2m eu-gb/3dc02998-0b50-4ea8-b68a-4779d716fa1f/d6a3658e-78d2-47d0-9b81-b2c551f01b09
Copy

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

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.