Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

GlobalHttpEventCollector

# Resource: splunk.GlobalHttpEventCollector

Update Global HTTP Event Collector input configuration.

Example Usage

using Pulumi;
using Splunk = Pulumi.Splunk;

class MyStack : Stack
{
    public MyStack()
    {
        var http = new Splunk.GlobalHttpEventCollector("http", new Splunk.GlobalHttpEventCollectorArgs
        {
            Disabled = false,
            EnableSsl = true,
            Port = 8088,
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-splunk/sdk/go/splunk"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := splunk.NewGlobalHttpEventCollector(ctx, "http", &splunk.GlobalHttpEventCollectorArgs{
            Disabled:  pulumi.Bool(false),
            EnableSsl: pulumi.Bool(true),
            Port:      pulumi.Int(8088),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_splunk as splunk

http = splunk.GlobalHttpEventCollector("http",
    disabled=False,
    enable_ssl=True,
    port=8088)
import * as pulumi from "@pulumi/pulumi";
import * as splunk from "@pulumi/splunk";

const http = new splunk.GlobalHttpEventCollector("http", {
    disabled: false,
    enableSsl: true,
    port: 8088,
});

Create a GlobalHttpEventCollector Resource

new GlobalHttpEventCollector(name: string, args?: GlobalHttpEventCollectorArgs, opts?: CustomResourceOptions);
def GlobalHttpEventCollector(resource_name: str, opts: Optional[ResourceOptions] = None, dedicated_io_threads: Optional[int] = None, disabled: Optional[bool] = None, enable_ssl: Optional[bool] = None, max_sockets: Optional[int] = None, max_threads: Optional[int] = None, port: Optional[int] = None, use_deployment_server: Optional[int] = None)
func NewGlobalHttpEventCollector(ctx *Context, name string, args *GlobalHttpEventCollectorArgs, opts ...ResourceOption) (*GlobalHttpEventCollector, error)
public GlobalHttpEventCollector(string name, GlobalHttpEventCollectorArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args GlobalHttpEventCollectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args GlobalHttpEventCollectorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GlobalHttpEventCollectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

GlobalHttpEventCollector Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The GlobalHttpEventCollector resource accepts the following input properties:

DedicatedIoThreads int

Number of threads used by HTTP Input server.

Disabled bool

Input disabled indicator.

EnableSsl bool

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

MaxSockets int

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

MaxThreads int

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

Port int

HTTP data input IP port.

UseDeploymentServer int

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

DedicatedIoThreads int

Number of threads used by HTTP Input server.

Disabled bool

Input disabled indicator.

EnableSsl bool

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

MaxSockets int

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

MaxThreads int

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

Port int

HTTP data input IP port.

UseDeploymentServer int

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

dedicatedIoThreads number

Number of threads used by HTTP Input server.

disabled boolean

Input disabled indicator.

enableSsl boolean

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

maxSockets number

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

maxThreads number

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

port number

HTTP data input IP port.

useDeploymentServer number

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

dedicated_io_threads int

Number of threads used by HTTP Input server.

disabled bool

Input disabled indicator.

enable_ssl bool

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

max_sockets int

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

max_threads int

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

port int

HTTP data input IP port.

use_deployment_server int

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

Outputs

All input properties are implicitly available as output properties. Additionally, the GlobalHttpEventCollector 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing GlobalHttpEventCollector Resource

Get an existing GlobalHttpEventCollector 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?: GlobalHttpEventCollectorState, opts?: CustomResourceOptions): GlobalHttpEventCollector
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, dedicated_io_threads: Optional[int] = None, disabled: Optional[bool] = None, enable_ssl: Optional[bool] = None, max_sockets: Optional[int] = None, max_threads: Optional[int] = None, port: Optional[int] = None, use_deployment_server: Optional[int] = None) -> GlobalHttpEventCollector
func GetGlobalHttpEventCollector(ctx *Context, name string, id IDInput, state *GlobalHttpEventCollectorState, opts ...ResourceOption) (*GlobalHttpEventCollector, error)
public static GlobalHttpEventCollector Get(string name, Input<string> id, GlobalHttpEventCollectorState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

DedicatedIoThreads int

Number of threads used by HTTP Input server.

Disabled bool

Input disabled indicator.

EnableSsl bool

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

MaxSockets int

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

MaxThreads int

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

Port int

HTTP data input IP port.

UseDeploymentServer int

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

DedicatedIoThreads int

Number of threads used by HTTP Input server.

Disabled bool

Input disabled indicator.

EnableSsl bool

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

MaxSockets int

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

MaxThreads int

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

Port int

HTTP data input IP port.

UseDeploymentServer int

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

dedicatedIoThreads number

Number of threads used by HTTP Input server.

disabled boolean

Input disabled indicator.

enableSsl boolean

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

maxSockets number

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

maxThreads number

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

port number

HTTP data input IP port.

useDeploymentServer number

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

dedicated_io_threads int

Number of threads used by HTTP Input server.

disabled bool

Input disabled indicator.

enable_ssl bool

Enable SSL protocol for HTTP data input. true = SSL enabled, false = SSL disabled.

max_sockets int

Maximum number of simultaneous HTTP connections accepted. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

max_threads int

Maximum number of threads that can be used by active HTTP transactions. Adjusting this value may cause server performance issues and is not generally recommended. Possible values for this setting vary by OS.

port int

HTTP data input IP port.

use_deployment_server int

Indicates whether the event collector input writes its configuration to a deployment server repository. When this setting is set to 1 (enabled), the input writes its configuration to the directory specified as repositoryLocation in serverclass.conf. Copy the full contents of the splunk_httpinput app directory to this directory for the configuration to work. When enabled, only the tokens defined in the splunk_httpinput app in this repository are viewable and editable on the API and the Data Inputs page in Splunk Web. When disabled, the input writes its configuration to $SPLUNK_HOME/etc/apps by default. Defaults to 0 (disabled).

Package Details

Repository
https://github.com/pulumi/pulumi-splunk
License
Apache-2.0
Notes
This Pulumi package is based on the splunk Terraform Provider.