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",
},
});
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=sumologic.RumSourcePathArgs(
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,
cutoff_timestamp: Optional[int] = None,
filters: Optional[Sequence[RumSourceFilterArgs]] = None,
cutoff_relative_time: Optional[str] = None,
force_timezone: Optional[bool] = None,
default_date_formats: Optional[Sequence[RumSourceDefaultDateFormatArgs]] = None,
description: Optional[str] = None,
host_name: Optional[str] = None,
content_type: Optional[str] = None,
category: Optional[str] = None,
automatic_date_parsing: Optional[bool] = 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)
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" },
},
CutoffTimestamp = 0,
Filters = new[]
{
new SumoLogic.Inputs.RumSourceFilterArgs
{
FilterType = "string",
Name = "string",
Regexp = "string",
Mask = "string",
},
},
CutoffRelativeTime = "string",
ForceTimezone = false,
DefaultDateFormats = new[]
{
new SumoLogic.Inputs.RumSourceDefaultDateFormatArgs
{
Format = "string",
Locator = "string",
},
},
Description = "string",
HostName = "string",
ContentType = "string",
Category = "string",
AutomaticDateParsing = false,
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",
UseAutolineMatching = false,
});
example, err := sumologic.NewRumSource(ctx, "rumSourceResource", &sumologic.RumSourceArgs{
CollectorId: pulumi.Int(0),
Fields: pulumi.StringMap{
"string": pulumi.String("string"),
},
CutoffTimestamp: pulumi.Int(0),
Filters: sumologic.RumSourceFilterArray{
&sumologic.RumSourceFilterArgs{
FilterType: pulumi.String("string"),
Name: pulumi.String("string"),
Regexp: pulumi.String("string"),
Mask: pulumi.String("string"),
},
},
CutoffRelativeTime: pulumi.String("string"),
ForceTimezone: pulumi.Bool(false),
DefaultDateFormats: sumologic.RumSourceDefaultDateFormatArray{
&sumologic.RumSourceDefaultDateFormatArgs{
Format: pulumi.String("string"),
Locator: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
HostName: pulumi.String("string"),
ContentType: pulumi.String("string"),
Category: pulumi.String("string"),
AutomaticDateParsing: pulumi.Bool(false),
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"),
UseAutolineMatching: pulumi.Bool(false),
})
var rumSourceResource = new RumSource("rumSourceResource", RumSourceArgs.builder()
.collectorId(0)
.fields(Map.of("string", "string"))
.cutoffTimestamp(0)
.filters(RumSourceFilterArgs.builder()
.filterType("string")
.name("string")
.regexp("string")
.mask("string")
.build())
.cutoffRelativeTime("string")
.forceTimezone(false)
.defaultDateFormats(RumSourceDefaultDateFormatArgs.builder()
.format("string")
.locator("string")
.build())
.description("string")
.hostName("string")
.contentType("string")
.category("string")
.automaticDateParsing(false)
.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")
.useAutolineMatching(false)
.build());
rum_source_resource = sumologic.RumSource("rumSourceResource",
collector_id=0,
fields={
"string": "string",
},
cutoff_timestamp=0,
filters=[sumologic.RumSourceFilterArgs(
filter_type="string",
name="string",
regexp="string",
mask="string",
)],
cutoff_relative_time="string",
force_timezone=False,
default_date_formats=[sumologic.RumSourceDefaultDateFormatArgs(
format="string",
locator="string",
)],
description="string",
host_name="string",
content_type="string",
category="string",
automatic_date_parsing=False,
manual_prefix_regexp="string",
multiline_processing_enabled=False,
name="string",
path=sumologic.RumSourcePathArgs(
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",
use_autoline_matching=False)
const rumSourceResource = new sumologic.RumSource("rumSourceResource", {
collectorId: 0,
fields: {
string: "string",
},
cutoffTimestamp: 0,
filters: [{
filterType: "string",
name: "string",
regexp: "string",
mask: "string",
}],
cutoffRelativeTime: "string",
forceTimezone: false,
defaultDateFormats: [{
format: "string",
locator: "string",
}],
description: "string",
hostName: "string",
contentType: "string",
category: "string",
automaticDateParsing: false,
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",
useAutolineMatching: false,
});
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
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
The RumSource resource accepts the following input properties:
- Collector
Id int - Automatic
Date boolParsing - Category string
- Content
Type string - Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. Rum Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. Rum Source Filter> - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Pulumi.
Sumo Logic. Inputs. Rum Source Path - Timezone string
- Use
Autoline boolMatching
- Collector
Id int - Automatic
Date boolParsing - Category string
- Content
Type string - Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []RumFormats Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Rum
Source Filter Args - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Rum
Source Path Args - Timezone string
- Use
Autoline boolMatching
- collector
Id Integer - automatic
Date BooleanParsing - category String
- content
Type String - cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<RumFormats Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Rum
Source Filter> - force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path
Rum
Source Path - timezone String
- use
Autoline BooleanMatching
- collector
Id number - automatic
Date booleanParsing - category string
- content
Type string - cutoff
Relative stringTime - cutoff
Timestamp number - default
Date RumFormats Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Rum
Source Filter[] - force
Timezone boolean - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- path
Rum
Source Path - timezone string
- use
Autoline booleanMatching
- collector_
id int - automatic_
date_ boolparsing - category str
- content_
type str - cutoff_
relative_ strtime - cutoff_
timestamp int - default_
date_ Sequence[Rumformats Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Rum
Source Filter Args] - force_
timezone bool - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- path
Rum
Source Path Args - timezone str
- use_
autoline_ boolmatching
- collector
Id Number - automatic
Date BooleanParsing - category String
- content
Type String - cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path Property Map
- timezone String
- use
Autoline BooleanMatching
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,
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.
- Automatic
Date boolParsing - Category string
- Collector
Id int - Content
Type string - Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. Rum Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. Rum Source Filter> - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Pulumi.
Sumo Logic. Inputs. Rum Source Path - Timezone string
- Use
Autoline boolMatching
- Automatic
Date boolParsing - Category string
- Collector
Id int - Content
Type string - Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []RumFormats Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Rum
Source Filter Args - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Rum
Source Path Args - Timezone string
- Use
Autoline boolMatching
- automatic
Date BooleanParsing - category String
- collector
Id Integer - content
Type String - cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<RumFormats Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Rum
Source Filter> - force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path
Rum
Source Path - timezone String
- use
Autoline BooleanMatching
- automatic
Date booleanParsing - category string
- collector
Id number - content
Type string - cutoff
Relative stringTime - cutoff
Timestamp number - default
Date RumFormats Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Rum
Source Filter[] - force
Timezone boolean - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- path
Rum
Source Path - timezone string
- use
Autoline booleanMatching
- automatic_
date_ boolparsing - category str
- collector_
id int - content_
type str - cutoff_
relative_ strtime - cutoff_
timestamp int - default_
date_ Sequence[Rumformats Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Rum
Source Filter Args] - force_
timezone bool - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- path
Rum
Source Path Args - timezone str
- use_
autoline_ boolmatching
- automatic
Date BooleanParsing - category String
- collector
Id Number - content
Type String - cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path Property Map
- timezone String
- use
Autoline BooleanMatching
Supporting Types
RumSourceDefaultDateFormat, RumSourceDefaultDateFormatArgs
RumSourceFilter, RumSourceFilterArgs
- Filter
Type string - Name string
- Regexp string
- Mask string
- Filter
Type string - Name string
- Regexp string
- Mask string
- filter
Type String - name String
- regexp String
- mask String
- filter
Type string - name string
- regexp string
- mask string
- filter_
type str - name str
- regexp str
- mask str
- filter
Type String - name String
- regexp String
- mask String
RumSourcePath, RumSourcePathArgs
- Service
Name string - Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
- Application
Name 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.
- Dictionary<string, string>
- Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
- Deployment
Environment string - Your production, staging, or development environment name.
- Ignore
Urls 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/./"
- Propagate
Trace List<string>Header Cors Urls - (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 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).
- Selected
Country 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 string - Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
- Application
Name 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.
- map[string]string
- Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
- Deployment
Environment string - Your production, staging, or development environment name.
- Ignore
Urls []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/./"
- Propagate
Trace []stringHeader Cors Urls - (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 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).
- Selected
Country 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 String - Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
- application
Name 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.
- Map<String,String>
- Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
- deployment
Environment String - Your production, staging, or development environment name.
- ignore
Urls 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/./"
- propagate
Trace List<String>Header Cors Urls - (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 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).
- selected
Country 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 string - Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
- application
Name 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.
- {[key: string]: string}
- Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
- deployment
Environment string - Your production, staging, or development environment name.
- ignore
Urls 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/./"
- propagate
Trace string[]Header Cors Urls - (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 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).
- selected
Country 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.
- 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_ Sequence[str]header_ cors_ urls - (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.
- service
Name String - Add a Service Name of a text string to show for the service name in spans (for example, "bookings-web-app").
- application
Name 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.
- Map<String>
- Defines custom tags attached to the spans. For example: "internal.version = 0.1.21"
- deployment
Environment String - Your production, staging, or development environment name.
- ignore
Urls 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/./"
- propagate
Trace List<String>Header Cors Urls - (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 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).
- selected
Country 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.