sumologic logo
Sumo Logic v0.11.0, Jan 18 23

sumologic.HttpSource

Provides a Sumologic HTTP source, Sumologic HTTP Traces source, Sumologic Kinesis Log source, [Sumologic HTTP_OTLP_source][4] and Sumologic RUM source. To start using Traces contact your Sumo account representative to activate.

IMPORTANT: The endpoint is stored in plain-text in the state. This is a potential security issue.

Example Usage

using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var collector = new SumoLogic.Collector("collector", new()
    {
        Description = "Just testing this",
    });

    var httpSource = new SumoLogic.HttpSource("httpSource", new()
    {
        Category = "my/source/category",
        CollectorId = collector.Id,
        Description = "My description",
        Filters = new[]
        {
            new SumoLogic.Inputs.HttpSourceFilterArgs
            {
                FilterType = "Exclude",
                Name = "Test Exclude Debug",
                Regexp = ".*DEBUG.*",
            },
        },
    });

    var httpTracesSource = new SumoLogic.HttpSource("httpTracesSource", new()
    {
        Category = "my/source/category",
        CollectorId = collector.Id,
        ContentType = "Zipkin",
        Description = "My description",
    });

    var kinesisLog = new SumoLogic.HttpSource("kinesisLog", new()
    {
        Category = "demo-category",
        CollectorId = sumologic_collector.Test.Id,
        ContentType = "KinesisLog",
        Description = "demo-desc",
    });

    var httpOtlpSource = new SumoLogic.HttpSource("httpOtlpSource", new()
    {
        Category = "my/source/category",
        CollectorId = sumologic_collector.Test.Id,
        ContentType = "Otlp",
        Description = "My description",
    });

});
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{
			Description: pulumi.String("Just testing this"),
		})
		if err != nil {
			return err
		}
		_, err = sumologic.NewHttpSource(ctx, "httpSource", &sumologic.HttpSourceArgs{
			Category:    pulumi.String("my/source/category"),
			CollectorId: collector.ID(),
			Description: pulumi.String("My description"),
			Filters: sumologic.HttpSourceFilterArray{
				&sumologic.HttpSourceFilterArgs{
					FilterType: pulumi.String("Exclude"),
					Name:       pulumi.String("Test Exclude Debug"),
					Regexp:     pulumi.String(".*DEBUG.*"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = sumologic.NewHttpSource(ctx, "httpTracesSource", &sumologic.HttpSourceArgs{
			Category:    pulumi.String("my/source/category"),
			CollectorId: collector.ID(),
			ContentType: pulumi.String("Zipkin"),
			Description: pulumi.String("My description"),
		})
		if err != nil {
			return err
		}
		_, err = sumologic.NewHttpSource(ctx, "kinesisLog", &sumologic.HttpSourceArgs{
			Category:    pulumi.String("demo-category"),
			CollectorId: pulumi.Any(sumologic_collector.Test.Id),
			ContentType: pulumi.String("KinesisLog"),
			Description: pulumi.String("demo-desc"),
		})
		if err != nil {
			return err
		}
		_, err = sumologic.NewHttpSource(ctx, "httpOtlpSource", &sumologic.HttpSourceArgs{
			Category:    pulumi.String("my/source/category"),
			CollectorId: pulumi.Any(sumologic_collector.Test.Id),
			ContentType: pulumi.String("Otlp"),
			Description: pulumi.String("My description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Collector;
import com.pulumi.sumologic.CollectorArgs;
import com.pulumi.sumologic.HttpSource;
import com.pulumi.sumologic.HttpSourceArgs;
import com.pulumi.sumologic.inputs.HttpSourceFilterArgs;
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()        
            .description("Just testing this")
            .build());

        var httpSource = new HttpSource("httpSource", HttpSourceArgs.builder()        
            .category("my/source/category")
            .collectorId(collector.id())
            .description("My description")
            .filters(HttpSourceFilterArgs.builder()
                .filterType("Exclude")
                .name("Test Exclude Debug")
                .regexp(".*DEBUG.*")
                .build())
            .build());

        var httpTracesSource = new HttpSource("httpTracesSource", HttpSourceArgs.builder()        
            .category("my/source/category")
            .collectorId(collector.id())
            .contentType("Zipkin")
            .description("My description")
            .build());

        var kinesisLog = new HttpSource("kinesisLog", HttpSourceArgs.builder()        
            .category("demo-category")
            .collectorId(sumologic_collector.test().id())
            .contentType("KinesisLog")
            .description("demo-desc")
            .build());

        var httpOtlpSource = new HttpSource("httpOtlpSource", HttpSourceArgs.builder()        
            .category("my/source/category")
            .collectorId(sumologic_collector.test().id())
            .contentType("Otlp")
            .description("My description")
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

collector = sumologic.Collector("collector", description="Just testing this")
http_source = sumologic.HttpSource("httpSource",
    category="my/source/category",
    collector_id=collector.id,
    description="My description",
    filters=[sumologic.HttpSourceFilterArgs(
        filter_type="Exclude",
        name="Test Exclude Debug",
        regexp=".*DEBUG.*",
    )])
http_traces_source = sumologic.HttpSource("httpTracesSource",
    category="my/source/category",
    collector_id=collector.id,
    content_type="Zipkin",
    description="My description")
kinesis_log = sumologic.HttpSource("kinesisLog",
    category="demo-category",
    collector_id=sumologic_collector["test"]["id"],
    content_type="KinesisLog",
    description="demo-desc")
http_otlp_source = sumologic.HttpSource("httpOtlpSource",
    category="my/source/category",
    collector_id=sumologic_collector["test"]["id"],
    content_type="Otlp",
    description="My description")
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const collector = new sumologic.Collector("collector", {description: "Just testing this"});
const httpSource = new sumologic.HttpSource("httpSource", {
    category: "my/source/category",
    collectorId: collector.id,
    description: "My description",
    filters: [{
        filterType: "Exclude",
        name: "Test Exclude Debug",
        regexp: ".*DEBUG.*",
    }],
});
const httpTracesSource = new sumologic.HttpSource("httpTracesSource", {
    category: "my/source/category",
    collectorId: collector.id,
    contentType: "Zipkin",
    description: "My description",
});
const kinesisLog = new sumologic.HttpSource("kinesisLog", {
    category: "demo-category",
    collectorId: sumologic_collector.test.id,
    contentType: "KinesisLog",
    description: "demo-desc",
});
const httpOtlpSource = new sumologic.HttpSource("httpOtlpSource", {
    category: "my/source/category",
    collectorId: sumologic_collector.test.id,
    contentType: "Otlp",
    description: "My description",
});
resources:
  httpSource:
    type: sumologic:HttpSource
    properties:
      category: my/source/category
      collectorId: ${collector.id}
      description: My description
      filters:
        - filterType: Exclude
          name: Test Exclude Debug
          regexp: .*DEBUG.*
  httpTracesSource:
    type: sumologic:HttpSource
    properties:
      category: my/source/category
      collectorId: ${collector.id}
      contentType: Zipkin
      description: My description
  kinesisLog:
    type: sumologic:HttpSource
    properties:
      category: demo-category
      collectorId: ${sumologic_collector.test.id}
      contentType: KinesisLog
      description: demo-desc
  httpOtlpSource:
    type: sumologic:HttpSource
    properties:
      category: my/source/category
      collectorId: ${sumologic_collector.test.id}
      contentType: Otlp
      description: My description
  collector:
    type: sumologic:Collector
    properties:
      description: Just testing this

Create HttpSource Resource

new HttpSource(name: string, args: HttpSourceArgs, opts?: CustomResourceOptions);
@overload
def HttpSource(resource_name: 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[HttpSourceDefaultDateFormatArgs]] = None,
               description: Optional[str] = None,
               fields: Optional[Mapping[str, str]] = None,
               filters: Optional[Sequence[HttpSourceFilterArgs]] = None,
               force_timezone: Optional[bool] = None,
               host_name: Optional[str] = None,
               manual_prefix_regexp: Optional[str] = None,
               message_per_request: Optional[bool] = None,
               multiline_processing_enabled: Optional[bool] = None,
               name: Optional[str] = None,
               timezone: Optional[str] = None,
               use_autoline_matching: Optional[bool] = None)
@overload
def HttpSource(resource_name: str,
               args: HttpSourceArgs,
               opts: Optional[ResourceOptions] = None)
func NewHttpSource(ctx *Context, name string, args HttpSourceArgs, opts ...ResourceOption) (*HttpSource, error)
public HttpSource(string name, HttpSourceArgs args, CustomResourceOptions? opts = null)
public HttpSource(String name, HttpSourceArgs args)
public HttpSource(String name, HttpSourceArgs args, CustomResourceOptions options)
type: sumologic:HttpSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

CollectorId int
AutomaticDateParsing bool
Category string
ContentType string

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
CutoffRelativeTime string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.HttpSourceDefaultDateFormatArgs>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.HttpSourceFilterArgs>
ForceTimezone bool
HostName string
ManualPrefixRegexp string
MessagePerRequest bool

When set to true, will create one log message per HTTP request.

MultilineProcessingEnabled bool
Name string
Timezone string
UseAutolineMatching bool
CollectorId int
AutomaticDateParsing bool
Category string
ContentType string

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
CutoffRelativeTime string
CutoffTimestamp int
DefaultDateFormats []HttpSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []HttpSourceFilterArgs
ForceTimezone bool
HostName string
ManualPrefixRegexp string
MessagePerRequest bool

When set to true, will create one log message per HTTP request.

MultilineProcessingEnabled bool
Name string
Timezone string
UseAutolineMatching bool
collectorId Integer
automaticDateParsing Boolean
category String
contentType String

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoffRelativeTime String
cutoffTimestamp Integer
defaultDateFormats List<HttpSourceDefaultDateFormatArgs>
description String
fields Map<String,String>
filters List<HttpSourceFilterArgs>
forceTimezone Boolean
hostName String
manualPrefixRegexp String
messagePerRequest Boolean

When set to true, will create one log message per HTTP request.

multilineProcessingEnabled Boolean
name String
timezone String
useAutolineMatching Boolean
collectorId number
automaticDateParsing boolean
category string
contentType string

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoffRelativeTime string
cutoffTimestamp number
defaultDateFormats HttpSourceDefaultDateFormatArgs[]
description string
fields {[key: string]: string}
filters HttpSourceFilterArgs[]
forceTimezone boolean
hostName string
manualPrefixRegexp string
messagePerRequest boolean

When set to true, will create one log message per HTTP request.

multilineProcessingEnabled boolean
name string
timezone string
useAutolineMatching boolean
collector_id int
automatic_date_parsing bool
category str
content_type str

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoff_relative_time str
cutoff_timestamp int
default_date_formats Sequence[HttpSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[HttpSourceFilterArgs]
force_timezone bool
host_name str
manual_prefix_regexp str
message_per_request bool

When set to true, will create one log message per HTTP request.

multiline_processing_enabled bool
name str
timezone str
use_autoline_matching bool
collectorId Number
automaticDateParsing Boolean
category String
contentType String

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoffRelativeTime String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hostName String
manualPrefixRegexp String
messagePerRequest Boolean

When set to true, will create one log message per HTTP request.

multilineProcessingEnabled Boolean
name String
timezone String
useAutolineMatching Boolean

Outputs

All input properties are implicitly available as output properties. Additionally, the HttpSource resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Url string

The HTTP endpoint to use for sending data to this source.

Id string

The provider-assigned unique ID for this managed resource.

Url string

The HTTP endpoint to use for sending data to this source.

id String

The provider-assigned unique ID for this managed resource.

url String

The HTTP endpoint to use for sending data to this source.

id string

The provider-assigned unique ID for this managed resource.

url string

The HTTP endpoint to use for sending data to this source.

id str

The provider-assigned unique ID for this managed resource.

url str

The HTTP endpoint to use for sending data to this source.

id String

The provider-assigned unique ID for this managed resource.

url String

The HTTP endpoint to use for sending data to this source.

Look up Existing HttpSource Resource

Get an existing HttpSource 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?: HttpSourceState, opts?: CustomResourceOptions): HttpSource
@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[HttpSourceDefaultDateFormatArgs]] = None,
        description: Optional[str] = None,
        fields: Optional[Mapping[str, str]] = None,
        filters: Optional[Sequence[HttpSourceFilterArgs]] = None,
        force_timezone: Optional[bool] = None,
        host_name: Optional[str] = None,
        manual_prefix_regexp: Optional[str] = None,
        message_per_request: Optional[bool] = None,
        multiline_processing_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        timezone: Optional[str] = None,
        url: Optional[str] = None,
        use_autoline_matching: Optional[bool] = None) -> HttpSource
func GetHttpSource(ctx *Context, name string, id IDInput, state *HttpSourceState, opts ...ResourceOption) (*HttpSource, error)
public static HttpSource Get(string name, Input<string> id, HttpSourceState? state, CustomResourceOptions? opts = null)
public static HttpSource get(String name, Output<String> id, HttpSourceState 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:
AutomaticDateParsing bool
Category string
CollectorId int
ContentType string

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
CutoffRelativeTime string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.HttpSourceDefaultDateFormatArgs>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.HttpSourceFilterArgs>
ForceTimezone bool
HostName string
ManualPrefixRegexp string
MessagePerRequest bool

When set to true, will create one log message per HTTP request.

MultilineProcessingEnabled bool
Name string
Timezone string
Url string

The HTTP endpoint to use for sending data to this source.

UseAutolineMatching bool
AutomaticDateParsing bool
Category string
CollectorId int
ContentType string

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
CutoffRelativeTime string
CutoffTimestamp int
DefaultDateFormats []HttpSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []HttpSourceFilterArgs
ForceTimezone bool
HostName string
ManualPrefixRegexp string
MessagePerRequest bool

When set to true, will create one log message per HTTP request.

MultilineProcessingEnabled bool
Name string
Timezone string
Url string

The HTTP endpoint to use for sending data to this source.

UseAutolineMatching bool
automaticDateParsing Boolean
category String
collectorId Integer
contentType String

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoffRelativeTime String
cutoffTimestamp Integer
defaultDateFormats List<HttpSourceDefaultDateFormatArgs>
description String
fields Map<String,String>
filters List<HttpSourceFilterArgs>
forceTimezone Boolean
hostName String
manualPrefixRegexp String
messagePerRequest Boolean

When set to true, will create one log message per HTTP request.

multilineProcessingEnabled Boolean
name String
timezone String
url String

The HTTP endpoint to use for sending data to this source.

useAutolineMatching Boolean
automaticDateParsing boolean
category string
collectorId number
contentType string

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoffRelativeTime string
cutoffTimestamp number
defaultDateFormats HttpSourceDefaultDateFormatArgs[]
description string
fields {[key: string]: string}
filters HttpSourceFilterArgs[]
forceTimezone boolean
hostName string
manualPrefixRegexp string
messagePerRequest boolean

When set to true, will create one log message per HTTP request.

multilineProcessingEnabled boolean
name string
timezone string
url string

The HTTP endpoint to use for sending data to this source.

useAutolineMatching boolean
automatic_date_parsing bool
category str
collector_id int
content_type str

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoff_relative_time str
cutoff_timestamp int
default_date_formats Sequence[HttpSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[HttpSourceFilterArgs]
force_timezone bool
host_name str
manual_prefix_regexp str
message_per_request bool

When set to true, will create one log message per HTTP request.

multiline_processing_enabled bool
name str
timezone str
url str

The HTTP endpoint to use for sending data to this source.

use_autoline_matching bool
automaticDateParsing Boolean
category String
collectorId Number
contentType String

This should only be used when creating a Traces, Kinesis Log, HTTP OTLP or a RUM source.

  • When configuring a HTTP Traces Source, set this property to Zipkin.
  • When configuring a Kinesis Logs Source, set this property to KinesisLog.
  • When configuring a HTTP OTLP Source, set this property to Otlp.
  • When configuring a RUM Source, set this property to Rum.
cutoffRelativeTime String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hostName String
manualPrefixRegexp String
messagePerRequest Boolean

When set to true, will create one log message per HTTP request.

multilineProcessingEnabled Boolean
name String
timezone String
url String

The HTTP endpoint to use for sending data to this source.

useAutolineMatching Boolean

Supporting Types

HttpSourceDefaultDateFormat

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

HttpSourceFilter

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

Import

HTTP sources can be imported using the collector and source IDs (collector/source), e.g.hcl

 $ pulumi import sumologic:index/httpSource:HttpSource test 123/456

HTTP sources can be imported using the collector name and source name (collectorName/sourceName), e.g.hcl

 $ pulumi import sumologic:index/httpSource:HttpSource test my-test-collector/my-test-source

[1]https://help.sumologic.com/docs/send-data/hosted-collectors/http-source/logs-metrics [2]https://help.sumologic.com/docs/apm/traces/get-started-transaction-tracing/http-traces-source/ [3]https://help.sumologic.com/docs/send-data/hosted-collectors/amazon-aws/aws-kinesis-firehose-logs-source/ [4]https://help.sumologic.com/docs/send-data/hosted-collectors/http-source/otlp/ [5]https://help.sumologic.com/docs/apm/real-user-monitoring/#step-1-create-a-rum-http-traces-source

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.