1. Packages
  2. Akeyless Provider
  3. API Docs
  4. GatewayLogForwardingSplunk
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.GatewayLogForwardingSplunk

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    Log Forwarding config for splunk

    Create GatewayLogForwardingSplunk Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GatewayLogForwardingSplunk(name: string, args?: GatewayLogForwardingSplunkArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayLogForwardingSplunk(resource_name: str,
                                   args: Optional[GatewayLogForwardingSplunkArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayLogForwardingSplunk(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   enable: Optional[str] = None,
                                   enable_tls: Optional[bool] = None,
                                   gateway_log_forwarding_splunk_id: Optional[str] = None,
                                   index: Optional[str] = None,
                                   output_format: Optional[str] = None,
                                   pull_interval: Optional[str] = None,
                                   source: Optional[str] = None,
                                   source_type: Optional[str] = None,
                                   splunk_token: Optional[str] = None,
                                   splunk_url: Optional[str] = None,
                                   tls_certificate: Optional[str] = None)
    func NewGatewayLogForwardingSplunk(ctx *Context, name string, args *GatewayLogForwardingSplunkArgs, opts ...ResourceOption) (*GatewayLogForwardingSplunk, error)
    public GatewayLogForwardingSplunk(string name, GatewayLogForwardingSplunkArgs? args = null, CustomResourceOptions? opts = null)
    public GatewayLogForwardingSplunk(String name, GatewayLogForwardingSplunkArgs args)
    public GatewayLogForwardingSplunk(String name, GatewayLogForwardingSplunkArgs args, CustomResourceOptions options)
    
    type: akeyless:GatewayLogForwardingSplunk
    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 GatewayLogForwardingSplunkArgs
    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 GatewayLogForwardingSplunkArgs
    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 GatewayLogForwardingSplunkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayLogForwardingSplunkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayLogForwardingSplunkArgs
    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 gatewayLogForwardingSplunkResource = new Akeyless.GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource", new()
    {
        Enable = "string",
        EnableTls = false,
        GatewayLogForwardingSplunkId = "string",
        Index = "string",
        OutputFormat = "string",
        PullInterval = "string",
        Source = "string",
        SourceType = "string",
        SplunkToken = "string",
        SplunkUrl = "string",
        TlsCertificate = "string",
    });
    
    example, err := akeyless.NewGatewayLogForwardingSplunk(ctx, "gatewayLogForwardingSplunkResource", &akeyless.GatewayLogForwardingSplunkArgs{
    	Enable:                       pulumi.String("string"),
    	EnableTls:                    pulumi.Bool(false),
    	GatewayLogForwardingSplunkId: pulumi.String("string"),
    	Index:                        pulumi.String("string"),
    	OutputFormat:                 pulumi.String("string"),
    	PullInterval:                 pulumi.String("string"),
    	Source:                       pulumi.String("string"),
    	SourceType:                   pulumi.String("string"),
    	SplunkToken:                  pulumi.String("string"),
    	SplunkUrl:                    pulumi.String("string"),
    	TlsCertificate:               pulumi.String("string"),
    })
    
    var gatewayLogForwardingSplunkResource = new GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource", GatewayLogForwardingSplunkArgs.builder()
        .enable("string")
        .enableTls(false)
        .gatewayLogForwardingSplunkId("string")
        .index("string")
        .outputFormat("string")
        .pullInterval("string")
        .source("string")
        .sourceType("string")
        .splunkToken("string")
        .splunkUrl("string")
        .tlsCertificate("string")
        .build());
    
    gateway_log_forwarding_splunk_resource = akeyless.GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource",
        enable="string",
        enable_tls=False,
        gateway_log_forwarding_splunk_id="string",
        index="string",
        output_format="string",
        pull_interval="string",
        source="string",
        source_type="string",
        splunk_token="string",
        splunk_url="string",
        tls_certificate="string")
    
    const gatewayLogForwardingSplunkResource = new akeyless.GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource", {
        enable: "string",
        enableTls: false,
        gatewayLogForwardingSplunkId: "string",
        index: "string",
        outputFormat: "string",
        pullInterval: "string",
        source: "string",
        sourceType: "string",
        splunkToken: "string",
        splunkUrl: "string",
        tlsCertificate: "string",
    });
    
    type: akeyless:GatewayLogForwardingSplunk
    properties:
        enable: string
        enableTls: false
        gatewayLogForwardingSplunkId: string
        index: string
        outputFormat: string
        pullInterval: string
        source: string
        sourceType: string
        splunkToken: string
        splunkUrl: string
        tlsCertificate: string
    

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

    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls
    GatewayLogForwardingSplunkId string
    The ID of this resource.
    Index string
    Splunk index
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    Source string
    Splunk source
    SourceType string
    Splunk source type
    SplunkToken string
    Splunk token
    SplunkUrl string
    Splunk server URL
    TlsCertificate string
    Splunk tls certificate (PEM format) in a Base64 format
    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls
    GatewayLogForwardingSplunkId string
    The ID of this resource.
    Index string
    Splunk index
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    Source string
    Splunk source
    SourceType string
    Splunk source type
    SplunkToken string
    Splunk token
    SplunkUrl string
    Splunk server URL
    TlsCertificate string
    Splunk tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls
    gatewayLogForwardingSplunkId String
    The ID of this resource.
    index String
    Splunk index
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    source String
    Splunk source
    sourceType String
    Splunk source type
    splunkToken String
    Splunk token
    splunkUrl String
    Splunk server URL
    tlsCertificate String
    Splunk tls certificate (PEM format) in a Base64 format
    enable string
    Enable Log Forwarding [true/false]
    enableTls boolean
    Enable tls
    gatewayLogForwardingSplunkId string
    The ID of this resource.
    index string
    Splunk index
    outputFormat string
    Logs format [text/json]
    pullInterval string
    Pull interval in seconds
    source string
    Splunk source
    sourceType string
    Splunk source type
    splunkToken string
    Splunk token
    splunkUrl string
    Splunk server URL
    tlsCertificate string
    Splunk tls certificate (PEM format) in a Base64 format
    enable str
    Enable Log Forwarding [true/false]
    enable_tls bool
    Enable tls
    gateway_log_forwarding_splunk_id str
    The ID of this resource.
    index str
    Splunk index
    output_format str
    Logs format [text/json]
    pull_interval str
    Pull interval in seconds
    source str
    Splunk source
    source_type str
    Splunk source type
    splunk_token str
    Splunk token
    splunk_url str
    Splunk server URL
    tls_certificate str
    Splunk tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls
    gatewayLogForwardingSplunkId String
    The ID of this resource.
    index String
    Splunk index
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    source String
    Splunk source
    sourceType String
    Splunk source type
    splunkToken String
    Splunk token
    splunkUrl String
    Splunk server URL
    tlsCertificate String
    Splunk tls certificate (PEM format) in a Base64 format

    Outputs

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

    Get an existing GatewayLogForwardingSplunk 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?: GatewayLogForwardingSplunkState, opts?: CustomResourceOptions): GatewayLogForwardingSplunk
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable: Optional[str] = None,
            enable_tls: Optional[bool] = None,
            gateway_log_forwarding_splunk_id: Optional[str] = None,
            index: Optional[str] = None,
            output_format: Optional[str] = None,
            pull_interval: Optional[str] = None,
            source: Optional[str] = None,
            source_type: Optional[str] = None,
            splunk_token: Optional[str] = None,
            splunk_url: Optional[str] = None,
            tls_certificate: Optional[str] = None) -> GatewayLogForwardingSplunk
    func GetGatewayLogForwardingSplunk(ctx *Context, name string, id IDInput, state *GatewayLogForwardingSplunkState, opts ...ResourceOption) (*GatewayLogForwardingSplunk, error)
    public static GatewayLogForwardingSplunk Get(string name, Input<string> id, GatewayLogForwardingSplunkState? state, CustomResourceOptions? opts = null)
    public static GatewayLogForwardingSplunk get(String name, Output<String> id, GatewayLogForwardingSplunkState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:GatewayLogForwardingSplunk    get:      id: ${id}
    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:
    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls
    GatewayLogForwardingSplunkId string
    The ID of this resource.
    Index string
    Splunk index
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    Source string
    Splunk source
    SourceType string
    Splunk source type
    SplunkToken string
    Splunk token
    SplunkUrl string
    Splunk server URL
    TlsCertificate string
    Splunk tls certificate (PEM format) in a Base64 format
    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls
    GatewayLogForwardingSplunkId string
    The ID of this resource.
    Index string
    Splunk index
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    Source string
    Splunk source
    SourceType string
    Splunk source type
    SplunkToken string
    Splunk token
    SplunkUrl string
    Splunk server URL
    TlsCertificate string
    Splunk tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls
    gatewayLogForwardingSplunkId String
    The ID of this resource.
    index String
    Splunk index
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    source String
    Splunk source
    sourceType String
    Splunk source type
    splunkToken String
    Splunk token
    splunkUrl String
    Splunk server URL
    tlsCertificate String
    Splunk tls certificate (PEM format) in a Base64 format
    enable string
    Enable Log Forwarding [true/false]
    enableTls boolean
    Enable tls
    gatewayLogForwardingSplunkId string
    The ID of this resource.
    index string
    Splunk index
    outputFormat string
    Logs format [text/json]
    pullInterval string
    Pull interval in seconds
    source string
    Splunk source
    sourceType string
    Splunk source type
    splunkToken string
    Splunk token
    splunkUrl string
    Splunk server URL
    tlsCertificate string
    Splunk tls certificate (PEM format) in a Base64 format
    enable str
    Enable Log Forwarding [true/false]
    enable_tls bool
    Enable tls
    gateway_log_forwarding_splunk_id str
    The ID of this resource.
    index str
    Splunk index
    output_format str
    Logs format [text/json]
    pull_interval str
    Pull interval in seconds
    source str
    Splunk source
    source_type str
    Splunk source type
    splunk_token str
    Splunk token
    splunk_url str
    Splunk server URL
    tls_certificate str
    Splunk tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls
    gatewayLogForwardingSplunkId String
    The ID of this resource.
    index String
    Splunk index
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    source String
    Splunk source
    sourceType String
    Splunk source type
    splunkToken String
    Splunk token
    splunkUrl String
    Splunk server URL
    tlsCertificate String
    Splunk tls certificate (PEM format) in a Base64 format

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community