sumologic logo
Sumo Logic v0.14.0, May 25 23

sumologic.CseInsightsConfiguration

Explore with Pulumi AI

Provides the Sumologic CSE Insights Configuration for the whole organization. There can be only one configuration per organization.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var insightsConfiguration = new SumoLogic.CseInsightsConfiguration("insightsConfiguration", new()
    {
        LookbackDays = 13,
        Threshold = 12,
    });

});
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 {
		_, err := sumologic.NewCseInsightsConfiguration(ctx, "insightsConfiguration", &sumologic.CseInsightsConfigurationArgs{
			LookbackDays: pulumi.Float64(13),
			Threshold:    pulumi.Float64(12),
		})
		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.CseInsightsConfiguration;
import com.pulumi.sumologic.CseInsightsConfigurationArgs;
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 insightsConfiguration = new CseInsightsConfiguration("insightsConfiguration", CseInsightsConfigurationArgs.builder()        
            .lookbackDays(13)
            .threshold(12)
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

insights_configuration = sumologic.CseInsightsConfiguration("insightsConfiguration",
    lookback_days=13,
    threshold=12)
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const insightsConfiguration = new sumologic.CseInsightsConfiguration("insightsConfiguration", {
    lookbackDays: 13,
    threshold: 12,
});
resources:
  insightsConfiguration:
    type: sumologic:CseInsightsConfiguration
    properties:
      lookbackDays: 13
      threshold: 12

Create CseInsightsConfiguration Resource

new CseInsightsConfiguration(name: string, args?: CseInsightsConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CseInsightsConfiguration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             lookback_days: Optional[float] = None,
                             threshold: Optional[float] = None)
@overload
def CseInsightsConfiguration(resource_name: str,
                             args: Optional[CseInsightsConfigurationArgs] = None,
                             opts: Optional[ResourceOptions] = None)
func NewCseInsightsConfiguration(ctx *Context, name string, args *CseInsightsConfigurationArgs, opts ...ResourceOption) (*CseInsightsConfiguration, error)
public CseInsightsConfiguration(string name, CseInsightsConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public CseInsightsConfiguration(String name, CseInsightsConfigurationArgs args)
public CseInsightsConfiguration(String name, CseInsightsConfigurationArgs args, CustomResourceOptions options)
type: sumologic:CseInsightsConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

LookbackDays double

Detection window expressed in days.

Threshold double

Detection threshold activity score.

The following attributes are exported:

LookbackDays float64

Detection window expressed in days.

Threshold float64

Detection threshold activity score.

The following attributes are exported:

lookbackDays Double

Detection window expressed in days.

threshold Double

Detection threshold activity score.

The following attributes are exported:

lookbackDays number

Detection window expressed in days.

threshold number

Detection threshold activity score.

The following attributes are exported:

lookback_days float

Detection window expressed in days.

threshold float

Detection threshold activity score.

The following attributes are exported:

lookbackDays Number

Detection window expressed in days.

threshold Number

Detection threshold activity score.

The following attributes are exported:

Outputs

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

Get an existing CseInsightsConfiguration 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?: CseInsightsConfigurationState, opts?: CustomResourceOptions): CseInsightsConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        lookback_days: Optional[float] = None,
        threshold: Optional[float] = None) -> CseInsightsConfiguration
func GetCseInsightsConfiguration(ctx *Context, name string, id IDInput, state *CseInsightsConfigurationState, opts ...ResourceOption) (*CseInsightsConfiguration, error)
public static CseInsightsConfiguration Get(string name, Input<string> id, CseInsightsConfigurationState? state, CustomResourceOptions? opts = null)
public static CseInsightsConfiguration get(String name, Output<String> id, CseInsightsConfigurationState 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:
LookbackDays double

Detection window expressed in days.

Threshold double

Detection threshold activity score.

The following attributes are exported:

LookbackDays float64

Detection window expressed in days.

Threshold float64

Detection threshold activity score.

The following attributes are exported:

lookbackDays Double

Detection window expressed in days.

threshold Double

Detection threshold activity score.

The following attributes are exported:

lookbackDays number

Detection window expressed in days.

threshold number

Detection threshold activity score.

The following attributes are exported:

lookback_days float

Detection window expressed in days.

threshold float

Detection threshold activity score.

The following attributes are exported:

lookbackDays Number

Detection window expressed in days.

threshold Number

Detection threshold activity score.

The following attributes are exported:

Import

Insights Configuration can be imported using the id cse-insights-configurationhcl

 $ pulumi import sumologic:index/cseInsightsConfiguration:CseInsightsConfiguration insights_configuration cse-insights-configuration

Package Details

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

This Pulumi package is based on the sumologic Terraform Provider.