1. Packages
  2. Sumologic Provider
  3. API Docs
  4. RumSource
Sumo Logic v1.0.7 published on Friday, Apr 11, 2025 by Pulumi

sumologic.RumSource

Explore with Pulumi AI

Provides a Sumologic Rum Source.

Example Usage

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

const collector = new sumologic.Collector("collector", {
    name: "test-collector",
    category: "macos/test",
});
const testRumSource = new sumologic.RumSource("testRumSource", {
    name: "rum_source_test",
    description: "Rum source created via terraform",
    category: "source/category",
    collectorId: collector.id,
    path: {
        applicationName: "test_application",
        serviceName: "test_service",
        deploymentEnvironment: "test_environment",
        samplingRate: 0.5,
        ignoreUrls: [
            "/^https:\\/\\/www.tracker.com\\/.*/",
            "/^https:\\/\\/api.mydomain.com\\/log\\/.*/",
        ],
        customTags: {
            test_tag: "test_value",
        },
        propagateTraceHeaderCorsUrls: [
            "/^https:\\/\\/api.mydomain.com\\/apiv3\\/.*/",
            "/^https:\\/\\/www.3rdparty.com\\/.*/",
        ],
        selectedCountry: "Poland",
    },
});
Copy
import pulumi
import pulumi_sumologic as sumologic

collector = sumologic.Collector("collector",
    name="test-collector",
    category="macos/test")
test_rum_source = sumologic.RumSource("testRumSource",
    name="rum_source_test",
    description="Rum source created via terraform",
    category="source/category",
    collector_id=collector.id,
    path={
        "application_name": "test_application",
        "service_name": "test_service",
        "deployment_environment": "test_environment",
        "sampling_rate": 0.5,
        "ignore_urls": [
            "/^https:\\/\\/www.tracker.com\\/.*/",
            "/^https:\\/\\/api.mydomain.com\\/log\\/.*/",
        ],
        "custom_tags": {
            "test_tag": "test_value",
        },
        "propagate_trace_header_cors_urls": [
            "/^https:\\/\\/api.mydomain.com\\/apiv3\\/.*/",
            "/^https:\\/\\/www.3rdparty.com\\/.*/",
        ],
        "selected_country": "Poland",
    })
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		collector, err := sumologic.NewCollector(ctx, "collector", &sumologic.CollectorArgs{
			Name:     pulumi.String("test-collector"),
			Category: pulumi.String("macos/test"),
		})
		if err != nil {
			return err
		}
		_, err = sumologic.NewRumSource(ctx, "testRumSource", &sumologic.RumSourceArgs{
			Name:        pulumi.String("rum_source_test"),
			Description: pulumi.String("Rum source created via terraform"),
			Category:    pulumi.String("source/category"),
			CollectorId: collector.ID(),
			Path: &sumologic.RumSourcePathArgs{
				ApplicationName:       pulumi.String("test_application"),
				ServiceName:           pulumi.String("test_service"),
				DeploymentEnvironment: pulumi.String("test_environment"),
				SamplingRate:          pulumi.Float64(0.5),
				IgnoreUrls: pulumi.StringArray{
					pulumi.String("/^https:\\/\\/www.tracker.com\\/.*/"),
					pulumi.String("/^https:\\/\\/api.mydomain.com\\/log\\/.*/"),
				},
				CustomTags: pulumi.StringMap{
					"test_tag": pulumi.String("test_value"),
				},
				PropagateTraceHeaderCorsUrls: pulumi.StringArray{
					pulumi.String("/^https:\\/\\/api.mydomain.com\\/apiv3\\/.*/"),
					pulumi.String("/^https:\\/\\/www.3rdparty.com\\/.*/"),
				},
				SelectedCountry: pulumi.String("Poland"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var collector = new SumoLogic.Collector("collector", new()
    {
        Name = "test-collector",
        Category = "macos/test",
    });

    var testRumSource = new SumoLogic.RumSource("testRumSource", new()
    {
        Name = "rum_source_test",
        Description = "Rum source created via terraform",
        Category = "source/category",
        CollectorId = collector.Id,
        Path = new SumoLogic.Inputs.RumSourcePathArgs
        {
            ApplicationName = "test_application",
            ServiceName = "test_service",
            DeploymentEnvironment = "test_environment",
            SamplingRate = 0.5,
            IgnoreUrls = new[]
            {
                "/^https:\\/\\/www.tracker.com\\/.*/",
                "/^https:\\/\\/api.mydomain.com\\/log\\/.*/",
            },
            CustomTags = 
            {
                { "test_tag", "test_value" },
            },
            PropagateTraceHeaderCorsUrls = new[]
            {
                "/^https:\\/\\/api.mydomain.com\\/apiv3\\/.*/",
                "/^https:\\/\\/www.3rdparty.com\\/.*/",
            },
            SelectedCountry = "Poland",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Collector;
import com.pulumi.sumologic.CollectorArgs;
import com.pulumi.sumologic.RumSource;
import com.pulumi.sumologic.RumSourceArgs;
import com.pulumi.sumologic.inputs.RumSourcePathArgs;
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 collector = new Collector("collector", CollectorArgs.builder()
            .name("test-collector")
            .category("macos/test")
            .build());

        var testRumSource = new RumSource("testRumSource", RumSourceArgs.builder()
            .name("rum_source_test")
            .description("Rum source created via terraform")
            .category("source/category")
            .collectorId(collector.id())
            .path(RumSourcePathArgs.builder()
                .applicationName("test_application")
                .serviceName("test_service")
                .deploymentEnvironment("test_environment")
                .samplingRate(0.5)
                .ignoreUrls(                
                    "/^https:\\/\\/www.tracker.com\\/.*/",
                    "/^https:\\/\\/api.mydomain.com\\/log\\/.*/")
                .customTags(Map.of("test_tag", "test_value"))
                .propagateTraceHeaderCorsUrls(                
                    "/^https:\\/\\/api.mydomain.com\\/apiv3\\/.*/",
                    "/^https:\\/\\/www.3rdparty.com\\/.*/")
                .selectedCountry("Poland")
                .build())
            .build());

    }
}
Copy
resources:
  collector:
    type: sumologic:Collector
    properties:
      name: test-collector
      category: macos/test
  testRumSource:
    type: sumologic:RumSource
    properties:
      name: rum_source_test
      description: Rum source created via terraform
      category: source/category
      collectorId: ${collector.id}
      path:
        applicationName: test_application
        serviceName: test_service
        deploymentEnvironment: test_environment
        samplingRate: 0.5
        ignoreUrls:
          - /^https:\/\/www.tracker.com\/.*/
          - /^https:\/\/api.mydomain.com\/log\/.*/
        customTags:
          test_tag: test_value
        propagateTraceHeaderCorsUrls:
          - /^https:\/\/api.mydomain.com\/apiv3\/.*/
          - /^https:\/\/www.3rdparty.com\/.*/
        selectedCountry: Poland
Copy

Create RumSource Resource

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

Constructor syntax

new RumSource(name: string, args: RumSourceArgs, opts?: CustomResourceOptions);
@overload
def RumSource(resource_name: str,
              args: RumSourceArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def RumSource(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              collector_id: Optional[int] = None,
              fields: Optional[Mapping[str, str]] = None,
              content_type: Optional[str] = None,
              force_timezone: Optional[bool] = None,
              hash_algorithm: Optional[str] = None,
              cutoff_timestamp: Optional[int] = None,
              default_date_formats: Optional[Sequence[RumSourceDefaultDateFormatArgs]] = None,
              description: Optional[str] = None,
              automatic_date_parsing: Optional[bool] = None,
              use_autoline_matching: Optional[bool] = None,
              category: Optional[str] = None,
              cutoff_relative_time: Optional[str] = None,
              host_name: Optional[str] = None,
              manual_prefix_regexp: Optional[str] = None,
              multiline_processing_enabled: Optional[bool] = None,
              name: Optional[str] = None,
              path: Optional[RumSourcePathArgs] = None,
              timezone: Optional[str] = None,
              filters: Optional[Sequence[RumSourceFilterArgs]] = None)
func NewRumSource(ctx *Context, name string, args RumSourceArgs, opts ...ResourceOption) (*RumSource, error)
public RumSource(string name, RumSourceArgs args, CustomResourceOptions? opts = null)
public RumSource(String name, RumSourceArgs args)
public RumSource(String name, RumSourceArgs args, CustomResourceOptions options)
type: sumologic:RumSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RumSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RumSourceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RumSourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RumSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RumSourceArgs
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 rumSourceResource = new SumoLogic.RumSource("rumSourceResource", new()
{
    CollectorId = 0,
    Fields = 
    {
        { "string", "string" },
    },
    ContentType = "string",
    ForceTimezone = false,
    HashAlgorithm = "string",
    CutoffTimestamp = 0,
    DefaultDateFormats = new[]
    {
        new SumoLogic.Inputs.RumSourceDefaultDateFormatArgs
        {
            Format = "string",
            Locator = "string",
        },
    },
    Description = "string",
    AutomaticDateParsing = false,
    UseAutolineMatching = false,
    Category = "string",
    CutoffRelativeTime = "string",
    HostName = "string",
    ManualPrefixRegexp = "string",
    MultilineProcessingEnabled = false,
    Name = "string",
    Path = new SumoLogic.Inputs.RumSourcePathArgs
    {
        ServiceName = "string",
        ApplicationName = "string",
        CustomTags = 
        {
            { "string", "string" },
        },
        DeploymentEnvironment = "string",
        IgnoreUrls = new[]
        {
            "string",
        },
        PropagateTraceHeaderCorsUrls = new[]
        {
            "string",
        },
        SamplingRate = 0,
        SelectedCountry = "string",
    },
    Timezone = "string",
    Filters = new[]
    {
        new SumoLogic.Inputs.RumSourceFilterArgs
        {
            FilterType = "string",
            Name = "string",
            Regexp = "string",
            Mask = "string",
        },
    },
});
Copy
example, err := sumologic.NewRumSource(ctx, "rumSourceResource", &sumologic.RumSourceArgs{
	CollectorId: pulumi.Int(0),
	Fields: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ContentType:     pulumi.String("string"),
	ForceTimezone:   pulumi.Bool(false),
	HashAlgorithm:   pulumi.String("string"),
	CutoffTimestamp: pulumi.Int(0),
	DefaultDateFormats: sumologic.RumSourceDefaultDateFormatArray{
		&sumologic.RumSourceDefaultDateFormatArgs{
			Format:  pulumi.String("string"),
			Locator: pulumi.String("string"),
		},
	},
	Description:                pulumi.String("string"),
	AutomaticDateParsing:       pulumi.Bool(false),
	UseAutolineMatching:        pulumi.Bool(false),
	Category:                   pulumi.String("string"),
	CutoffRelativeTime:         pulumi.String("string"),
	HostName:                   pulumi.String("string"),
	ManualPrefixRegexp:         pulumi.String("string"),
	MultilineProcessingEnabled: pulumi.Bool(false),
	Name:                       pulumi.String("string"),
	Path: &sumologic.RumSourcePathArgs{
		ServiceName:     pulumi.String("string"),
		ApplicationName: pulumi.String("string"),
		CustomTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		DeploymentEnvironment: pulumi.String("string"),
		IgnoreUrls: pulumi.StringArray{
			pulumi.String("string"),
		},
		PropagateTraceHeaderCorsUrls: pulumi.StringArray{
			pulumi.String("string"),
		},
		SamplingRate:    pulumi.Float64(0),
		SelectedCountry: pulumi.String("string"),
	},
	Timezone: pulumi.String("string"),
	Filters: sumologic.RumSourceFilterArray{
		&sumologic.RumSourceFilterArgs{
			FilterType: pulumi.String("string"),
			Name:       pulumi.String("string"),
			Regexp:     pulumi.String("string"),
			Mask:       pulumi.String("string"),
		},
	},
})
Copy
var rumSourceResource = new RumSource("rumSourceResource", RumSourceArgs.builder()
    .collectorId(0)
    .fields(Map.of("string", "string"))
    .contentType("string")
    .forceTimezone(false)
    .hashAlgorithm("string")
    .cutoffTimestamp(0)
    .defaultDateFormats(RumSourceDefaultDateFormatArgs.builder()
        .format("string")
        .locator("string")
        .build())
    .description("string")
    .automaticDateParsing(false)
    .useAutolineMatching(false)
    .category("string")
    .cutoffRelativeTime("string")
    .hostName("string")
    .manualPrefixRegexp("string")
    .multilineProcessingEnabled(false)
    .name("string")
    .path(RumSourcePathArgs.builder()
        .serviceName("string")
        .applicationName("string")
        .customTags(Map.of("string", "string"))
        .deploymentEnvironment("string")
        .ignoreUrls("string")
        .propagateTraceHeaderCorsUrls("string")
        .samplingRate(0)
        .selectedCountry("string")
        .build())
    .timezone("string")
    .filters(RumSourceFilterArgs.builder()
        .filterType("string")
        .name("string")
        .regexp("string")
        .mask("string")
        .build())
    .build());
Copy
rum_source_resource = sumologic.RumSource("rumSourceResource",
    collector_id=0,
    fields={
        "string": "string",
    },
    content_type="string",
    force_timezone=False,
    hash_algorithm="string",
    cutoff_timestamp=0,
    default_date_formats=[{
        "format": "string",
        "locator": "string",
    }],
    description="string",
    automatic_date_parsing=False,
    use_autoline_matching=False,
    category="string",
    cutoff_relative_time="string",
    host_name="string",
    manual_prefix_regexp="string",
    multiline_processing_enabled=False,
    name="string",
    path={
        "service_name": "string",
        "application_name": "string",
        "custom_tags": {
            "string": "string",
        },
        "deployment_environment": "string",
        "ignore_urls": ["string"],
        "propagate_trace_header_cors_urls": ["string"],
        "sampling_rate": 0,
        "selected_country": "string",
    },
    timezone="string",
    filters=[{
        "filter_type": "string",
        "name": "string",
        "regexp": "string",
        "mask": "string",
    }])
Copy
const rumSourceResource = new sumologic.RumSource("rumSourceResource", {
    collectorId: 0,
    fields: {
        string: "string",
    },
    contentType: "string",
    forceTimezone: false,
    hashAlgorithm: "string",
    cutoffTimestamp: 0,
    defaultDateFormats: [{
        format: "string",
        locator: "string",
    }],
    description: "string",
    automaticDateParsing: false,
    useAutolineMatching: false,
    category: "string",
    cutoffRelativeTime: "string",
    hostName: "string",
    manualPrefixRegexp: "string",
    multilineProcessingEnabled: false,
    name: "string",
    path: {
        serviceName: "string",
        applicationName: "string",
        customTags: {
            string: "string",
        },
        deploymentEnvironment: "string",
        ignoreUrls: ["string"],
        propagateTraceHeaderCorsUrls: ["string"],
        samplingRate: 0,
        selectedCountry: "string",
    },
    timezone: "string",
    filters: [{
        filterType: "string",
        name: "string",
        regexp: "string",
        mask: "string",
    }],
});
Copy
type: sumologic:RumSource
properties:
    automaticDateParsing: false
    category: string
    collectorId: 0
    contentType: string
    cutoffRelativeTime: string
    cutoffTimestamp: 0
    defaultDateFormats:
        - format: string
          locator: string
    description: string
    fields:
        string: string
    filters:
        - filterType: string
          mask: string
          name: string
          regexp: string
    forceTimezone: false
    hashAlgorithm: string
    hostName: string
    manualPrefixRegexp: string
    multilineProcessingEnabled: false
    name: string
    path:
        applicationName: string
        customTags:
            string: string
        deploymentEnvironment: string
        ignoreUrls:
            - string
        propagateTraceHeaderCorsUrls:
            - string
        samplingRate: 0
        selectedCountry: string
        serviceName: string
    timezone: string
    useAutolineMatching: false
Copy

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

CollectorId
This property is required.
Changes to this property will trigger replacement.
int
AutomaticDateParsing bool
Category string
ContentType string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []RumSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []RumSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path RumSourcePathArgs
Timezone string
UseAutolineMatching bool
collectorId
This property is required.
Changes to this property will trigger replacement.
Integer
automaticDateParsing Boolean
category String
contentType String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<RumSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<RumSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path RumSourcePath
timezone String
useAutolineMatching Boolean
collectorId
This property is required.
Changes to this property will trigger replacement.
number
automaticDateParsing boolean
category string
contentType string
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats RumSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters RumSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
path RumSourcePath
timezone string
useAutolineMatching boolean
collectorId
This property is required.
Changes to this property will trigger replacement.
Number
automaticDateParsing Boolean
category String
contentType String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Property Map
timezone String
useAutolineMatching Boolean

Outputs

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

Get an existing RumSource 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?: RumSourceState, opts?: CustomResourceOptions): RumSource
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        automatic_date_parsing: Optional[bool] = None,
        category: Optional[str] = None,
        collector_id: Optional[int] = None,
        content_type: Optional[str] = None,
        cutoff_relative_time: Optional[str] = None,
        cutoff_timestamp: Optional[int] = None,
        default_date_formats: Optional[Sequence[RumSourceDefaultDateFormatArgs]] = None,
        description: Optional[str] = None,
        fields: Optional[Mapping[str, str]] = None,
        filters: Optional[Sequence[RumSourceFilterArgs]] = None,
        force_timezone: Optional[bool] = None,
        hash_algorithm: Optional[str] = None,
        host_name: Optional[str] = None,
        manual_prefix_regexp: Optional[str] = None,
        multiline_processing_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        path: Optional[RumSourcePathArgs] = None,
        timezone: Optional[str] = None,
        use_autoline_matching: Optional[bool] = None) -> RumSource
func GetRumSource(ctx *Context, name string, id IDInput, state *RumSourceState, opts ...ResourceOption) (*RumSource, error)
public static RumSource Get(string name, Input<string> id, RumSourceState? state, CustomResourceOptions? opts = null)
public static RumSource get(String name, Output<String> id, RumSourceState state, CustomResourceOptions options)
resources:  _:    type: sumologic:RumSource    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []RumSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []RumSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path RumSourcePathArgs
Timezone string
UseAutolineMatching bool
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Integer
contentType String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<RumSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<RumSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path RumSourcePath
timezone String
useAutolineMatching Boolean
automaticDateParsing boolean
category string
collectorId Changes to this property will trigger replacement. number
contentType string
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats RumSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters RumSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
path RumSourcePath
timezone string
useAutolineMatching boolean
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Number
contentType String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Property Map
timezone String
useAutolineMatching Boolean

Supporting Types

RumSourceDefaultDateFormat
, RumSourceDefaultDateFormatArgs

Format This property is required. string
Locator string
Format This property is required. string
Locator string
format This property is required. String
locator String
format This property is required. string
locator string
format This property is required. str
locator str
format This property is required. String
locator String

RumSourceFilter
, RumSourceFilterArgs

FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String
filterType This property is required. string
name This property is required. string
regexp This property is required. string
mask string
filter_type This property is required. str
name This property is required. str
regexp This property is required. str
mask str
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String

RumSourcePath
, RumSourcePathArgs

ServiceName This property is required. string
Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
ApplicationName string
(Recommended) Add an Application Name tag of a text string to show for the app name in spans (for example, bookings-app). This groups services in the Application Service View. If left blank, services will belong to a "default" application.
CustomTags Dictionary<string, string>
Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
DeploymentEnvironment string
Your production, staging, or development environment name.
IgnoreUrls List<string>
Add a list of URLs not to collect trace data from. Supports regex. Make sure provided URLs are valid JavaScript flavor regexes. For example: "/^https://www.tracker.com/./, /^https://api.mydomain.com/log/./"
PropagateTraceHeaderCorsUrls List<string>
(Recommended) Add a list of URLs or URL patterns that pass tracing context to construct traces end-to-end. Provided URLs should be valid JavaScript flavor regexes. Some examples are "/^https://api.mydomain.com/apiv3/./" and "/^https://www.3rdparty.com/./".
SamplingRate double
Add a Probabilistic sampling rate for heavy traffic sites in a decimal value based on percentage, for example, 10% would be entered as 0.1. Supports floating values between 0.0 and 1.0, defaults to 1.0 (all data is passed).
SelectedCountry string
Specify if you want to enrich spans with the details level up to the city - if left blank, enrichment works down to the state level.
ServiceName This property is required. string
Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
ApplicationName string
(Recommended) Add an Application Name tag of a text string to show for the app name in spans (for example, bookings-app). This groups services in the Application Service View. If left blank, services will belong to a "default" application.
CustomTags map[string]string
Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
DeploymentEnvironment string
Your production, staging, or development environment name.
IgnoreUrls []string
Add a list of URLs not to collect trace data from. Supports regex. Make sure provided URLs are valid JavaScript flavor regexes. For example: "/^https://www.tracker.com/./, /^https://api.mydomain.com/log/./"
PropagateTraceHeaderCorsUrls []string
(Recommended) Add a list of URLs or URL patterns that pass tracing context to construct traces end-to-end. Provided URLs should be valid JavaScript flavor regexes. Some examples are "/^https://api.mydomain.com/apiv3/./" and "/^https://www.3rdparty.com/./".
SamplingRate float64
Add a Probabilistic sampling rate for heavy traffic sites in a decimal value based on percentage, for example, 10% would be entered as 0.1. Supports floating values between 0.0 and 1.0, defaults to 1.0 (all data is passed).
SelectedCountry string
Specify if you want to enrich spans with the details level up to the city - if left blank, enrichment works down to the state level.
serviceName This property is required. String
Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
applicationName String
(Recommended) Add an Application Name tag of a text string to show for the app name in spans (for example, bookings-app). This groups services in the Application Service View. If left blank, services will belong to a "default" application.
customTags Map<String,String>
Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
deploymentEnvironment String
Your production, staging, or development environment name.
ignoreUrls List<String>
Add a list of URLs not to collect trace data from. Supports regex. Make sure provided URLs are valid JavaScript flavor regexes. For example: "/^https://www.tracker.com/./, /^https://api.mydomain.com/log/./"
propagateTraceHeaderCorsUrls List<String>
(Recommended) Add a list of URLs or URL patterns that pass tracing context to construct traces end-to-end. Provided URLs should be valid JavaScript flavor regexes. Some examples are "/^https://api.mydomain.com/apiv3/./" and "/^https://www.3rdparty.com/./".
samplingRate Double
Add a Probabilistic sampling rate for heavy traffic sites in a decimal value based on percentage, for example, 10% would be entered as 0.1. Supports floating values between 0.0 and 1.0, defaults to 1.0 (all data is passed).
selectedCountry String
Specify if you want to enrich spans with the details level up to the city - if left blank, enrichment works down to the state level.
serviceName This property is required. string
Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
applicationName string
(Recommended) Add an Application Name tag of a text string to show for the app name in spans (for example, bookings-app). This groups services in the Application Service View. If left blank, services will belong to a "default" application.
customTags {[key: string]: string}
Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
deploymentEnvironment string
Your production, staging, or development environment name.
ignoreUrls string[]
Add a list of URLs not to collect trace data from. Supports regex. Make sure provided URLs are valid JavaScript flavor regexes. For example: "/^https://www.tracker.com/./, /^https://api.mydomain.com/log/./"
propagateTraceHeaderCorsUrls string[]
(Recommended) Add a list of URLs or URL patterns that pass tracing context to construct traces end-to-end. Provided URLs should be valid JavaScript flavor regexes. Some examples are "/^https://api.mydomain.com/apiv3/./" and "/^https://www.3rdparty.com/./".
samplingRate number
Add a Probabilistic sampling rate for heavy traffic sites in a decimal value based on percentage, for example, 10% would be entered as 0.1. Supports floating values between 0.0 and 1.0, defaults to 1.0 (all data is passed).
selectedCountry string
Specify if you want to enrich spans with the details level up to the city - if left blank, enrichment works down to the state level.
service_name This property is required. str
Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
application_name str
(Recommended) Add an Application Name tag of a text string to show for the app name in spans (for example, bookings-app). This groups services in the Application Service View. If left blank, services will belong to a "default" application.
custom_tags Mapping[str, str]
Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
deployment_environment str
Your production, staging, or development environment name.
ignore_urls Sequence[str]
Add a list of URLs not to collect trace data from. Supports regex. Make sure provided URLs are valid JavaScript flavor regexes. For example: "/^https://www.tracker.com/./, /^https://api.mydomain.com/log/./"
propagate_trace_header_cors_urls Sequence[str]
(Recommended) Add a list of URLs or URL patterns that pass tracing context to construct traces end-to-end. Provided URLs should be valid JavaScript flavor regexes. Some examples are "/^https://api.mydomain.com/apiv3/./" and "/^https://www.3rdparty.com/./".
sampling_rate float
Add a Probabilistic sampling rate for heavy traffic sites in a decimal value based on percentage, for example, 10% would be entered as 0.1. Supports floating values between 0.0 and 1.0, defaults to 1.0 (all data is passed).
selected_country str
Specify if you want to enrich spans with the details level up to the city - if left blank, enrichment works down to the state level.
serviceName This property is required. String
Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
applicationName String
(Recommended) Add an Application Name tag of a text string to show for the app name in spans (for example, bookings-app). This groups services in the Application Service View. If left blank, services will belong to a "default" application.
customTags Map<String>
Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
deploymentEnvironment String
Your production, staging, or development environment name.
ignoreUrls List<String>
Add a list of URLs not to collect trace data from. Supports regex. Make sure provided URLs are valid JavaScript flavor regexes. For example: "/^https://www.tracker.com/./, /^https://api.mydomain.com/log/./"
propagateTraceHeaderCorsUrls List<String>
(Recommended) Add a list of URLs or URL patterns that pass tracing context to construct traces end-to-end. Provided URLs should be valid JavaScript flavor regexes. Some examples are "/^https://api.mydomain.com/apiv3/./" and "/^https://www.3rdparty.com/./".
samplingRate Number
Add a Probabilistic sampling rate for heavy traffic sites in a decimal value based on percentage, for example, 10% would be entered as 0.1. Supports floating values between 0.0 and 1.0, defaults to 1.0 (all data is passed).
selectedCountry String
Specify if you want to enrich spans with the details level up to the city - if left blank, enrichment works down to the state level.

Import

Rum sources can be imported using the collector and source IDs, e.g.:

hcl

$ pulumi import sumologic:index/rumSource:RumSource test 123/456
Copy

Rum sources can also be imported using the collector name and source name, e.g.:

hcl

$ pulumi import sumologic:index/rumSource:RumSource test my-test-collector/my-test-source
Copy

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

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes
This Pulumi package is based on the sumologic Terraform Provider.