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 importedRulesGroupExample = coralogix.getRulesGroup({
id: coralogix_rules_group.rules_group_example.id,
});
import pulumi
import pulumi_coralogix as coralogix
imported_rules_group_example = coralogix.get_rules_group(id=coralogix_rules_group["rules_group_example"]["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.LookupRulesGroup(ctx, &coralogix.LookupRulesGroupArgs{
Id: coralogix_rules_group.Rules_group_example.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 importedRulesGroupExample = Coralogix.GetRulesGroup.Invoke(new()
{
Id = coralogix_rules_group.Rules_group_example.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.GetRulesGroupArgs;
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 importedRulesGroupExample = CoralogixFunctions.getRulesGroup(GetRulesGroupArgs.builder()
.id(coralogix_rules_group.rules_group_example().id())
.build());
}
}
variables:
importedRulesGroupExample:
fn::invoke:
function: coralogix:getRulesGroup
arguments:
id: ${coralogix_rules_group.rules_group_example.id}
Using getRulesGroup
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 getRulesGroup(args: GetRulesGroupArgs, opts?: InvokeOptions): Promise<GetRulesGroupResult>
function getRulesGroupOutput(args: GetRulesGroupOutputArgs, opts?: InvokeOptions): Output<GetRulesGroupResult>def get_rules_group(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRulesGroupResult
def get_rules_group_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRulesGroupResult]func LookupRulesGroup(ctx *Context, args *LookupRulesGroupArgs, opts ...InvokeOption) (*LookupRulesGroupResult, error)
func LookupRulesGroupOutput(ctx *Context, args *LookupRulesGroupOutputArgs, opts ...InvokeOption) LookupRulesGroupResultOutput> Note: This function is named LookupRulesGroup in the Go SDK.
public static class GetRulesGroup
{
public static Task<GetRulesGroupResult> InvokeAsync(GetRulesGroupArgs args, InvokeOptions? opts = null)
public static Output<GetRulesGroupResult> Invoke(GetRulesGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRulesGroupResult> getRulesGroup(GetRulesGroupArgs args, InvokeOptions options)
public static Output<GetRulesGroupResult> getRulesGroup(GetRulesGroupArgs args, InvokeOptions options)
fn::invoke:
function: coralogix:index/getRulesGroup:getRulesGroup
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.
getRulesGroup Result
The following output properties are available:
- Active bool
- Determines whether the rule-group will be active.
- Applications List<string>
- Rules will execute on logs that match the following applications.
- Creator string
- Rule-group creator.
- Description string
- Rule-group description
- bool
- Id string
- The ID of this resource.
- Name string
- Rule-group name
- Order double
- Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- Rule
Subgroups List<GetRules Group Rule Subgroup> - List of rule-subgroups. Every rule-subgroup is a list of rules linked with a logical 'OR' (||) operation.
- Severities List<string>
- Rules will execute on logs that match the these severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- Subsystems List<string>
- Rules will execute on logs that match the following subsystems.
- Active bool
- Determines whether the rule-group will be active.
- Applications []string
- Rules will execute on logs that match the following applications.
- Creator string
- Rule-group creator.
- Description string
- Rule-group description
- bool
- Id string
- The ID of this resource.
- Name string
- Rule-group name
- Order float64
- Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- Rule
Subgroups []GetRules Group Rule Subgroup - List of rule-subgroups. Every rule-subgroup is a list of rules linked with a logical 'OR' (||) operation.
- Severities []string
- Rules will execute on logs that match the these severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- Subsystems []string
- Rules will execute on logs that match the following subsystems.
- active Boolean
- Determines whether the rule-group will be active.
- applications List<String>
- Rules will execute on logs that match the following applications.
- creator String
- Rule-group creator.
- description String
- Rule-group description
- Boolean
- id String
- The ID of this resource.
- name String
- Rule-group name
- order Double
- Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- rule
Subgroups List<GetRules Group Rule Subgroup> - List of rule-subgroups. Every rule-subgroup is a list of rules linked with a logical 'OR' (||) operation.
- severities List<String>
- Rules will execute on logs that match the these severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- subsystems List<String>
- Rules will execute on logs that match the following subsystems.
- active boolean
- Determines whether the rule-group will be active.
- applications string[]
- Rules will execute on logs that match the following applications.
- creator string
- Rule-group creator.
- description string
- Rule-group description
- boolean
- id string
- The ID of this resource.
- name string
- Rule-group name
- order number
- Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- rule
Subgroups GetRules Group Rule Subgroup[] - List of rule-subgroups. Every rule-subgroup is a list of rules linked with a logical 'OR' (||) operation.
- severities string[]
- Rules will execute on logs that match the these severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- subsystems string[]
- Rules will execute on logs that match the following subsystems.
- active bool
- Determines whether the rule-group will be active.
- applications Sequence[str]
- Rules will execute on logs that match the following applications.
- creator str
- Rule-group creator.
- description str
- Rule-group description
- bool
- id str
- The ID of this resource.
- name str
- Rule-group name
- order float
- Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- rule_
subgroups Sequence[GetRules Group Rule Subgroup] - List of rule-subgroups. Every rule-subgroup is a list of rules linked with a logical 'OR' (||) operation.
- severities Sequence[str]
- Rules will execute on logs that match the these severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- subsystems Sequence[str]
- Rules will execute on logs that match the following subsystems.
- active Boolean
- Determines whether the rule-group will be active.
- applications List<String>
- Rules will execute on logs that match the following applications.
- creator String
- Rule-group creator.
- description String
- Rule-group description
- Boolean
- id String
- The ID of this resource.
- name String
- Rule-group name
- order Number
- Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- rule
Subgroups List<Property Map> - List of rule-subgroups. Every rule-subgroup is a list of rules linked with a logical 'OR' (||) operation.
- severities List<String>
- Rules will execute on logs that match the these severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- subsystems List<String>
- Rules will execute on logs that match the following subsystems.
Supporting Types
GetRulesGroupRuleSubgroup
- Active bool
- Id string
- Order double
- Rules
List<Get
Rules Group Rule Subgroup Rule>
- Active bool
- Id string
- Order float64
- Rules
[]Get
Rules Group Rule Subgroup Rule
- active Boolean
- id String
- order Double
- rules
List<Get
Rules Group Rule Subgroup Rule>
- active boolean
- id string
- order number
- rules
Get
Rules Group Rule Subgroup Rule[]
- active bool
- id str
- order float
- rules
Sequence[Get
Rules Group Rule Subgroup Rule]
- active Boolean
- id String
- order Number
- rules List<Property Map>
GetRulesGroupRuleSubgroupRule
- Blocks
List<Get
Rules Group Rule Subgroup Rule Block> - Extract
Timestamps List<GetRules Group Rule Subgroup Rule Extract Timestamp> - Extracts
List<Get
Rules Group Rule Subgroup Rule Extract> - Json
Extracts List<GetRules Group Rule Subgroup Rule Json Extract> - Json
Stringifies List<GetRules Group Rule Subgroup Rule Json Stringify> - Parse
Json List<GetFields Rules Group Rule Subgroup Rule Parse Json Field> - Parses
List<Get
Rules Group Rule Subgroup Rule Parse> - Remove
Fields List<GetRules Group Rule Subgroup Rule Remove Field> - Replaces
List<Get
Rules Group Rule Subgroup Rule Replace>
- Blocks
[]Get
Rules Group Rule Subgroup Rule Block - Extract
Timestamps []GetRules Group Rule Subgroup Rule Extract Timestamp - Extracts
[]Get
Rules Group Rule Subgroup Rule Extract - Json
Extracts []GetRules Group Rule Subgroup Rule Json Extract - Json
Stringifies []GetRules Group Rule Subgroup Rule Json Stringify - Parse
Json []GetFields Rules Group Rule Subgroup Rule Parse Json Field - Parses
[]Get
Rules Group Rule Subgroup Rule Parse - Remove
Fields []GetRules Group Rule Subgroup Rule Remove Field - Replaces
[]Get
Rules Group Rule Subgroup Rule Replace
- blocks
List<Get
Rules Group Rule Subgroup Rule Block> - extract
Timestamps List<GetRules Group Rule Subgroup Rule Extract Timestamp> - extracts
List<Get
Rules Group Rule Subgroup Rule Extract> - json
Extracts List<GetRules Group Rule Subgroup Rule Json Extract> - json
Stringifies List<GetRules Group Rule Subgroup Rule Json Stringify> - parse
Json List<GetFields Rules Group Rule Subgroup Rule Parse Json Field> - parses
List<Get
Rules Group Rule Subgroup Rule Parse> - remove
Fields List<GetRules Group Rule Subgroup Rule Remove Field> - replaces
List<Get
Rules Group Rule Subgroup Rule Replace>
- blocks
Get
Rules Group Rule Subgroup Rule Block[] - extract
Timestamps GetRules Group Rule Subgroup Rule Extract Timestamp[] - extracts
Get
Rules Group Rule Subgroup Rule Extract[] - json
Extracts GetRules Group Rule Subgroup Rule Json Extract[] - json
Stringifies GetRules Group Rule Subgroup Rule Json Stringify[] - parse
Json GetFields Rules Group Rule Subgroup Rule Parse Json Field[] - parses
Get
Rules Group Rule Subgroup Rule Parse[] - remove
Fields GetRules Group Rule Subgroup Rule Remove Field[] - replaces
Get
Rules Group Rule Subgroup Rule Replace[]
- blocks
Sequence[Get
Rules Group Rule Subgroup Rule Block] - extract_
timestamps Sequence[GetRules Group Rule Subgroup Rule Extract Timestamp] - extracts
Sequence[Get
Rules Group Rule Subgroup Rule Extract] - json_
extracts Sequence[GetRules Group Rule Subgroup Rule Json Extract] - json_
stringifies Sequence[GetRules Group Rule Subgroup Rule Json Stringify] - parse_
json_ Sequence[Getfields Rules Group Rule Subgroup Rule Parse Json Field] - parses
Sequence[Get
Rules Group Rule Subgroup Rule Parse] - remove_
fields Sequence[GetRules Group Rule Subgroup Rule Remove Field] - replaces
Sequence[Get
Rules Group Rule Subgroup Rule Replace]
GetRulesGroupRuleSubgroupRuleBlock
- Active bool
- Blocking
All boolMatching Blocks - Description string
- Id string
- Keep
Blocked boolLogs - Name string
- Order double
- Regular
Expression string - Source
Field string
- Active bool
- Blocking
All boolMatching Blocks - Description string
- Id string
- Keep
Blocked boolLogs - Name string
- Order float64
- Regular
Expression string - Source
Field string
- active Boolean
- blocking
All BooleanMatching Blocks - description String
- id String
- keep
Blocked BooleanLogs - name String
- order Double
- regular
Expression String - source
Field String
- active boolean
- blocking
All booleanMatching Blocks - description string
- id string
- keep
Blocked booleanLogs - name string
- order number
- regular
Expression string - source
Field string
- active bool
- blocking_
all_ boolmatching_ blocks - description str
- id str
- keep_
blocked_ boollogs - name str
- order float
- regular_
expression str - source_
field str
- active Boolean
- blocking
All BooleanMatching Blocks - description String
- id String
- keep
Blocked BooleanLogs - name String
- order Number
- regular
Expression String - source
Field String
GetRulesGroupRuleSubgroupRuleExtract
- Active bool
- Description string
- Id string
- Name string
- Order double
- Regular
Expression string - Source
Field string
- Active bool
- Description string
- Id string
- Name string
- Order float64
- Regular
Expression string - Source
Field string
- active Boolean
- description String
- id String
- name String
- order Double
- regular
Expression String - source
Field String
- active boolean
- description string
- id string
- name string
- order number
- regular
Expression string - source
Field string
- active bool
- description str
- id str
- name str
- order float
- regular_
expression str - source_
field str
- active Boolean
- description String
- id String
- name String
- order Number
- regular
Expression String - source
Field String
GetRulesGroupRuleSubgroupRuleExtractTimestamp
- Active bool
- Description string
- Field
Format stringStandard - Id string
- Name string
- Order double
- Source
Field string - Time
Format string
- Active bool
- Description string
- Field
Format stringStandard - Id string
- Name string
- Order float64
- Source
Field string - Time
Format string
- active Boolean
- description String
- field
Format StringStandard - id String
- name String
- order Double
- source
Field String - time
Format String
- active boolean
- description string
- field
Format stringStandard - id string
- name string
- order number
- source
Field string - time
Format string
- active bool
- description str
- field_
format_ strstandard - id str
- name str
- order float
- source_
field str - time_
format str
- active Boolean
- description String
- field
Format StringStandard - id String
- name String
- order Number
- source
Field String - time
Format String
GetRulesGroupRuleSubgroupRuleJsonExtract
- Active bool
- Description string
- Destination
Field string - Destination
Field stringText - Id string
- Json
Key string - Name string
- Order double
- Active bool
- Description string
- Destination
Field string - Destination
Field stringText - Id string
- Json
Key string - Name string
- Order float64
- active Boolean
- description String
- destination
Field String - destination
Field StringText - id String
- json
Key String - name String
- order Double
- active boolean
- description string
- destination
Field string - destination
Field stringText - id string
- json
Key string - name string
- order number
- active bool
- description str
- destination_
field str - destination_
field_ strtext - id str
- json_
key str - name str
- order float
- active Boolean
- description String
- destination
Field String - destination
Field StringText - id String
- json
Key String - name String
- order Number
GetRulesGroupRuleSubgroupRuleJsonStringify
- Active bool
- Description string
- Destination
Field string - Id string
- Keep
Source boolField - Name string
- Order double
- Source
Field string
- Active bool
- Description string
- Destination
Field string - Id string
- Keep
Source boolField - Name string
- Order float64
- Source
Field string
- active Boolean
- description String
- destination
Field String - id String
- keep
Source BooleanField - name String
- order Double
- source
Field String
- active boolean
- description string
- destination
Field string - id string
- keep
Source booleanField - name string
- order number
- source
Field string
- active bool
- description str
- destination_
field str - id str
- keep_
source_ boolfield - name str
- order float
- source_
field str
- active Boolean
- description String
- destination
Field String - id String
- keep
Source BooleanField - name String
- order Number
- source
Field String
GetRulesGroupRuleSubgroupRuleParse
- Active bool
- Description string
- Destination
Field string - Id string
- Name string
- Order double
- Regular
Expression string - Source
Field string
- Active bool
- Description string
- Destination
Field string - Id string
- Name string
- Order float64
- Regular
Expression string - Source
Field string
- active Boolean
- description String
- destination
Field String - id String
- name String
- order Double
- regular
Expression String - source
Field String
- active boolean
- description string
- destination
Field string - id string
- name string
- order number
- regular
Expression string - source
Field string
- active bool
- description str
- destination_
field str - id str
- name str
- order float
- regular_
expression str - source_
field str
- active Boolean
- description String
- destination
Field String - id String
- name String
- order Number
- regular
Expression String - source
Field String
GetRulesGroupRuleSubgroupRuleParseJsonField
- Active bool
- Description string
- Destination
Field string - Id string
- Keep
Destination boolField - Keep
Source boolField - Name string
- Order double
- Source
Field string
- Active bool
- Description string
- Destination
Field string - Id string
- Keep
Destination boolField - Keep
Source boolField - Name string
- Order float64
- Source
Field string
- active Boolean
- description String
- destination
Field String - id String
- keep
Destination BooleanField - keep
Source BooleanField - name String
- order Double
- source
Field String
- active boolean
- description string
- destination
Field string - id string
- keep
Destination booleanField - keep
Source booleanField - name string
- order number
- source
Field string
- active bool
- description str
- destination_
field str - id str
- keep_
destination_ boolfield - keep_
source_ boolfield - name str
- order float
- source_
field str
- active Boolean
- description String
- destination
Field String - id String
- keep
Destination BooleanField - keep
Source BooleanField - name String
- order Number
- source
Field String
GetRulesGroupRuleSubgroupRuleRemoveField
- Active bool
- Description string
- Excluded
Fields List<string> - Id string
- Name string
- Order double
- Active bool
- Description string
- Excluded
Fields []string - Id string
- Name string
- Order float64
- active Boolean
- description String
- excluded
Fields List<String> - id String
- name String
- order Double
- active boolean
- description string
- excluded
Fields string[] - id string
- name string
- order number
- active bool
- description str
- excluded_
fields Sequence[str] - id str
- name str
- order float
- active Boolean
- description String
- excluded
Fields List<String> - id String
- name String
- order Number
GetRulesGroupRuleSubgroupRuleReplace
- Active bool
- Description string
- Destination
Field string - Id string
- Name string
- Order double
- Regular
Expression string - Replacement
String string - Source
Field string
- Active bool
- Description string
- Destination
Field string - Id string
- Name string
- Order float64
- Regular
Expression string - Replacement
String string - Source
Field string
- active Boolean
- description String
- destination
Field String - id String
- name String
- order Double
- regular
Expression String - replacement
String String - source
Field String
- active boolean
- description string
- destination
Field string - id string
- name string
- order number
- regular
Expression string - replacement
String string - source
Field string
- active bool
- description str
- destination_
field str - id str
- name str
- order float
- regular_
expression str - replacement_
string str - source_
field str
- active Boolean
- description String
- destination
Field String - id String
- name String
- order Number
- regular
Expression String - replacement
String String - source
Field String
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
