1. Packages
  2. Sumologic Provider
  3. API Docs
  4. RumSource
Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi

sumologic.RumSource

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi

    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",
        },
    });
    
    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",
        })
    
    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
    	})
    }
    
    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",
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args RumSourceArgs
    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 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 string
    The unique name of the resource.
    args RumSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RumSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
            },
        },
    });
    
    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"),
    		},
    	},
    })
    
    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());
    
    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",
        }])
    
    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",
        }],
    });
    
    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
    

    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:

    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)
    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:

    Supporting Types

    RumSourceDefaultDateFormat, RumSourceDefaultDateFormatArgs

    Format string
    Locator string
    Format string
    Locator string
    format String
    locator String
    format string
    locator string
    format String
    locator String

    RumSourceFilter, RumSourceFilterArgs

    FilterType string
    Name string
    Regexp string
    Mask string
    FilterType string
    Name string
    Regexp string
    Mask string
    filterType String
    name String
    regexp String
    mask String
    filterType string
    name string
    regexp string
    mask string
    filterType String
    name String
    regexp String
    mask String

    RumSourcePath, RumSourcePathArgs

    ServiceName 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 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 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 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 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 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
    

    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
    

    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.
    sumologic logo
    Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi