1. Packages
  2. Coralogix Provider
  3. API Docs
  4. Events2metric
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

coralogix.Events2metric

Explore with Pulumi AI

coralogix logo
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coralogix.Events2metric;
    import com.pulumi.coralogix.Events2metricArgs;
    import com.pulumi.coralogix.inputs.Events2metricLogsQueryArgs;
    import com.pulumi.coralogix.inputs.Events2metricPermutationsArgs;
    import com.pulumi.coralogix.inputs.Events2metricSpansQueryArgs;
    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 logs2metric = new Events2metric("logs2metric", Events2metricArgs.builder()
                .description("logs2metric from coralogix terraform provider")
                .logsQuery(Events2metricLogsQueryArgs.builder()
                    .applications("filter:startsWith:nginx")
                    .lucene("remote_addr_enriched:/.*/")
                    .severities("Debug")
                    .build())
                .metricFields(Map.ofEntries(
                    Map.entry("geo_point", Map.ofEntries(
                        Map.entry("aggregations", Map.ofEntries(
                            Map.entry("avg", Map.of("enable", true)),
                            Map.entry("max", Map.of("enable", false)),
                            Map.entry("min", Map.of("enable", false))
                        )),
                        Map.entry("sourceField", "location_geopoint")
                    )),
                    Map.entry("method", Map.of("sourceField", "method"))
                ))
                .metricLabels(Map.ofEntries(
                    Map.entry("Path", "http_referer"),
                    Map.entry("Status", "status")
                ))
                .permutations(Events2metricPermutationsArgs.builder()
                    .limit(20000)
                    .build())
                .build());
    
            var spans2metric = new Events2metric("spans2metric", Events2metricArgs.builder()
                .description("spans2metric from coralogix terraform provider")
                .metricFields(Map.ofEntries(
                    Map.entry("geo_point", Map.ofEntries(
                        Map.entry("aggregations", Map.ofEntries(
                            Map.entry("avg", Map.of("enable", true)),
                            Map.entry("max", Map.of("enable", false)),
                            Map.entry("min", Map.of("enable", false))
                        )),
                        Map.entry("sourceField", "location_geopoint")
                    )),
                    Map.entry("method", Map.of("sourceField", "method"))
                ))
                .metricLabels(Map.ofEntries(
                    Map.entry("Path", "http_referer"),
                    Map.entry("Status", "status")
                ))
                .permutations(Events2metricPermutationsArgs.builder()
                    .limit(20000)
                    .build())
                .spansQuery(Events2metricSpansQueryArgs.builder()
                    .actions("action-name")
                    .applications("filter:startsWith:nginx")
                    .lucene("remote_addr_enriched:/.*/")
                    .services("service-name")
                    .build())
                .build());
    
        }
    }
    
    resources:
      logs2metric:
        type: coralogix:Events2metric
        properties:
          description: logs2metric from coralogix terraform provider
          logsQuery:
            applications:
              - filter:startsWith:nginx
            lucene: remote_addr_enriched:/.*/
            severities:
              - Debug
          metricFields:
            geo_point:
              - aggregations:
                  - avg:
                      - enable: true
                    max:
                      - enable: false
                    min:
                      - enable: false
                sourceField: location_geopoint
            method:
              - sourceField: method
          metricLabels:
            Path: http_referer
            Status: status
          permutations:
            limit: 20000
      spans2metric:
        type: coralogix:Events2metric
        properties:
          description: spans2metric from coralogix terraform provider
          metricFields:
            geo_point:
              - aggregations:
                  - avg:
                      - enable: true
                    max:
                      - enable: false
                    min:
                      - enable: false
                sourceField: location_geopoint
            method:
              - sourceField: method
          metricLabels:
            Path: http_referer
            Status: status
          permutations:
            limit: 20000
          spansQuery:
            actions:
              - action-name
            applications:
              - filter:startsWith:nginx
            lucene: remote_addr_enriched:/.*/
            services:
              - service-name
    

    Create Events2metric Resource

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

    Constructor syntax

    new Events2metric(name: string, args?: Events2metricArgs, opts?: CustomResourceOptions);
    @overload
    def Events2metric(resource_name: str,
                      args: Optional[Events2metricArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Events2metric(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      description: Optional[str] = None,
                      logs_query: Optional[Events2metricLogsQueryArgs] = None,
                      metric_fields: Optional[Mapping[str, Events2metricMetricFieldsArgs]] = None,
                      metric_labels: Optional[Mapping[str, str]] = None,
                      name: Optional[str] = None,
                      permutations: Optional[Events2metricPermutationsArgs] = None,
                      spans_query: Optional[Events2metricSpansQueryArgs] = None)
    func NewEvents2metric(ctx *Context, name string, args *Events2metricArgs, opts ...ResourceOption) (*Events2metric, error)
    public Events2metric(string name, Events2metricArgs? args = null, CustomResourceOptions? opts = null)
    public Events2metric(String name, Events2metricArgs args)
    public Events2metric(String name, Events2metricArgs args, CustomResourceOptions options)
    
    type: coralogix:Events2metric
    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 Events2metricArgs
    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 Events2metricArgs
    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 Events2metricArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Events2metricArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Events2metricArgs
    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 events2metricResource = new Coralogix.Events2metric("events2metricResource", new()
    {
        Description = "string",
        LogsQuery = new Coralogix.Inputs.Events2metricLogsQueryArgs
        {
            Applications = new[]
            {
                "string",
            },
            Lucene = "string",
            Severities = new[]
            {
                "string",
            },
            Subsystems = new[]
            {
                "string",
            },
        },
        MetricFields = 
        {
            { "string", new Coralogix.Inputs.Events2metricMetricFieldsArgs
            {
                SourceField = "string",
                Aggregations = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsArgs
                {
                    Avg = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsAvgArgs
                    {
                        Enable = false,
                        TargetMetricName = "string",
                    },
                    Count = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsCountArgs
                    {
                        Enable = false,
                        TargetMetricName = "string",
                    },
                    Histogram = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsHistogramArgs
                    {
                        Buckets = new[]
                        {
                            0,
                        },
                        Enable = false,
                        TargetMetricName = "string",
                    },
                    Max = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsMaxArgs
                    {
                        Enable = false,
                        TargetMetricName = "string",
                    },
                    Min = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsMinArgs
                    {
                        Enable = false,
                        TargetMetricName = "string",
                    },
                    Samples = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsSamplesArgs
                    {
                        Type = "string",
                        Enable = false,
                        TargetMetricName = "string",
                    },
                    Sum = new Coralogix.Inputs.Events2metricMetricFieldsAggregationsSumArgs
                    {
                        Enable = false,
                        TargetMetricName = "string",
                    },
                },
            } },
        },
        MetricLabels = 
        {
            { "string", "string" },
        },
        Name = "string",
        Permutations = new Coralogix.Inputs.Events2metricPermutationsArgs
        {
            HasExceedLimit = false,
            Limit = 0,
        },
        SpansQuery = new Coralogix.Inputs.Events2metricSpansQueryArgs
        {
            Actions = new[]
            {
                "string",
            },
            Applications = new[]
            {
                "string",
            },
            Lucene = "string",
            Services = new[]
            {
                "string",
            },
            Subsystems = new[]
            {
                "string",
            },
        },
    });
    
    example, err := coralogix.NewEvents2metric(ctx, "events2metricResource", &coralogix.Events2metricArgs{
    	Description: pulumi.String("string"),
    	LogsQuery: &coralogix.Events2metricLogsQueryArgs{
    		Applications: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Lucene: pulumi.String("string"),
    		Severities: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Subsystems: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	MetricFields: coralogix.Events2metricMetricFieldsMap{
    		"string": &coralogix.Events2metricMetricFieldsArgs{
    			SourceField: pulumi.String("string"),
    			Aggregations: &coralogix.Events2metricMetricFieldsAggregationsArgs{
    				Avg: &coralogix.Events2metricMetricFieldsAggregationsAvgArgs{
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    				Count: &coralogix.Events2metricMetricFieldsAggregationsCountArgs{
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    				Histogram: &coralogix.Events2metricMetricFieldsAggregationsHistogramArgs{
    					Buckets: pulumi.Float64Array{
    						pulumi.Float64(0),
    					},
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    				Max: &coralogix.Events2metricMetricFieldsAggregationsMaxArgs{
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    				Min: &coralogix.Events2metricMetricFieldsAggregationsMinArgs{
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    				Samples: &coralogix.Events2metricMetricFieldsAggregationsSamplesArgs{
    					Type:             pulumi.String("string"),
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    				Sum: &coralogix.Events2metricMetricFieldsAggregationsSumArgs{
    					Enable:           pulumi.Bool(false),
    					TargetMetricName: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	MetricLabels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Permutations: &coralogix.Events2metricPermutationsArgs{
    		HasExceedLimit: pulumi.Bool(false),
    		Limit:          pulumi.Float64(0),
    	},
    	SpansQuery: &coralogix.Events2metricSpansQueryArgs{
    		Actions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Applications: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Lucene: pulumi.String("string"),
    		Services: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Subsystems: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    var events2metricResource = new Events2metric("events2metricResource", Events2metricArgs.builder()
        .description("string")
        .logsQuery(Events2metricLogsQueryArgs.builder()
            .applications("string")
            .lucene("string")
            .severities("string")
            .subsystems("string")
            .build())
        .metricFields(Map.of("string", Map.ofEntries(
            Map.entry("sourceField", "string"),
            Map.entry("aggregations", Map.ofEntries(
                Map.entry("avg", Map.ofEntries(
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                )),
                Map.entry("count", Map.ofEntries(
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                )),
                Map.entry("histogram", Map.ofEntries(
                    Map.entry("buckets", 0),
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                )),
                Map.entry("max", Map.ofEntries(
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                )),
                Map.entry("min", Map.ofEntries(
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                )),
                Map.entry("samples", Map.ofEntries(
                    Map.entry("type", "string"),
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                )),
                Map.entry("sum", Map.ofEntries(
                    Map.entry("enable", false),
                    Map.entry("targetMetricName", "string")
                ))
            ))
        )))
        .metricLabels(Map.of("string", "string"))
        .name("string")
        .permutations(Events2metricPermutationsArgs.builder()
            .hasExceedLimit(false)
            .limit(0)
            .build())
        .spansQuery(Events2metricSpansQueryArgs.builder()
            .actions("string")
            .applications("string")
            .lucene("string")
            .services("string")
            .subsystems("string")
            .build())
        .build());
    
    events2metric_resource = coralogix.Events2metric("events2metricResource",
        description="string",
        logs_query={
            "applications": ["string"],
            "lucene": "string",
            "severities": ["string"],
            "subsystems": ["string"],
        },
        metric_fields={
            "string": {
                "source_field": "string",
                "aggregations": {
                    "avg": {
                        "enable": False,
                        "target_metric_name": "string",
                    },
                    "count": {
                        "enable": False,
                        "target_metric_name": "string",
                    },
                    "histogram": {
                        "buckets": [0],
                        "enable": False,
                        "target_metric_name": "string",
                    },
                    "max": {
                        "enable": False,
                        "target_metric_name": "string",
                    },
                    "min": {
                        "enable": False,
                        "target_metric_name": "string",
                    },
                    "samples": {
                        "type": "string",
                        "enable": False,
                        "target_metric_name": "string",
                    },
                    "sum": {
                        "enable": False,
                        "target_metric_name": "string",
                    },
                },
            },
        },
        metric_labels={
            "string": "string",
        },
        name="string",
        permutations={
            "has_exceed_limit": False,
            "limit": 0,
        },
        spans_query={
            "actions": ["string"],
            "applications": ["string"],
            "lucene": "string",
            "services": ["string"],
            "subsystems": ["string"],
        })
    
    const events2metricResource = new coralogix.Events2metric("events2metricResource", {
        description: "string",
        logsQuery: {
            applications: ["string"],
            lucene: "string",
            severities: ["string"],
            subsystems: ["string"],
        },
        metricFields: {
            string: {
                sourceField: "string",
                aggregations: {
                    avg: {
                        enable: false,
                        targetMetricName: "string",
                    },
                    count: {
                        enable: false,
                        targetMetricName: "string",
                    },
                    histogram: {
                        buckets: [0],
                        enable: false,
                        targetMetricName: "string",
                    },
                    max: {
                        enable: false,
                        targetMetricName: "string",
                    },
                    min: {
                        enable: false,
                        targetMetricName: "string",
                    },
                    samples: {
                        type: "string",
                        enable: false,
                        targetMetricName: "string",
                    },
                    sum: {
                        enable: false,
                        targetMetricName: "string",
                    },
                },
            },
        },
        metricLabels: {
            string: "string",
        },
        name: "string",
        permutations: {
            hasExceedLimit: false,
            limit: 0,
        },
        spansQuery: {
            actions: ["string"],
            applications: ["string"],
            lucene: "string",
            services: ["string"],
            subsystems: ["string"],
        },
    });
    
    type: coralogix:Events2metric
    properties:
        description: string
        logsQuery:
            applications:
                - string
            lucene: string
            severities:
                - string
            subsystems:
                - string
        metricFields:
            string:
                aggregations:
                    avg:
                        enable: false
                        targetMetricName: string
                    count:
                        enable: false
                        targetMetricName: string
                    histogram:
                        buckets:
                            - 0
                        enable: false
                        targetMetricName: string
                    max:
                        enable: false
                        targetMetricName: string
                    min:
                        enable: false
                        targetMetricName: string
                    samples:
                        enable: false
                        targetMetricName: string
                        type: string
                    sum:
                        enable: false
                        targetMetricName: string
                sourceField: string
        metricLabels:
            string: string
        name: string
        permutations:
            hasExceedLimit: false
            limit: 0
        spansQuery:
            actions:
                - string
            applications:
                - string
            lucene: string
            services:
                - string
            subsystems:
                - string
    

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

    Description string
    Events2Metric description.
    LogsQuery Events2metricLogsQuery
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    MetricFields Dictionary<string, Events2metricMetricFieldsArgs>
    MetricLabels Dictionary<string, string>
    Name string
    Events2Metric name. Events2Metric names have to be unique per account.
    Permutations Events2metricPermutations
    Defines the permutations' info of the events2metric.
    SpansQuery Events2metricSpansQuery
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    Description string
    Events2Metric description.
    LogsQuery Events2metricLogsQueryArgs
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    MetricFields map[string]Events2metricMetricFieldsArgs
    MetricLabels map[string]string
    Name string
    Events2Metric name. Events2Metric names have to be unique per account.
    Permutations Events2metricPermutationsArgs
    Defines the permutations' info of the events2metric.
    SpansQuery Events2metricSpansQueryArgs
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description String
    Events2Metric description.
    logsQuery Events2metricLogsQuery
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metricFields Map<String,Events2metricMetricFieldsArgs>
    metricLabels Map<String,String>
    name String
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Events2metricPermutations
    Defines the permutations' info of the events2metric.
    spansQuery Events2metricSpansQuery
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description string
    Events2Metric description.
    logsQuery Events2metricLogsQuery
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metricFields {[key: string]: Events2metricMetricFieldsArgs}
    metricLabels {[key: string]: string}
    name string
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Events2metricPermutations
    Defines the permutations' info of the events2metric.
    spansQuery Events2metricSpansQuery
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description str
    Events2Metric description.
    logs_query Events2metricLogsQueryArgs
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metric_fields Mapping[str, Events2metricMetricFieldsArgs]
    metric_labels Mapping[str, str]
    name str
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Events2metricPermutationsArgs
    Defines the permutations' info of the events2metric.
    spans_query Events2metricSpansQueryArgs
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description String
    Events2Metric description.
    logsQuery Property Map
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metricFields Map<Property Map>
    metricLabels Map<String>
    name String
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Property Map
    Defines the permutations' info of the events2metric.
    spansQuery Property Map
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Events2metric 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 Events2metric Resource

    Get an existing Events2metric 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?: Events2metricState, opts?: CustomResourceOptions): Events2metric
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            logs_query: Optional[Events2metricLogsQueryArgs] = None,
            metric_fields: Optional[Mapping[str, Events2metricMetricFieldsArgs]] = None,
            metric_labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            permutations: Optional[Events2metricPermutationsArgs] = None,
            spans_query: Optional[Events2metricSpansQueryArgs] = None) -> Events2metric
    func GetEvents2metric(ctx *Context, name string, id IDInput, state *Events2metricState, opts ...ResourceOption) (*Events2metric, error)
    public static Events2metric Get(string name, Input<string> id, Events2metricState? state, CustomResourceOptions? opts = null)
    public static Events2metric get(String name, Output<String> id, Events2metricState state, CustomResourceOptions options)
    resources:  _:    type: coralogix:Events2metric    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.
    The following state arguments are supported:
    Description string
    Events2Metric description.
    LogsQuery Events2metricLogsQuery
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    MetricFields Dictionary<string, Events2metricMetricFieldsArgs>
    MetricLabels Dictionary<string, string>
    Name string
    Events2Metric name. Events2Metric names have to be unique per account.
    Permutations Events2metricPermutations
    Defines the permutations' info of the events2metric.
    SpansQuery Events2metricSpansQuery
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    Description string
    Events2Metric description.
    LogsQuery Events2metricLogsQueryArgs
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    MetricFields map[string]Events2metricMetricFieldsArgs
    MetricLabels map[string]string
    Name string
    Events2Metric name. Events2Metric names have to be unique per account.
    Permutations Events2metricPermutationsArgs
    Defines the permutations' info of the events2metric.
    SpansQuery Events2metricSpansQueryArgs
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description String
    Events2Metric description.
    logsQuery Events2metricLogsQuery
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metricFields Map<String,Events2metricMetricFieldsArgs>
    metricLabels Map<String,String>
    name String
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Events2metricPermutations
    Defines the permutations' info of the events2metric.
    spansQuery Events2metricSpansQuery
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description string
    Events2Metric description.
    logsQuery Events2metricLogsQuery
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metricFields {[key: string]: Events2metricMetricFieldsArgs}
    metricLabels {[key: string]: string}
    name string
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Events2metricPermutations
    Defines the permutations' info of the events2metric.
    spansQuery Events2metricSpansQuery
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description str
    Events2Metric description.
    logs_query Events2metricLogsQueryArgs
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metric_fields Mapping[str, Events2metricMetricFieldsArgs]
    metric_labels Mapping[str, str]
    name str
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Events2metricPermutationsArgs
    Defines the permutations' info of the events2metric.
    spans_query Events2metricSpansQueryArgs
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
    description String
    Events2Metric description.
    logsQuery Property Map
    logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
    metricFields Map<Property Map>
    metricLabels Map<String>
    name String
    Events2Metric name. Events2Metric names have to be unique per account.
    permutations Property Map
    Defines the permutations' info of the events2metric.
    spansQuery Property Map
    spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.

    Supporting Types

    Events2metricLogsQuery, Events2metricLogsQueryArgs

    Applications List<string>
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Lucene string
    The search_query that we wanted to be notified on.
    Severities List<string>
    An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
    Subsystems List<string>
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Applications []string
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Lucene string
    The search_query that we wanted to be notified on.
    Severities []string
    An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
    Subsystems []string
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications List<String>
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene String
    The search_query that we wanted to be notified on.
    severities List<String>
    An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
    subsystems List<String>
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications string[]
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene string
    The search_query that we wanted to be notified on.
    severities string[]
    An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
    subsystems string[]
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications Sequence[str]
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene str
    The search_query that we wanted to be notified on.
    severities Sequence[str]
    An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
    subsystems Sequence[str]
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications List<String>
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene String
    The search_query that we wanted to be notified on.
    severities List<String>
    An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
    subsystems List<String>
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx

    Events2metricMetricFields, Events2metricMetricFieldsArgs

    Events2metricMetricFieldsAggregations, Events2metricMetricFieldsAggregationsArgs

    Events2metricMetricFieldsAggregationsAvg, Events2metricMetricFieldsAggregationsAvgArgs

    enable Boolean
    targetMetricName String
    enable boolean
    targetMetricName string
    enable Boolean
    targetMetricName String

    Events2metricMetricFieldsAggregationsCount, Events2metricMetricFieldsAggregationsCountArgs

    enable Boolean
    targetMetricName String
    enable boolean
    targetMetricName string
    enable Boolean
    targetMetricName String

    Events2metricMetricFieldsAggregationsHistogram, Events2metricMetricFieldsAggregationsHistogramArgs

    Buckets List<double>
    Enable bool
    TargetMetricName string
    Buckets []float64
    Enable bool
    TargetMetricName string
    buckets List<Double>
    enable Boolean
    targetMetricName String
    buckets number[]
    enable boolean
    targetMetricName string
    buckets Sequence[float]
    enable bool
    target_metric_name str
    buckets List<Number>
    enable Boolean
    targetMetricName String

    Events2metricMetricFieldsAggregationsMax, Events2metricMetricFieldsAggregationsMaxArgs

    enable Boolean
    targetMetricName String
    enable boolean
    targetMetricName string
    enable Boolean
    targetMetricName String

    Events2metricMetricFieldsAggregationsMin, Events2metricMetricFieldsAggregationsMinArgs

    enable Boolean
    targetMetricName String
    enable boolean
    targetMetricName string
    enable Boolean
    targetMetricName String

    Events2metricMetricFieldsAggregationsSamples, Events2metricMetricFieldsAggregationsSamplesArgs

    Type string
    Can be one of ["Max" "Min"].
    Enable bool
    TargetMetricName string
    Type string
    Can be one of ["Max" "Min"].
    Enable bool
    TargetMetricName string
    type String
    Can be one of ["Max" "Min"].
    enable Boolean
    targetMetricName String
    type string
    Can be one of ["Max" "Min"].
    enable boolean
    targetMetricName string
    type str
    Can be one of ["Max" "Min"].
    enable bool
    target_metric_name str
    type String
    Can be one of ["Max" "Min"].
    enable Boolean
    targetMetricName String

    Events2metricMetricFieldsAggregationsSum, Events2metricMetricFieldsAggregationsSumArgs

    enable Boolean
    targetMetricName String
    enable boolean
    targetMetricName string
    enable Boolean
    targetMetricName String

    Events2metricPermutations, Events2metricPermutationsArgs

    HasExceedLimit bool
    Notify if the limit permutations' limit of the events2metric has exceed (computed).
    Limit double
    Defines the permutations' limit of the events2metric.
    HasExceedLimit bool
    Notify if the limit permutations' limit of the events2metric has exceed (computed).
    Limit float64
    Defines the permutations' limit of the events2metric.
    hasExceedLimit Boolean
    Notify if the limit permutations' limit of the events2metric has exceed (computed).
    limit Double
    Defines the permutations' limit of the events2metric.
    hasExceedLimit boolean
    Notify if the limit permutations' limit of the events2metric has exceed (computed).
    limit number
    Defines the permutations' limit of the events2metric.
    has_exceed_limit bool
    Notify if the limit permutations' limit of the events2metric has exceed (computed).
    limit float
    Defines the permutations' limit of the events2metric.
    hasExceedLimit Boolean
    Notify if the limit permutations' limit of the events2metric has exceed (computed).
    limit Number
    Defines the permutations' limit of the events2metric.

    Events2metricSpansQuery, Events2metricSpansQueryArgs

    Actions List<string>
    An array that contains log’s actions names that we want to be notified on. Actions can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Applications List<string>
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Lucene string
    The search_query that we wanted to be notified on.
    Services List<string>
    An array that contains log’s services names that we want to be notified on. Services can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Subsystems List<string>
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Actions []string
    An array that contains log’s actions names that we want to be notified on. Actions can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Applications []string
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Lucene string
    The search_query that we wanted to be notified on.
    Services []string
    An array that contains log’s services names that we want to be notified on. Services can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    Subsystems []string
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    actions List<String>
    An array that contains log’s actions names that we want to be notified on. Actions can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications List<String>
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene String
    The search_query that we wanted to be notified on.
    services List<String>
    An array that contains log’s services names that we want to be notified on. Services can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    subsystems List<String>
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    actions string[]
    An array that contains log’s actions names that we want to be notified on. Actions can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications string[]
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene string
    The search_query that we wanted to be notified on.
    services string[]
    An array that contains log’s services names that we want to be notified on. Services can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    subsystems string[]
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    actions Sequence[str]
    An array that contains log’s actions names that we want to be notified on. Actions can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications Sequence[str]
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene str
    The search_query that we wanted to be notified on.
    services Sequence[str]
    An array that contains log’s services names that we want to be notified on. Services can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    subsystems Sequence[str]
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    actions List<String>
    An array that contains log’s actions names that we want to be notified on. Actions can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    applications List<String>
    An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    lucene String
    The search_query that we wanted to be notified on.
    services List<String>
    An array that contains log’s services names that we want to be notified on. Services can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
    subsystems List<String>
    An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx

    Package Details

    Repository
    coralogix coralogix/terraform-provider-coralogix
    License
    Notes
    This Pulumi package is based on the coralogix Terraform Provider.
    coralogix logo
    coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix