Viewing docs for coralogix 2.0.20
published on Tuesday, May 20, 2025 by coralogix
published on Tuesday, May 20, 2025 by coralogix
Viewing docs for coralogix 2.0.20
published on Tuesday, May 20, 2025 by coralogix
published on Tuesday, May 20, 2025 by coralogix
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const importedLogs2metric = coralogix.getEvents2metric({
id: coralogix_events2metric.logs2metric.id,
});
import pulumi
import pulumi_coralogix as coralogix
imported_logs2metric = coralogix.get_events2metric(id=coralogix_events2metric["logs2metric"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := coralogix.LookupEvents2metric(ctx, &coralogix.LookupEvents2metricArgs{
Id: coralogix_events2metric.Logs2metric.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Coralogix = Pulumi.Coralogix;
return await Deployment.RunAsync(() =>
{
var importedLogs2metric = Coralogix.GetEvents2metric.Invoke(new()
{
Id = coralogix_events2metric.Logs2metric.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.CoralogixFunctions;
import com.pulumi.coralogix.inputs.GetEvents2metricArgs;
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) {
final var importedLogs2metric = CoralogixFunctions.getEvents2metric(GetEvents2metricArgs.builder()
.id(coralogix_events2metric.logs2metric().id())
.build());
}
}
variables:
importedLogs2metric:
fn::invoke:
function: coralogix:getEvents2metric
arguments:
id: ${coralogix_events2metric.logs2metric.id}
Using getEvents2metric
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEvents2metric(args: GetEvents2metricArgs, opts?: InvokeOptions): Promise<GetEvents2metricResult>
function getEvents2metricOutput(args: GetEvents2metricOutputArgs, opts?: InvokeOptions): Output<GetEvents2metricResult>def get_events2metric(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEvents2metricResult
def get_events2metric_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEvents2metricResult]func LookupEvents2metric(ctx *Context, args *LookupEvents2metricArgs, opts ...InvokeOption) (*LookupEvents2metricResult, error)
func LookupEvents2metricOutput(ctx *Context, args *LookupEvents2metricOutputArgs, opts ...InvokeOption) LookupEvents2metricResultOutput> Note: This function is named LookupEvents2metric in the Go SDK.
public static class GetEvents2metric
{
public static Task<GetEvents2metricResult> InvokeAsync(GetEvents2metricArgs args, InvokeOptions? opts = null)
public static Output<GetEvents2metricResult> Invoke(GetEvents2metricInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEvents2metricResult> getEvents2metric(GetEvents2metricArgs args, InvokeOptions options)
public static Output<GetEvents2metricResult> getEvents2metric(GetEvents2metricArgs args, InvokeOptions options)
fn::invoke:
function: coralogix:index/getEvents2metric:getEvents2metric
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID of this resource.
- Id string
- The ID of this resource.
- id String
- The ID of this resource.
- id string
- The ID of this resource.
- id str
- The ID of this resource.
- id String
- The ID of this resource.
getEvents2metric Result
The following output properties are available:
- Description string
- Events2Metric description.
- Id string
- The ID of this resource.
- Logs
Query GetEvents2metric Logs Query - logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
- Metric
Fields Dictionary<string, GetEvents2metric Metric Fields> - Metric
Labels Dictionary<string, string> - Name string
- Events2Metric name. Events2Metric names have to be unique per account.
- Permutations
Get
Events2metric Permutations - Defines the permutations' info of the events2metric.
- Spans
Query GetEvents2metric Spans Query - spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
- Description string
- Events2Metric description.
- Id string
- The ID of this resource.
- Logs
Query GetEvents2metric Logs Query - logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
- Metric
Fields map[string]GetEvents2metric Metric Fields - Metric
Labels map[string]string - Name string
- Events2Metric name. Events2Metric names have to be unique per account.
- Permutations
Get
Events2metric Permutations - Defines the permutations' info of the events2metric.
- Spans
Query GetEvents2metric Spans Query - spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
- description String
- Events2Metric description.
- id String
- The ID of this resource.
- logs
Query GetEvents2metric Logs Query - logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
- metric
Fields Map<String,GetEvents2metric Metric Fields> - metric
Labels Map<String,String> - name String
- Events2Metric name. Events2Metric names have to be unique per account.
- permutations
Get
Events2metric Permutations - Defines the permutations' info of the events2metric.
- spans
Query GetEvents2metric Spans Query - spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
- description string
- Events2Metric description.
- id string
- The ID of this resource.
- logs
Query GetEvents2metric Logs Query - logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
- metric
Fields {[key: string]: GetEvents2metric Metric Fields} - metric
Labels {[key: string]: string} - name string
- Events2Metric name. Events2Metric names have to be unique per account.
- permutations
Get
Events2metric Permutations - Defines the permutations' info of the events2metric.
- spans
Query GetEvents2metric Spans Query - spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
- description str
- Events2Metric description.
- id str
- The ID of this resource.
- logs_
query GetEvents2metric Logs Query - logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
- metric_
fields Mapping[str, GetEvents2metric Metric Fields] - metric_
labels Mapping[str, str] - name str
- Events2Metric name. Events2Metric names have to be unique per account.
- permutations
Get
Events2metric Permutations - Defines the permutations' info of the events2metric.
- spans_
query GetEvents2metric Spans Query - spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
- description String
- Events2Metric description.
- id String
- The ID of this resource.
- logs
Query Property Map - logs-events2metric type. Exactly one of "spansquery" or "logsquery" must be defined.
- metric
Fields Map<Property Map> - metric
Labels Map<String> - name String
- Events2Metric name. Events2Metric names have to be unique per account.
- permutations Property Map
- Defines the permutations' info of the events2metric.
- spans
Query Property Map - spans-events2metric type. Exactly one of "spansquery" or "logsquery" should be defined.
Supporting Types
GetEvents2metricLogsQuery
- 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
GetEvents2metricMetricFields
GetEvents2metricMetricFieldsAggregations
- Avg
Get
Events2metric Metric Fields Aggregations Avg - Count
Get
Events2metric Metric Fields Aggregations Count - Histogram
Get
Events2metric Metric Fields Aggregations Histogram - Max
Get
Events2metric Metric Fields Aggregations Max - Min
Get
Events2metric Metric Fields Aggregations Min - Samples
Get
Events2metric Metric Fields Aggregations Samples - Sum
Get
Events2metric Metric Fields Aggregations Sum
- Avg
Get
Events2metric Metric Fields Aggregations Avg - Count
Get
Events2metric Metric Fields Aggregations Count - Histogram
Get
Events2metric Metric Fields Aggregations Histogram - Max
Get
Events2metric Metric Fields Aggregations Max - Min
Get
Events2metric Metric Fields Aggregations Min - Samples
Get
Events2metric Metric Fields Aggregations Samples - Sum
Get
Events2metric Metric Fields Aggregations Sum
- avg
Get
Events2metric Metric Fields Aggregations Avg - count
Get
Events2metric Metric Fields Aggregations Count - histogram
Get
Events2metric Metric Fields Aggregations Histogram - max
Get
Events2metric Metric Fields Aggregations Max - min
Get
Events2metric Metric Fields Aggregations Min - samples
Get
Events2metric Metric Fields Aggregations Samples - sum
Get
Events2metric Metric Fields Aggregations Sum
- avg
Get
Events2metric Metric Fields Aggregations Avg - count
Get
Events2metric Metric Fields Aggregations Count - histogram
Get
Events2metric Metric Fields Aggregations Histogram - max
Get
Events2metric Metric Fields Aggregations Max - min
Get
Events2metric Metric Fields Aggregations Min - samples
Get
Events2metric Metric Fields Aggregations Samples - sum
Get
Events2metric Metric Fields Aggregations Sum
- avg
Get
Events2metric Metric Fields Aggregations Avg - count
Get
Events2metric Metric Fields Aggregations Count - histogram
Get
Events2metric Metric Fields Aggregations Histogram - max
Get
Events2metric Metric Fields Aggregations Max - min
Get
Events2metric Metric Fields Aggregations Min - samples
Get
Events2metric Metric Fields Aggregations Samples - sum
Get
Events2metric Metric Fields Aggregations Sum
GetEvents2metricMetricFieldsAggregationsAvg
- Enable bool
- Target
Metric stringName
- Enable bool
- Target
Metric stringName
- enable Boolean
- target
Metric StringName
- enable boolean
- target
Metric stringName
- enable bool
- target_
metric_ strname
- enable Boolean
- target
Metric StringName
GetEvents2metricMetricFieldsAggregationsCount
- Enable bool
- Target
Metric stringName
- Enable bool
- Target
Metric stringName
- enable Boolean
- target
Metric StringName
- enable boolean
- target
Metric stringName
- enable bool
- target_
metric_ strname
- enable Boolean
- target
Metric StringName
GetEvents2metricMetricFieldsAggregationsHistogram
- Buckets List<double>
- Enable bool
- Target
Metric stringName
- Buckets []float64
- Enable bool
- Target
Metric stringName
- buckets List<Double>
- enable Boolean
- target
Metric StringName
- buckets number[]
- enable boolean
- target
Metric stringName
- buckets Sequence[float]
- enable bool
- target_
metric_ strname
- buckets List<Number>
- enable Boolean
- target
Metric StringName
GetEvents2metricMetricFieldsAggregationsMax
- Enable bool
- Target
Metric stringName
- Enable bool
- Target
Metric stringName
- enable Boolean
- target
Metric StringName
- enable boolean
- target
Metric stringName
- enable bool
- target_
metric_ strname
- enable Boolean
- target
Metric StringName
GetEvents2metricMetricFieldsAggregationsMin
- Enable bool
- Target
Metric stringName
- Enable bool
- Target
Metric stringName
- enable Boolean
- target
Metric StringName
- enable boolean
- target
Metric stringName
- enable bool
- target_
metric_ strname
- enable Boolean
- target
Metric StringName
GetEvents2metricMetricFieldsAggregationsSamples
- Enable bool
- Target
Metric stringName - Type string
- Can be one of ["Max" "Min"].
- Enable bool
- Target
Metric stringName - Type string
- Can be one of ["Max" "Min"].
- enable Boolean
- target
Metric StringName - type String
- Can be one of ["Max" "Min"].
- enable boolean
- target
Metric stringName - type string
- Can be one of ["Max" "Min"].
- enable bool
- target_
metric_ strname - type str
- Can be one of ["Max" "Min"].
- enable Boolean
- target
Metric StringName - type String
- Can be one of ["Max" "Min"].
GetEvents2metricMetricFieldsAggregationsSum
- Enable bool
- Target
Metric stringName
- Enable bool
- Target
Metric stringName
- enable Boolean
- target
Metric StringName
- enable boolean
- target
Metric stringName
- enable bool
- target_
metric_ strname
- enable Boolean
- target
Metric StringName
GetEvents2metricPermutations
- Has
Exceed boolLimit - Notify if the limit permutations' limit of the events2metric has exceed (computed).
- Limit double
- Defines the permutations' limit of the events2metric.
- Has
Exceed boolLimit - Notify if the limit permutations' limit of the events2metric has exceed (computed).
- Limit float64
- Defines the permutations' limit of the events2metric.
- has
Exceed BooleanLimit - Notify if the limit permutations' limit of the events2metric has exceed (computed).
- limit Double
- Defines the permutations' limit of the events2metric.
- has
Exceed booleanLimit - Notify if the limit permutations' limit of the events2metric has exceed (computed).
- limit number
- Defines the permutations' limit of the events2metric.
- has_
exceed_ boollimit - Notify if the limit permutations' limit of the events2metric has exceed (computed).
- limit float
- Defines the permutations' limit of the events2metric.
- has
Exceed BooleanLimit - Notify if the limit permutations' limit of the events2metric has exceed (computed).
- limit Number
- Defines the permutations' limit of the events2metric.
GetEvents2metricSpansQuery
- 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
coralogixTerraform Provider.
Viewing docs for coralogix 2.0.20
published on Tuesday, May 20, 2025 by coralogix
published on Tuesday, May 20, 2025 by coralogix
