pagerduty.EventOrchestrationUnrouted

Explore with Pulumi AI

An Unrouted Orchestration allows users to create a set of Event Rules that will be evaluated against all events that don’t match any rules in the Orchestration’s Router.

The Unrouted Orchestration evaluates events sent to it against each of its rules, beginning with the rules in the “start” set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing.

Example of configuring Unrouted Rules for an Orchestration

In this example of an Unrouted Orchestration, the rule matches only if the condition is matched. Alerts created for events that do not match the rule will have severity level set to info as defined in catch_all block.

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

const unrouted = new pagerduty.EventOrchestrationUnrouted("unrouted", {
    eventOrchestration: pagerduty_event_orchestration.my_monitor.id,
    sets: [{
        id: "start",
        rules: [{
            label: "Update the summary of un-matched Critical alerts so they're easier to spot",
            conditions: [{
                expression: "event.severity matches 'critical'",
            }],
            actions: {
                severity: "critical",
                extractions: [{
                    target: "event.summary",
                    template: "[Critical Unrouted] {{event.summary}}",
                }],
            },
        }],
    }],
    catchAll: {
        actions: {
            severity: "info",
        },
    },
});
import pulumi
import pulumi_pagerduty as pagerduty

unrouted = pagerduty.EventOrchestrationUnrouted("unrouted",
    event_orchestration=pagerduty_event_orchestration["my_monitor"]["id"],
    sets=[pagerduty.EventOrchestrationUnroutedSetArgs(
        id="start",
        rules=[pagerduty.EventOrchestrationUnroutedSetRuleArgs(
            label="Update the summary of un-matched Critical alerts so they're easier to spot",
            conditions=[pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs(
                expression="event.severity matches 'critical'",
            )],
            actions=pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs(
                severity="critical",
                extractions=[pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs(
                    target="event.summary",
                    template="[Critical Unrouted] {{event.summary}}",
                )],
            ),
        )],
    )],
    catch_all=pagerduty.EventOrchestrationUnroutedCatchAllArgs(
        actions=pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs(
            severity="info",
        ),
    ))
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

return await Deployment.RunAsync(() => 
{
    var unrouted = new Pagerduty.EventOrchestrationUnrouted("unrouted", new()
    {
        EventOrchestration = pagerduty_event_orchestration.My_monitor.Id,
        Sets = new[]
        {
            new Pagerduty.Inputs.EventOrchestrationUnroutedSetArgs
            {
                Id = "start",
                Rules = new[]
                {
                    new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleArgs
                    {
                        Label = "Update the summary of un-matched Critical alerts so they're easier to spot",
                        Conditions = new[]
                        {
                            new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleConditionArgs
                            {
                                Expression = "event.severity matches 'critical'",
                            },
                        },
                        Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsArgs
                        {
                            Severity = "critical",
                            Extractions = new[]
                            {
                                new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsExtractionArgs
                                {
                                    Target = "event.summary",
                                    Template = "[Critical Unrouted] {{event.summary}}",
                                },
                            },
                        },
                    },
                },
            },
        },
        CatchAll = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllArgs
        {
            Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsArgs
            {
                Severity = "info",
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewEventOrchestrationUnrouted(ctx, "unrouted", &pagerduty.EventOrchestrationUnroutedArgs{
			EventOrchestration: pulumi.Any(pagerduty_event_orchestration.My_monitor.Id),
			Sets: pagerduty.EventOrchestrationUnroutedSetArray{
				&pagerduty.EventOrchestrationUnroutedSetArgs{
					Id: pulumi.String("start"),
					Rules: pagerduty.EventOrchestrationUnroutedSetRuleArray{
						&pagerduty.EventOrchestrationUnroutedSetRuleArgs{
							Label: pulumi.String("Update the summary of un-matched Critical alerts so they're easier to spot"),
							Conditions: pagerduty.EventOrchestrationUnroutedSetRuleConditionArray{
								&pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs{
									Expression: pulumi.String("event.severity matches 'critical'"),
								},
							},
							Actions: &pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs{
								Severity: pulumi.String("critical"),
								Extractions: pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArray{
									&pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs{
										Target:   pulumi.String("event.summary"),
										Template: pulumi.String("[Critical Unrouted] {{event.summary}}"),
									},
								},
							},
						},
					},
				},
			},
			CatchAll: &pagerduty.EventOrchestrationUnroutedCatchAllArgs{
				Actions: &pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs{
					Severity: pulumi.String("info"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.EventOrchestrationUnrouted;
import com.pulumi.pagerduty.EventOrchestrationUnroutedArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedSetArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedCatchAllArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedCatchAllActionsArgs;
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 unrouted = new EventOrchestrationUnrouted("unrouted", EventOrchestrationUnroutedArgs.builder()        
            .eventOrchestration(pagerduty_event_orchestration.my_monitor().id())
            .sets(EventOrchestrationUnroutedSetArgs.builder()
                .id("start")
                .rules(EventOrchestrationUnroutedSetRuleArgs.builder()
                    .label("Update the summary of un-matched Critical alerts so they're easier to spot")
                    .conditions(EventOrchestrationUnroutedSetRuleConditionArgs.builder()
                        .expression("event.severity matches 'critical'")
                        .build())
                    .actions(EventOrchestrationUnroutedSetRuleActionsArgs.builder()
                        .severity("critical")
                        .extractions(EventOrchestrationUnroutedSetRuleActionsExtractionArgs.builder()
                            .target("event.summary")
                            .template("[Critical Unrouted] {{event.summary}}")
                            .build())
                        .build())
                    .build())
                .build())
            .catchAll(EventOrchestrationUnroutedCatchAllArgs.builder()
                .actions(EventOrchestrationUnroutedCatchAllActionsArgs.builder()
                    .severity("info")
                    .build())
                .build())
            .build());

    }
}
resources:
  unrouted:
    type: pagerduty:EventOrchestrationUnrouted
    properties:
      eventOrchestration: ${pagerduty_event_orchestration.my_monitor.id}
      sets:
        - id: start
          rules:
            - label: Update the summary of un-matched Critical alerts so they're easier to spot
              conditions:
                - expression: event.severity matches 'critical'
              actions:
                severity: critical
                extractions:
                  - target: event.summary
                    template: '[Critical Unrouted] {{event.summary}}'
      catchAll:
        actions:
          severity: info

Create EventOrchestrationUnrouted Resource

new EventOrchestrationUnrouted(name: string, args: EventOrchestrationUnroutedArgs, opts?: CustomResourceOptions);
@overload
def EventOrchestrationUnrouted(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               catch_all: Optional[EventOrchestrationUnroutedCatchAllArgs] = None,
                               event_orchestration: Optional[str] = None,
                               sets: Optional[Sequence[EventOrchestrationUnroutedSetArgs]] = None)
@overload
def EventOrchestrationUnrouted(resource_name: str,
                               args: EventOrchestrationUnroutedArgs,
                               opts: Optional[ResourceOptions] = None)
func NewEventOrchestrationUnrouted(ctx *Context, name string, args EventOrchestrationUnroutedArgs, opts ...ResourceOption) (*EventOrchestrationUnrouted, error)
public EventOrchestrationUnrouted(string name, EventOrchestrationUnroutedArgs args, CustomResourceOptions? opts = null)
public EventOrchestrationUnrouted(String name, EventOrchestrationUnroutedArgs args)
public EventOrchestrationUnrouted(String name, EventOrchestrationUnroutedArgs args, CustomResourceOptions options)
type: pagerduty:EventOrchestrationUnrouted
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EventOrchestrationUnroutedArgs
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 EventOrchestrationUnroutedArgs
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 EventOrchestrationUnroutedArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EventOrchestrationUnroutedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EventOrchestrationUnroutedArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EventOrchestrationUnrouted Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The EventOrchestrationUnrouted resource accepts the following input properties:

CatchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

The Event Orchestration to which this Unrouted Orchestration belongs to.

Sets List<EventOrchestrationUnroutedSetArgs>

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

CatchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

The Event Orchestration to which this Unrouted Orchestration belongs to.

Sets []EventOrchestrationUnroutedSetArgs

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration String

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets List<EventOrchestrationUnroutedSetArgs>

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration string

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets EventOrchestrationUnroutedSetArgs[]

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catch_all EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

event_orchestration str

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets Sequence[EventOrchestrationUnroutedSetArgs]

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catchAll Property Map

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration String

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets List<Property Map>

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

Outputs

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

Get an existing EventOrchestrationUnrouted 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?: EventOrchestrationUnroutedState, opts?: CustomResourceOptions): EventOrchestrationUnrouted
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        catch_all: Optional[EventOrchestrationUnroutedCatchAllArgs] = None,
        event_orchestration: Optional[str] = None,
        sets: Optional[Sequence[EventOrchestrationUnroutedSetArgs]] = None) -> EventOrchestrationUnrouted
func GetEventOrchestrationUnrouted(ctx *Context, name string, id IDInput, state *EventOrchestrationUnroutedState, opts ...ResourceOption) (*EventOrchestrationUnrouted, error)
public static EventOrchestrationUnrouted Get(string name, Input<string> id, EventOrchestrationUnroutedState? state, CustomResourceOptions? opts = null)
public static EventOrchestrationUnrouted get(String name, Output<String> id, EventOrchestrationUnroutedState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
CatchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

The Event Orchestration to which this Unrouted Orchestration belongs to.

Sets List<EventOrchestrationUnroutedSetArgs>

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

CatchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

The Event Orchestration to which this Unrouted Orchestration belongs to.

Sets []EventOrchestrationUnroutedSetArgs

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration String

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets List<EventOrchestrationUnroutedSetArgs>

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catchAll EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration string

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets EventOrchestrationUnroutedSetArgs[]

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catch_all EventOrchestrationUnroutedCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

event_orchestration str

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets Sequence[EventOrchestrationUnroutedSetArgs]

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

catchAll Property Map

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration String

The Event Orchestration to which this Unrouted Orchestration belongs to.

sets List<Property Map>

An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.

Supporting Types

EventOrchestrationUnroutedCatchAll

Actions EventOrchestrationUnroutedCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

Actions EventOrchestrationUnroutedCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions EventOrchestrationUnroutedCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions EventOrchestrationUnroutedCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions EventOrchestrationUnroutedCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions Property Map

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

EventOrchestrationUnroutedCatchAllActions

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions List<EventOrchestrationUnroutedCatchAllActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

Severity string

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

Suppress bool
Variables List<EventOrchestrationUnroutedCatchAllActionsVariable>

Populate variables from event payloads and use those variables in other event actions.

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions []EventOrchestrationUnroutedCatchAllActionsExtraction

Replace any CEF field or Custom Details object field using custom variables.

Severity string

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

Suppress bool
Variables []EventOrchestrationUnroutedCatchAllActionsVariable

Populate variables from event payloads and use those variables in other event actions.

eventAction String

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions List<EventOrchestrationUnroutedCatchAllActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

severity String

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

suppress Boolean
variables List<EventOrchestrationUnroutedCatchAllActionsVariable>

Populate variables from event payloads and use those variables in other event actions.

eventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions EventOrchestrationUnroutedCatchAllActionsExtraction[]

Replace any CEF field or Custom Details object field using custom variables.

severity string

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

suppress boolean
variables EventOrchestrationUnroutedCatchAllActionsVariable[]

Populate variables from event payloads and use those variables in other event actions.

event_action str

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions Sequence[EventOrchestrationUnroutedCatchAllActionsExtraction]

Replace any CEF field or Custom Details object field using custom variables.

severity str

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

suppress bool
variables Sequence[EventOrchestrationUnroutedCatchAllActionsVariable]

Populate variables from event payloads and use those variables in other event actions.

eventAction String

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions List<Property Map>

Replace any CEF field or Custom Details object field using custom variables.

severity String

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

suppress Boolean
variables List<Property Map>

Populate variables from event payloads and use those variables in other event actions.

EventOrchestrationUnroutedCatchAllActionsExtraction

Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

Regex string

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

Source string

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

Template string

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

Regex string

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

Source string

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

Template string

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex String

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source String

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template String

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex string

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source string

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template string

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target str

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex str

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source str

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template str

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex String

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source String

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template String

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

EventOrchestrationUnroutedCatchAllActionsVariable

Name string

The name of the variable

Path string

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

Type string

Only regex is supported

Value string

The Regex expression to match against. Must use valid RE2 regular expression syntax.

Name string

The name of the variable

Path string

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

Type string

Only regex is supported

Value string

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name String

The name of the variable

path String

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type String

Only regex is supported

value String

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name string

The name of the variable

path string

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type string

Only regex is supported

value string

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name str

The name of the variable

path str

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type str

Only regex is supported

value str

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name String

The name of the variable

path String

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type String

Only regex is supported

value String

The Regex expression to match against. Must use valid RE2 regular expression syntax.

EventOrchestrationUnroutedSet

Id string

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

Rules List<EventOrchestrationUnroutedSetRule>
Id string

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

Rules []EventOrchestrationUnroutedSetRule
id String

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

rules List<EventOrchestrationUnroutedSetRule>
id string

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

rules EventOrchestrationUnroutedSetRule[]
id str

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

rules Sequence[EventOrchestrationUnroutedSetRule]
id String

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

rules List<Property Map>

EventOrchestrationUnroutedSetRule

Actions EventOrchestrationUnroutedSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

Conditions List<EventOrchestrationUnroutedSetRuleCondition>

Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.

Disabled bool

Indicates whether the rule is disabled and would therefore not be evaluated.

Id string

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

Label string

A description of this rule's purpose.

Actions EventOrchestrationUnroutedSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

Conditions []EventOrchestrationUnroutedSetRuleCondition

Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.

Disabled bool

Indicates whether the rule is disabled and would therefore not be evaluated.

Id string

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

Label string

A description of this rule's purpose.

actions EventOrchestrationUnroutedSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions List<EventOrchestrationUnroutedSetRuleCondition>

Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.

disabled Boolean

Indicates whether the rule is disabled and would therefore not be evaluated.

id String

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label String

A description of this rule's purpose.

actions EventOrchestrationUnroutedSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions EventOrchestrationUnroutedSetRuleCondition[]

Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.

disabled boolean

Indicates whether the rule is disabled and would therefore not be evaluated.

id string

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label string

A description of this rule's purpose.

actions EventOrchestrationUnroutedSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions Sequence[EventOrchestrationUnroutedSetRuleCondition]

Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.

disabled bool

Indicates whether the rule is disabled and would therefore not be evaluated.

id str

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label str

A description of this rule's purpose.

actions Property Map

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions List<Property Map>

Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will always match against the rule.

disabled Boolean

Indicates whether the rule is disabled and would therefore not be evaluated.

id String

The ID of this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label String

A description of this rule's purpose.

EventOrchestrationUnroutedSetRuleActions

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions List<EventOrchestrationUnroutedSetRuleActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

RouteTo string

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

Severity string

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

Variables List<EventOrchestrationUnroutedSetRuleActionsVariable>

Populate variables from event payloads and use those variables in other event actions.

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions []EventOrchestrationUnroutedSetRuleActionsExtraction

Replace any CEF field or Custom Details object field using custom variables.

RouteTo string

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

Severity string

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

Variables []EventOrchestrationUnroutedSetRuleActionsVariable

Populate variables from event payloads and use those variables in other event actions.

eventAction String

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions List<EventOrchestrationUnroutedSetRuleActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

routeTo String

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

severity String

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

variables List<EventOrchestrationUnroutedSetRuleActionsVariable>

Populate variables from event payloads and use those variables in other event actions.

eventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions EventOrchestrationUnroutedSetRuleActionsExtraction[]

Replace any CEF field or Custom Details object field using custom variables.

routeTo string

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

severity string

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

variables EventOrchestrationUnroutedSetRuleActionsVariable[]

Populate variables from event payloads and use those variables in other event actions.

event_action str

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions Sequence[EventOrchestrationUnroutedSetRuleActionsExtraction]

Replace any CEF field or Custom Details object field using custom variables.

route_to str

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

severity str

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

variables Sequence[EventOrchestrationUnroutedSetRuleActionsVariable]

Populate variables from event payloads and use those variables in other event actions.

eventAction String

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions List<Property Map>

Replace any CEF field or Custom Details object field using custom variables.

routeTo String

The ID of a Set from this Unrouted Orchestration whose rules you also want to use with events that match this rule.

severity String

sets Severity of the resulting alert. Allowed values are: info, error, warning, critical

variables List<Property Map>

Populate variables from event payloads and use those variables in other event actions.

EventOrchestrationUnroutedSetRuleActionsExtraction

Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

Regex string

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

Source string

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

Template string

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

Regex string

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

Source string

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

Template string

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex String

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source String

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template String

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex string

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source string

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template string

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target str

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex str

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source str

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template str

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source fields.

regex String

A RE2 regular expression that will be matched against field specified via the source argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored for template based extractions.

source String

The path to the event field where the regex will be applied to extract a value. You can use any valid PCL path like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template based extractions.

template String

A string that will be used to populate the target field. You can reference variables or event data within your template using double curly braces. For example:

  • Use variables named ip and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

EventOrchestrationUnroutedSetRuleActionsVariable

Name string

The name of the variable

Path string

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

Type string

Only regex is supported

Value string

The Regex expression to match against. Must use valid RE2 regular expression syntax.

Name string

The name of the variable

Path string

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

Type string

Only regex is supported

Value string

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name String

The name of the variable

path String

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type String

Only regex is supported

value String

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name string

The name of the variable

path string

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type string

Only regex is supported

value string

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name str

The name of the variable

path str

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type str

Only regex is supported

value str

The Regex expression to match against. Must use valid RE2 regular expression syntax.

name String

The name of the variable

path String

Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use event.summary for the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data.

type String

Only regex is supported

value String

The Regex expression to match against. Must use valid RE2 regular expression syntax.

EventOrchestrationUnroutedSetRuleCondition

Expression string

A PCL condition string.

Expression string

A PCL condition string.

expression String

A PCL condition string.

expression string

A PCL condition string.

expression String

A PCL condition string.

Import

Unrouted Orchestration can be imported using the id of the Event Orchestration, e.g.

 $ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted unrouted 1b49abe7-26db-4439-a715-c6d883acfb3e

Package Details

Repository
PagerDuty pulumi/pulumi-pagerduty
License
Apache-2.0
Notes

This Pulumi package is based on the pagerduty Terraform Provider.