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={
"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
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",
},
},
});
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:
- Collector
Id This property is required. Changes to this property will trigger replacement.
- Automatic
Date boolParsing - Category string
- Content
Type string - Cutoff
Relative Time Changes to this property will trigger replacement.
- 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 - Hash
Algorithm string - 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 This property is required. Changes to this property will trigger replacement.
- Automatic
Date boolParsing - Category string
- Content
Type string - Cutoff
Relative Time Changes to this property will trigger replacement.
- 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 - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Rum
Source Path Args - Timezone string
- Use
Autoline boolMatching
- collector
Id This property is required. Changes to this property will trigger replacement.
- automatic
Date BooleanParsing - category String
- content
Type String - cutoff
Relative Time Changes to this property will trigger replacement.
- 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 - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path
Rum
Source Path - timezone String
- use
Autoline BooleanMatching
- collector
Id This property is required. Changes to this property will trigger replacement.
- automatic
Date booleanParsing - category string
- content
Type string - cutoff
Relative Time Changes to this property will trigger replacement.
- cutoff
Timestamp number - default
Date RumFormats Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Rum
Source Filter[] - force
Timezone boolean - hash
Algorithm string - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- path
Rum
Source Path - timezone string
- use
Autoline booleanMatching
- collector_
id This property is required. Changes to this property will trigger replacement.
- automatic_
date_ boolparsing - category str
- content_
type str - cutoff_
relative_ time Changes to this property will trigger replacement.
- 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 - hash_
algorithm str - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- path
Rum
Source Path Args - timezone str
- use_
autoline_ boolmatching
- collector
Id This property is required. Changes to this property will trigger replacement.
- automatic
Date BooleanParsing - category String
- content
Type String - cutoff
Relative Time Changes to this property will trigger replacement.
- cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - hash
Algorithm String - 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,
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.
- Automatic
Date boolParsing - Category string
- Collector
Id Changes to this property will trigger replacement.
- Content
Type string - Cutoff
Relative Time Changes to this property will trigger replacement.
- 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 - Hash
Algorithm string - 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 Changes to this property will trigger replacement.
- Content
Type string - Cutoff
Relative Time Changes to this property will trigger replacement.
- 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 - Hash
Algorithm string - 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 Changes to this property will trigger replacement.
- content
Type String - cutoff
Relative Time Changes to this property will trigger replacement.
- 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 - hash
Algorithm String - 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 Changes to this property will trigger replacement.
- content
Type string - cutoff
Relative Time Changes to this property will trigger replacement.
- cutoff
Timestamp number - default
Date RumFormats Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Rum
Source Filter[] - force
Timezone boolean - hash
Algorithm string - 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 Changes to this property will trigger replacement.
- content_
type str - cutoff_
relative_ time Changes to this property will trigger replacement.
- 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 - hash_
algorithm str - 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 Changes to this property will trigger replacement.
- content
Type String - cutoff
Relative Time Changes to this property will trigger replacement.
- cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - hash
Algorithm String - 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 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. string - Name
This property is required. string - Regexp
This property is required. string - Mask string
- filter
Type 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. 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
- filter
Type This property is required. String - name
This property is required. String - regexp
This property is required. String - mask String
RumSourcePath, RumSourcePathArgs
- Service
Name 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").
- 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 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").
- 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 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").
- 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 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").
- 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 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.
- 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 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").
- 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.