1. Packages
  2. Ibm Provider
  3. API Docs
  4. LogsRouterRoute
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
ibm logo
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud

    Create, update, and delete logs_router_routes with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const logsRouterRouteInstance = new ibm.LogsRouterRoute("logs_router_route_instance", {
        managedBy: "enterprise",
        name: "my-route",
        rules: [{
            action: "send",
            targets: [{
                id: "c3af557f-fb0e-4476-85c3-0889e7fe7bc4",
            }],
            inclusionFilters: [{
                operand: "location",
                operator: "is",
                values: ["us-south"],
            }],
        }],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    logs_router_route_instance = ibm.LogsRouterRoute("logs_router_route_instance",
        managed_by="enterprise",
        name="my-route",
        rules=[{
            "action": "send",
            "targets": [{
                "id": "c3af557f-fb0e-4476-85c3-0889e7fe7bc4",
            }],
            "inclusion_filters": [{
                "operand": "location",
                "operator": "is",
                "values": ["us-south"],
            }],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewLogsRouterRoute(ctx, "logs_router_route_instance", &ibm.LogsRouterRouteArgs{
    			ManagedBy: pulumi.String("enterprise"),
    			Name:      pulumi.String("my-route"),
    			Rules: ibm.LogsRouterRouteRuleArray{
    				&ibm.LogsRouterRouteRuleArgs{
    					Action: pulumi.String("send"),
    					Targets: ibm.LogsRouterRouteRuleTargetArray{
    						&ibm.LogsRouterRouteRuleTargetArgs{
    							Id: pulumi.String("c3af557f-fb0e-4476-85c3-0889e7fe7bc4"),
    						},
    					},
    					InclusionFilters: ibm.LogsRouterRouteRuleInclusionFilterArray{
    						&ibm.LogsRouterRouteRuleInclusionFilterArgs{
    							Operand:  pulumi.String("location"),
    							Operator: pulumi.String("is"),
    							Values: pulumi.StringArray{
    								pulumi.String("us-south"),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var logsRouterRouteInstance = new Ibm.LogsRouterRoute("logs_router_route_instance", new()
        {
            ManagedBy = "enterprise",
            Name = "my-route",
            Rules = new[]
            {
                new Ibm.Inputs.LogsRouterRouteRuleArgs
                {
                    Action = "send",
                    Targets = new[]
                    {
                        new Ibm.Inputs.LogsRouterRouteRuleTargetArgs
                        {
                            Id = "c3af557f-fb0e-4476-85c3-0889e7fe7bc4",
                        },
                    },
                    InclusionFilters = new[]
                    {
                        new Ibm.Inputs.LogsRouterRouteRuleInclusionFilterArgs
                        {
                            Operand = "location",
                            Operator = "is",
                            Values = new[]
                            {
                                "us-south",
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.LogsRouterRoute;
    import com.pulumi.ibm.LogsRouterRouteArgs;
    import com.pulumi.ibm.inputs.LogsRouterRouteRuleArgs;
    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 logsRouterRouteInstance = new LogsRouterRoute("logsRouterRouteInstance", LogsRouterRouteArgs.builder()
                .managedBy("enterprise")
                .name("my-route")
                .rules(LogsRouterRouteRuleArgs.builder()
                    .action("send")
                    .targets(LogsRouterRouteRuleTargetArgs.builder()
                        .id("c3af557f-fb0e-4476-85c3-0889e7fe7bc4")
                        .build())
                    .inclusionFilters(LogsRouterRouteRuleInclusionFilterArgs.builder()
                        .operand("location")
                        .operator("is")
                        .values("us-south")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      logsRouterRouteInstance:
        type: ibm:LogsRouterRoute
        name: logs_router_route_instance
        properties:
          managedBy: enterprise
          name: my-route
          rules:
            - action: send
              targets:
                - id: c3af557f-fb0e-4476-85c3-0889e7fe7bc4
              inclusionFilters:
                - operand: location
                  operator: is
                  values:
                    - us-south
    

    Create LogsRouterRoute Resource

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

    Constructor syntax

    new LogsRouterRoute(name: string, args: LogsRouterRouteArgs, opts?: CustomResourceOptions);
    @overload
    def LogsRouterRoute(resource_name: str,
                        args: LogsRouterRouteArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogsRouterRoute(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        rules: Optional[Sequence[LogsRouterRouteRuleArgs]] = None,
                        logs_router_route_id: Optional[str] = None,
                        managed_by: Optional[str] = None,
                        name: Optional[str] = None)
    func NewLogsRouterRoute(ctx *Context, name string, args LogsRouterRouteArgs, opts ...ResourceOption) (*LogsRouterRoute, error)
    public LogsRouterRoute(string name, LogsRouterRouteArgs args, CustomResourceOptions? opts = null)
    public LogsRouterRoute(String name, LogsRouterRouteArgs args)
    public LogsRouterRoute(String name, LogsRouterRouteArgs args, CustomResourceOptions options)
    
    type: ibm:LogsRouterRoute
    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 LogsRouterRouteArgs
    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 LogsRouterRouteArgs
    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 LogsRouterRouteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogsRouterRouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogsRouterRouteArgs
    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 logsRouterRouteResource = new Ibm.LogsRouterRoute("logsRouterRouteResource", new()
    {
        Rules = new[]
        {
            new Ibm.Inputs.LogsRouterRouteRuleArgs
            {
                Targets = new[]
                {
                    new Ibm.Inputs.LogsRouterRouteRuleTargetArgs
                    {
                        Id = "string",
                    },
                },
                Action = "string",
                InclusionFilters = new[]
                {
                    new Ibm.Inputs.LogsRouterRouteRuleInclusionFilterArgs
                    {
                        Operand = "string",
                        Operator = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        LogsRouterRouteId = "string",
        ManagedBy = "string",
        Name = "string",
    });
    
    example, err := ibm.NewLogsRouterRoute(ctx, "logsRouterRouteResource", &ibm.LogsRouterRouteArgs{
    	Rules: ibm.LogsRouterRouteRuleArray{
    		&ibm.LogsRouterRouteRuleArgs{
    			Targets: ibm.LogsRouterRouteRuleTargetArray{
    				&ibm.LogsRouterRouteRuleTargetArgs{
    					Id: pulumi.String("string"),
    				},
    			},
    			Action: pulumi.String("string"),
    			InclusionFilters: ibm.LogsRouterRouteRuleInclusionFilterArray{
    				&ibm.LogsRouterRouteRuleInclusionFilterArgs{
    					Operand:  pulumi.String("string"),
    					Operator: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	LogsRouterRouteId: pulumi.String("string"),
    	ManagedBy:         pulumi.String("string"),
    	Name:              pulumi.String("string"),
    })
    
    var logsRouterRouteResource = new LogsRouterRoute("logsRouterRouteResource", LogsRouterRouteArgs.builder()
        .rules(LogsRouterRouteRuleArgs.builder()
            .targets(LogsRouterRouteRuleTargetArgs.builder()
                .id("string")
                .build())
            .action("string")
            .inclusionFilters(LogsRouterRouteRuleInclusionFilterArgs.builder()
                .operand("string")
                .operator("string")
                .values("string")
                .build())
            .build())
        .logsRouterRouteId("string")
        .managedBy("string")
        .name("string")
        .build());
    
    logs_router_route_resource = ibm.LogsRouterRoute("logsRouterRouteResource",
        rules=[{
            "targets": [{
                "id": "string",
            }],
            "action": "string",
            "inclusion_filters": [{
                "operand": "string",
                "operator": "string",
                "values": ["string"],
            }],
        }],
        logs_router_route_id="string",
        managed_by="string",
        name="string")
    
    const logsRouterRouteResource = new ibm.LogsRouterRoute("logsRouterRouteResource", {
        rules: [{
            targets: [{
                id: "string",
            }],
            action: "string",
            inclusionFilters: [{
                operand: "string",
                operator: "string",
                values: ["string"],
            }],
        }],
        logsRouterRouteId: "string",
        managedBy: "string",
        name: "string",
    });
    
    type: ibm:LogsRouterRoute
    properties:
        logsRouterRouteId: string
        managedBy: string
        name: string
        rules:
            - action: string
              inclusionFilters:
                - operand: string
                  operator: string
                  values:
                    - string
              targets:
                - id: string
    

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

    Rules List<LogsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    LogsRouterRouteId string
    The unique identifier of the logs_router_route.
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Rules []LogsRouterRouteRuleArgs
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    LogsRouterRouteId string
    The unique identifier of the logs_router_route.
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<LogsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    logsRouterRouteId String
    The unique identifier of the logs_router_route.
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules LogsRouterRouteRule[]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    logsRouterRouteId string
    The unique identifier of the logs_router_route.
    managedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules Sequence[LogsRouterRouteRuleArgs]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    logs_router_route_id str
    The unique identifier of the logs_router_route.
    managed_by str
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name str
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<Property Map>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    logsRouterRouteId String
    The unique identifier of the logs_router_route.
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.

    Outputs

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

    CreatedAt string
    (String) The timestamp of the route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    CreatedAt string
    (String) The timestamp of the route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) The timestamp of the route last updated time.
    createdAt string
    (String) The timestamp of the route creation time.
    crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    (String) The timestamp of the route last updated time.
    created_at str
    (String) The timestamp of the route creation time.
    crn str
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) The timestamp of the route last updated time.

    Look up Existing LogsRouterRoute Resource

    Get an existing LogsRouterRoute 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?: LogsRouterRouteState, opts?: CustomResourceOptions): LogsRouterRoute
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            logs_router_route_id: Optional[str] = None,
            managed_by: Optional[str] = None,
            name: Optional[str] = None,
            rules: Optional[Sequence[LogsRouterRouteRuleArgs]] = None,
            updated_at: Optional[str] = None) -> LogsRouterRoute
    func GetLogsRouterRoute(ctx *Context, name string, id IDInput, state *LogsRouterRouteState, opts ...ResourceOption) (*LogsRouterRoute, error)
    public static LogsRouterRoute Get(string name, Input<string> id, LogsRouterRouteState? state, CustomResourceOptions? opts = null)
    public static LogsRouterRoute get(String name, Output<String> id, LogsRouterRouteState state, CustomResourceOptions options)
    resources:  _:    type: ibm:LogsRouterRoute    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:
    CreatedAt string
    (String) The timestamp of the route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    LogsRouterRouteId string
    The unique identifier of the logs_router_route.
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Rules List<LogsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    CreatedAt string
    (String) The timestamp of the route creation time.
    Crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    LogsRouterRouteId string
    The unique identifier of the logs_router_route.
    ManagedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    Name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    Rules []LogsRouterRouteRuleArgs
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    UpdatedAt string
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    logsRouterRouteId String
    The unique identifier of the logs_router_route.
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<LogsRouterRouteRule>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updatedAt String
    (String) The timestamp of the route last updated time.
    createdAt string
    (String) The timestamp of the route creation time.
    crn string
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    logsRouterRouteId string
    The unique identifier of the logs_router_route.
    managedBy string
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name string
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules LogsRouterRouteRule[]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updatedAt string
    (String) The timestamp of the route last updated time.
    created_at str
    (String) The timestamp of the route creation time.
    crn str
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    logs_router_route_id str
    The unique identifier of the logs_router_route.
    managed_by str
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name str
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules Sequence[LogsRouterRouteRuleArgs]
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updated_at str
    (String) The timestamp of the route last updated time.
    createdAt String
    (String) The timestamp of the route creation time.
    crn String
    (String) The crn of the route resource.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    logsRouterRouteId String
    The unique identifier of the logs_router_route.
    managedBy String
    Present when the route is enterprise-managed (managed_by: enterprise).

    • Constraints: Allowable values are: enterprise, account.
    name String
    The name of the route.

    • Constraints: The maximum length is 1000 characters. The minimum length is 1 character.
    rules List<Property Map>
    The routing rules that will be evaluated in their order of the array. Once a rule is matched, the remaining rules in the route definition will be skipped.

    • Constraints: The maximum length is 10 items. The minimum length is 1 item. Nested schema for rules:
    updatedAt String
    (String) The timestamp of the route last updated time.

    Supporting Types

    LogsRouterRouteRule, LogsRouterRouteRuleArgs

    Targets List<LogsRouterRouteRuleTarget>
    The target ID List. Platform logs will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    Action string
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    InclusionFilters List<LogsRouterRouteRuleInclusionFilter>
    A list of conditions to be satisfied for routing platform logs to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    Targets []LogsRouterRouteRuleTarget
    The target ID List. Platform logs will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    Action string
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    InclusionFilters []LogsRouterRouteRuleInclusionFilter
    A list of conditions to be satisfied for routing platform logs to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets List<LogsRouterRouteRuleTarget>
    The target ID List. Platform logs will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action String
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusionFilters List<LogsRouterRouteRuleInclusionFilter>
    A list of conditions to be satisfied for routing platform logs to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets LogsRouterRouteRuleTarget[]
    The target ID List. Platform logs will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action string
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusionFilters LogsRouterRouteRuleInclusionFilter[]
    A list of conditions to be satisfied for routing platform logs to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets Sequence[LogsRouterRouteRuleTarget]
    The target ID List. Platform logs will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action str
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusion_filters Sequence[LogsRouterRouteRuleInclusionFilter]
    A list of conditions to be satisfied for routing platform logs to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:
    targets List<Property Map>
    The target ID List. Platform logs will be sent to all targets listed in the rule. You can include targets from other regions.

    • Constraints: The maximum length is 3 items. The minimum length is 0 items. Nested schema for targets:
    action String
    The action if the inclusion_filters matches, default is send action.

    • Constraints: Allowable values are: send, drop.
    inclusionFilters List<Property Map>
    A list of conditions to be satisfied for routing platform logs to pre-defined target.

    • Constraints: The maximum length is 7 items. The minimum length is 0 items. Nested schema for inclusion_filters:

    LogsRouterRouteRuleInclusionFilter, LogsRouterRouteRuleInclusionFilterArgs

    Operand string
    Part of CRN that can be compared with values. Currently only location is supported.

    • Constraints: Allowable values are: location.
    Operator string
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support up to 20 values in the array.

    • Constraints: Allowable values are: is, in.
    Values List<string>
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    Operand string
    Part of CRN that can be compared with values. Currently only location is supported.

    • Constraints: Allowable values are: location.
    Operator string
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support up to 20 values in the array.

    • Constraints: Allowable values are: is, in.
    Values []string
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand String
    Part of CRN that can be compared with values. Currently only location is supported.

    • Constraints: Allowable values are: location.
    operator String
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support up to 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values List<String>
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand string
    Part of CRN that can be compared with values. Currently only location is supported.

    • Constraints: Allowable values are: location.
    operator string
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support up to 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values string[]
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand str
    Part of CRN that can be compared with values. Currently only location is supported.

    • Constraints: Allowable values are: location.
    operator str
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support up to 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values Sequence[str]
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.
    operand String
    Part of CRN that can be compared with values. Currently only location is supported.

    • Constraints: Allowable values are: location.
    operator String
    The operation to be performed between operand and the provided values. 'is' to be used with one value and 'in' can support up to 20 values in the array.

    • Constraints: Allowable values are: is, in.
    values List<String>
    The provided string values of the operand to be compared with.

    • Constraints: The maximum length is 20 items. The minimum length is 1 item.

    LogsRouterRouteRuleTarget, LogsRouterRouteRuleTargetArgs

    Id string
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    Id string
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id String
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id string
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id str
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id String
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.

    Import

    You can import the ibm_logs_router_route resource by using id. The UUID of the route resource.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/logsRouterRoute:LogsRouterRoute logs_router_route <id>
    ```
    
    

    Example

    $ pulumi import ibm:index/logsRouterRoute:LogsRouterRoute logs_router_route c3af557f-fb0e-4476-85c3-0889e7fe7bc4
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
      Meet Neo: Your AI Platform Teammate