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

ClusterLogging

Provides a Rancher v2 Cluster Logging resource. This can be used to configure Cluster Logging for Rancher v2 environments and retrieve their information.

Example Usage

using Pulumi;
using Rancher2 = Pulumi.Rancher2;

class MyStack : Stack
{
    public MyStack()
    {
        // Create a new Rancher2 Cluster Logging
        var foo = new Rancher2.ClusterLogging("foo", new Rancher2.ClusterLoggingArgs
        {
            ClusterId = "<cluster_id>",
            Kind = "syslog",
            SyslogConfig = new Rancher2.Inputs.ClusterLoggingSyslogConfigArgs
            {
                Endpoint = "<syslog_endpoint>",
                Protocol = "udp",
                Severity = "notice",
                SslVerify = false,
            },
        });
    }

}
package main

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

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := rancher2.NewClusterLogging(ctx, "foo", &rancher2.ClusterLoggingArgs{
            ClusterId: pulumi.String("<cluster_id>"),
            Kind:      pulumi.String("syslog"),
            SyslogConfig: &rancher2.ClusterLoggingSyslogConfigArgs{
                Endpoint:  pulumi.String("<syslog_endpoint>"),
                Protocol:  pulumi.String("udp"),
                Severity:  pulumi.String("notice"),
                SslVerify: pulumi.Bool(false),
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_rancher2 as rancher2

# Create a new Rancher2 Cluster Logging
foo = rancher2.ClusterLogging("foo",
    cluster_id="<cluster_id>",
    kind="syslog",
    syslog_config=rancher2.ClusterLoggingSyslogConfigArgs(
        endpoint="<syslog_endpoint>",
        protocol="udp",
        severity="notice",
        ssl_verify=False,
    ))
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";

// Create a new Rancher2 Cluster Logging
const foo = new rancher2.ClusterLogging("foo", {
    clusterId: "<cluster_id>",
    kind: "syslog",
    syslogConfig: {
        endpoint: "<syslog_endpoint>",
        protocol: "udp",
        severity: "notice",
        sslVerify: false,
    },
});

Create a ClusterLogging Resource

new ClusterLogging(name: string, args: ClusterLoggingArgs, opts?: CustomResourceOptions);
def ClusterLogging(resource_name: str, opts: Optional[ResourceOptions] = None, annotations: Optional[Mapping[str, Any]] = None, cluster_id: Optional[str] = None, custom_target_config: Optional[ClusterLoggingCustomTargetConfigArgs] = None, elasticsearch_config: Optional[ClusterLoggingElasticsearchConfigArgs] = None, enable_json_parsing: Optional[bool] = None, fluentd_config: Optional[ClusterLoggingFluentdConfigArgs] = None, kafka_config: Optional[ClusterLoggingKafkaConfigArgs] = None, kind: Optional[str] = None, labels: Optional[Mapping[str, Any]] = None, name: Optional[str] = None, namespace_id: Optional[str] = None, output_flush_interval: Optional[int] = None, output_tags: Optional[Mapping[str, Any]] = None, splunk_config: Optional[ClusterLoggingSplunkConfigArgs] = None, syslog_config: Optional[ClusterLoggingSyslogConfigArgs] = None)
func NewClusterLogging(ctx *Context, name string, args ClusterLoggingArgs, opts ...ResourceOption) (*ClusterLogging, error)
public ClusterLogging(string name, ClusterLoggingArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ClusterLoggingArgs
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 ClusterLoggingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClusterLoggingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ClusterLogging Resource Properties

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

Inputs

The ClusterLogging resource accepts the following input properties:

ClusterId string

The cluster id to configure logging (string)

Kind string

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

Annotations Dictionary<string, object>

Annotations for Cluster Logging object (map)

CustomTargetConfig ClusterLoggingCustomTargetConfigArgs

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

ElasticsearchConfig ClusterLoggingElasticsearchConfigArgs

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

EnableJsonParsing bool

Enable json log parsing. Default: false (bool)

FluentdConfig ClusterLoggingFluentdConfigArgs

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

KafkaConfig ClusterLoggingKafkaConfigArgs

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

Labels Dictionary<string, object>

Labels for Cluster Logging object (map)

Name string

The name of the cluster logging config (string)

NamespaceId string

The namespace id from cluster logging (string)

OutputFlushInterval int

How often buffered logs would be flushed. Default: 3 seconds (int)

OutputTags Dictionary<string, object>

The output tags for Cluster Logging (map)

SplunkConfig ClusterLoggingSplunkConfigArgs

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

SyslogConfig ClusterLoggingSyslogConfigArgs

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

ClusterId string

The cluster id to configure logging (string)

Kind string

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

Annotations map[string]interface{}

Annotations for Cluster Logging object (map)

CustomTargetConfig ClusterLoggingCustomTargetConfig

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

ElasticsearchConfig ClusterLoggingElasticsearchConfig

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

EnableJsonParsing bool

Enable json log parsing. Default: false (bool)

FluentdConfig ClusterLoggingFluentdConfig

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

KafkaConfig ClusterLoggingKafkaConfig

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

Labels map[string]interface{}

Labels for Cluster Logging object (map)

Name string

The name of the cluster logging config (string)

NamespaceId string

The namespace id from cluster logging (string)

OutputFlushInterval int

How often buffered logs would be flushed. Default: 3 seconds (int)

OutputTags map[string]interface{}

The output tags for Cluster Logging (map)

SplunkConfig ClusterLoggingSplunkConfig

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

SyslogConfig ClusterLoggingSyslogConfig

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

clusterId string

The cluster id to configure logging (string)

kind string

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

annotations {[key: string]: any}

Annotations for Cluster Logging object (map)

customTargetConfig ClusterLoggingCustomTargetConfig

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

elasticsearchConfig ClusterLoggingElasticsearchConfig

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

enableJsonParsing boolean

Enable json log parsing. Default: false (bool)

fluentdConfig ClusterLoggingFluentdConfig

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

kafkaConfig ClusterLoggingKafkaConfig

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

labels {[key: string]: any}

Labels for Cluster Logging object (map)

name string

The name of the cluster logging config (string)

namespaceId string

The namespace id from cluster logging (string)

outputFlushInterval number

How often buffered logs would be flushed. Default: 3 seconds (int)

outputTags {[key: string]: any}

The output tags for Cluster Logging (map)

splunkConfig ClusterLoggingSplunkConfig

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

syslogConfig ClusterLoggingSyslogConfig

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

cluster_id str

The cluster id to configure logging (string)

kind str

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

annotations Mapping[str, Any]

Annotations for Cluster Logging object (map)

custom_target_config ClusterLoggingCustomTargetConfigArgs

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

elasticsearch_config ClusterLoggingElasticsearchConfigArgs

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

enable_json_parsing bool

Enable json log parsing. Default: false (bool)

fluentd_config ClusterLoggingFluentdConfigArgs

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

kafka_config ClusterLoggingKafkaConfigArgs

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

labels Mapping[str, Any]

Labels for Cluster Logging object (map)

name str

The name of the cluster logging config (string)

namespace_id str

The namespace id from cluster logging (string)

output_flush_interval int

How often buffered logs would be flushed. Default: 3 seconds (int)

output_tags Mapping[str, Any]

The output tags for Cluster Logging (map)

splunk_config ClusterLoggingSplunkConfigArgs

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

syslog_config ClusterLoggingSyslogConfigArgs

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

Outputs

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

Get an existing ClusterLogging 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?: ClusterLoggingState, opts?: CustomResourceOptions): ClusterLogging
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, annotations: Optional[Mapping[str, Any]] = None, cluster_id: Optional[str] = None, custom_target_config: Optional[ClusterLoggingCustomTargetConfigArgs] = None, elasticsearch_config: Optional[ClusterLoggingElasticsearchConfigArgs] = None, enable_json_parsing: Optional[bool] = None, fluentd_config: Optional[ClusterLoggingFluentdConfigArgs] = None, kafka_config: Optional[ClusterLoggingKafkaConfigArgs] = None, kind: Optional[str] = None, labels: Optional[Mapping[str, Any]] = None, name: Optional[str] = None, namespace_id: Optional[str] = None, output_flush_interval: Optional[int] = None, output_tags: Optional[Mapping[str, Any]] = None, splunk_config: Optional[ClusterLoggingSplunkConfigArgs] = None, syslog_config: Optional[ClusterLoggingSyslogConfigArgs] = None) -> ClusterLogging
func GetClusterLogging(ctx *Context, name string, id IDInput, state *ClusterLoggingState, opts ...ResourceOption) (*ClusterLogging, error)
public static ClusterLogging Get(string name, Input<string> id, ClusterLoggingState? 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:

Annotations Dictionary<string, object>

Annotations for Cluster Logging object (map)

ClusterId string

The cluster id to configure logging (string)

CustomTargetConfig ClusterLoggingCustomTargetConfigArgs

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

ElasticsearchConfig ClusterLoggingElasticsearchConfigArgs

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

EnableJsonParsing bool

Enable json log parsing. Default: false (bool)

FluentdConfig ClusterLoggingFluentdConfigArgs

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

KafkaConfig ClusterLoggingKafkaConfigArgs

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

Kind string

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

Labels Dictionary<string, object>

Labels for Cluster Logging object (map)

Name string

The name of the cluster logging config (string)

NamespaceId string

The namespace id from cluster logging (string)

OutputFlushInterval int

How often buffered logs would be flushed. Default: 3 seconds (int)

OutputTags Dictionary<string, object>

The output tags for Cluster Logging (map)

SplunkConfig ClusterLoggingSplunkConfigArgs

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

SyslogConfig ClusterLoggingSyslogConfigArgs

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

Annotations map[string]interface{}

Annotations for Cluster Logging object (map)

ClusterId string

The cluster id to configure logging (string)

CustomTargetConfig ClusterLoggingCustomTargetConfig

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

ElasticsearchConfig ClusterLoggingElasticsearchConfig

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

EnableJsonParsing bool

Enable json log parsing. Default: false (bool)

FluentdConfig ClusterLoggingFluentdConfig

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

KafkaConfig ClusterLoggingKafkaConfig

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

Kind string

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

Labels map[string]interface{}

Labels for Cluster Logging object (map)

Name string

The name of the cluster logging config (string)

NamespaceId string

The namespace id from cluster logging (string)

OutputFlushInterval int

How often buffered logs would be flushed. Default: 3 seconds (int)

OutputTags map[string]interface{}

The output tags for Cluster Logging (map)

SplunkConfig ClusterLoggingSplunkConfig

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

SyslogConfig ClusterLoggingSyslogConfig

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

annotations {[key: string]: any}

Annotations for Cluster Logging object (map)

clusterId string

The cluster id to configure logging (string)

customTargetConfig ClusterLoggingCustomTargetConfig

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

elasticsearchConfig ClusterLoggingElasticsearchConfig

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

enableJsonParsing boolean

Enable json log parsing. Default: false (bool)

fluentdConfig ClusterLoggingFluentdConfig

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

kafkaConfig ClusterLoggingKafkaConfig

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

kind string

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

labels {[key: string]: any}

Labels for Cluster Logging object (map)

name string

The name of the cluster logging config (string)

namespaceId string

The namespace id from cluster logging (string)

outputFlushInterval number

How often buffered logs would be flushed. Default: 3 seconds (int)

outputTags {[key: string]: any}

The output tags for Cluster Logging (map)

splunkConfig ClusterLoggingSplunkConfig

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

syslogConfig ClusterLoggingSyslogConfig

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

annotations Mapping[str, Any]

Annotations for Cluster Logging object (map)

cluster_id str

The cluster id to configure logging (string)

custom_target_config ClusterLoggingCustomTargetConfigArgs

The custom target config for Cluster Logging. For kind = custom. Conflicts with elasticsearch_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

elasticsearch_config ClusterLoggingElasticsearchConfigArgs

The elasticsearch config for Cluster Logging. For kind = elasticsearch. Conflicts with custom_target_config, fluentd_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

enable_json_parsing bool

Enable json log parsing. Default: false (bool)

fluentd_config ClusterLoggingFluentdConfigArgs

The fluentd config for Cluster Logging. For kind = fluentd. Conflicts with custom_target_config, elasticsearch_config, kafka_config, splunk_config and syslog_config (list maxitems:1)

kafka_config ClusterLoggingKafkaConfigArgs

The kafka config for Cluster Logging. For kind = kafka. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, splunk_config and syslog_config (list maxitems:1)

kind str

The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

labels Mapping[str, Any]

Labels for Cluster Logging object (map)

name str

The name of the cluster logging config (string)

namespace_id str

The namespace id from cluster logging (string)

output_flush_interval int

How often buffered logs would be flushed. Default: 3 seconds (int)

output_tags Mapping[str, Any]

The output tags for Cluster Logging (map)

splunk_config ClusterLoggingSplunkConfigArgs

The splunk config for Cluster Logging. For kind = splunk. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and syslog_config (list maxitems:1)

syslog_config ClusterLoggingSyslogConfigArgs

The syslog config for Cluster Logging. For kind = syslog. Conflicts with custom_target_config, elasticsearch_config, fluentd_config, kafka_config, and splunk_config (list maxitems:1)

Supporting Types

ClusterLoggingCustomTargetConfig

Content string

Custom target config content (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

Content string

Custom target config content (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

content string

Custom target config content (string)

certificate string

SSL certificate for the syslog service (string)

clientCert string

SSL client certificate for the syslog service (string)

clientKey string

SSL client key for the syslog service (string)

content str

Custom target config content (string)

certificate str

SSL certificate for the syslog service (string)

client_cert str

SSL client certificate for the syslog service (string)

client_key str

SSL client key for the syslog service (string)

ClusterLoggingElasticsearchConfig

Endpoint string

Endpoint of the syslog service (string)

AuthPassword string

User password for the elascticsearch service (string)

AuthUsername string

Username for the elascticsearch service (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

ClientKeyPass string

SSL client key password for the splunk service (string)

DateFormat string

Date format for the elascticsearch logs. Default: YYYY-MM-DD (string)

IndexPrefix string

Index prefix for the elascticsearch logs. Default: local (string)

SslVerify bool

SSL verify for the syslog service (bool)

SslVersion string

SSL version for the elascticsearch service (string)

Endpoint string

Endpoint of the syslog service (string)

AuthPassword string

User password for the elascticsearch service (string)

AuthUsername string

Username for the elascticsearch service (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

ClientKeyPass string

SSL client key password for the splunk service (string)

DateFormat string

Date format for the elascticsearch logs. Default: YYYY-MM-DD (string)

IndexPrefix string

Index prefix for the elascticsearch logs. Default: local (string)

SslVerify bool

SSL verify for the syslog service (bool)

SslVersion string

SSL version for the elascticsearch service (string)

endpoint string

Endpoint of the syslog service (string)

authPassword string

User password for the elascticsearch service (string)

authUsername string

Username for the elascticsearch service (string)

certificate string

SSL certificate for the syslog service (string)

clientCert string

SSL client certificate for the syslog service (string)

clientKey string

SSL client key for the syslog service (string)

clientKeyPass string

SSL client key password for the splunk service (string)

dateFormat string

Date format for the elascticsearch logs. Default: YYYY-MM-DD (string)

indexPrefix string

Index prefix for the elascticsearch logs. Default: local (string)

sslVerify boolean

SSL verify for the syslog service (bool)

sslVersion string

SSL version for the elascticsearch service (string)

endpoint str

Endpoint of the syslog service (string)

auth_password str

User password for the elascticsearch service (string)

auth_username str

Username for the elascticsearch service (string)

certificate str

SSL certificate for the syslog service (string)

client_cert str

SSL client certificate for the syslog service (string)

client_key str

SSL client key for the syslog service (string)

client_key_pass str

SSL client key password for the splunk service (string)

date_format str

Date format for the elascticsearch logs. Default: YYYY-MM-DD (string)

index_prefix str

Index prefix for the elascticsearch logs. Default: local (string)

ssl_verify bool

SSL verify for the syslog service (bool)

ssl_version str

SSL version for the elascticsearch service (string)

ClusterLoggingFluentdConfig

FluentServers List<ClusterLoggingFluentdConfigFluentServerArgs>

Servers for the fluentd service (list)

Certificate string

SSL certificate for the syslog service (string)

Compress bool

Compress data for the fluentd service (bool)

EnableTls bool

Enable TLS for the syslog service. Default false (bool)

FluentServers []ClusterLoggingFluentdConfigFluentServer

Servers for the fluentd service (list)

Certificate string

SSL certificate for the syslog service (string)

Compress bool

Compress data for the fluentd service (bool)

EnableTls bool

Enable TLS for the syslog service. Default false (bool)

fluentServers ClusterLoggingFluentdConfigFluentServer[]

Servers for the fluentd service (list)

certificate string

SSL certificate for the syslog service (string)

compress boolean

Compress data for the fluentd service (bool)

enableTls boolean

Enable TLS for the syslog service. Default false (bool)

fluent_servers Sequence[ClusterLoggingFluentdConfigFluentServerArgs]

Servers for the fluentd service (list)

certificate str

SSL certificate for the syslog service (string)

compress bool

Compress data for the fluentd service (bool)

enable_tls bool

Enable TLS for the syslog service. Default false (bool)

ClusterLoggingFluentdConfigFluentServer

Endpoint string

Endpoint of the syslog service (string)

Hostname string

Hostname of the fluentd service (string)

Password string

User password of the fluentd service (string)

SharedKey string

Shared key of the fluentd service (string)

Standby bool

Standby server of the fluentd service (bool)

Username string

Username of the fluentd service (string)

Weight int

Weight of the fluentd server (int)

Endpoint string

Endpoint of the syslog service (string)

Hostname string

Hostname of the fluentd service (string)

Password string

User password of the fluentd service (string)

SharedKey string

Shared key of the fluentd service (string)

Standby bool

Standby server of the fluentd service (bool)

Username string

Username of the fluentd service (string)

Weight int

Weight of the fluentd server (int)

endpoint string

Endpoint of the syslog service (string)

hostname string

Hostname of the fluentd service (string)

password string

User password of the fluentd service (string)

sharedKey string

Shared key of the fluentd service (string)

standby boolean

Standby server of the fluentd service (bool)

username string

Username of the fluentd service (string)

weight number

Weight of the fluentd server (int)

endpoint str

Endpoint of the syslog service (string)

hostname str

Hostname of the fluentd service (string)

password str

User password of the fluentd service (string)

shared_key str

Shared key of the fluentd service (string)

standby bool

Standby server of the fluentd service (bool)

username str

Username of the fluentd service (string)

weight int

Weight of the fluentd server (int)

ClusterLoggingKafkaConfig

Topic string

Topic to publish on the kafka service (string)

BrokerEndpoints List<string>

Kafka endpoints for kafka service. Conflicts with zookeeper_endpoint (list)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

ZookeeperEndpoint string

Zookeeper endpoint for kafka service. Conflicts with broker_endpoints (string)

Topic string

Topic to publish on the kafka service (string)

BrokerEndpoints []string

Kafka endpoints for kafka service. Conflicts with zookeeper_endpoint (list)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

ZookeeperEndpoint string

Zookeeper endpoint for kafka service. Conflicts with broker_endpoints (string)

topic string

Topic to publish on the kafka service (string)

brokerEndpoints string[]

Kafka endpoints for kafka service. Conflicts with zookeeper_endpoint (list)

certificate string

SSL certificate for the syslog service (string)

clientCert string

SSL client certificate for the syslog service (string)

clientKey string

SSL client key for the syslog service (string)

zookeeperEndpoint string

Zookeeper endpoint for kafka service. Conflicts with broker_endpoints (string)

topic str

Topic to publish on the kafka service (string)

broker_endpoints Sequence[str]

Kafka endpoints for kafka service. Conflicts with zookeeper_endpoint (list)

certificate str

SSL certificate for the syslog service (string)

client_cert str

SSL client certificate for the syslog service (string)

client_key str

SSL client key for the syslog service (string)

zookeeper_endpoint str

Zookeeper endpoint for kafka service. Conflicts with broker_endpoints (string)

ClusterLoggingSplunkConfig

Endpoint string

Endpoint of the syslog service (string)

Token string

Token for the syslog service (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

ClientKeyPass string

SSL client key password for the splunk service (string)

Index string

Index prefix for the splunk logs (string)

Source string

Date format for the splunk logs (string)

SslVerify bool

SSL verify for the syslog service (bool)

Endpoint string

Endpoint of the syslog service (string)

Token string

Token for the syslog service (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

ClientKeyPass string

SSL client key password for the splunk service (string)

Index string

Index prefix for the splunk logs (string)

Source string

Date format for the splunk logs (string)

SslVerify bool

SSL verify for the syslog service (bool)

endpoint string

Endpoint of the syslog service (string)

token string

Token for the syslog service (string)

certificate string

SSL certificate for the syslog service (string)

clientCert string

SSL client certificate for the syslog service (string)

clientKey string

SSL client key for the syslog service (string)

clientKeyPass string

SSL client key password for the splunk service (string)

index string

Index prefix for the splunk logs (string)

source string

Date format for the splunk logs (string)

sslVerify boolean

SSL verify for the syslog service (bool)

endpoint str

Endpoint of the syslog service (string)

token str

Token for the syslog service (string)

certificate str

SSL certificate for the syslog service (string)

client_cert str

SSL client certificate for the syslog service (string)

client_key str

SSL client key for the syslog service (string)

client_key_pass str

SSL client key password for the splunk service (string)

index str

Index prefix for the splunk logs (string)

source str

Date format for the splunk logs (string)

ssl_verify bool

SSL verify for the syslog service (bool)

ClusterLoggingSyslogConfig

Endpoint string

Endpoint of the syslog service (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

EnableTls bool

Enable TLS for the syslog service. Default false (bool)

Program string

Program for the syslog service (string)

Protocol string

Protocol for the syslog service. tcp and udp are supported. Default: udp (string)

Severity string

Date format for the syslog logs. emergency, alert, critical, error, warning, notice, info and debug are supported. Default: notice (string)

SslVerify bool

SSL verify for the syslog service (bool)

Token string

Token for the syslog service (string)

Endpoint string

Endpoint of the syslog service (string)

Certificate string

SSL certificate for the syslog service (string)

ClientCert string

SSL client certificate for the syslog service (string)

ClientKey string

SSL client key for the syslog service (string)

EnableTls bool

Enable TLS for the syslog service. Default false (bool)

Program string

Program for the syslog service (string)

Protocol string

Protocol for the syslog service. tcp and udp are supported. Default: udp (string)

Severity string

Date format for the syslog logs. emergency, alert, critical, error, warning, notice, info and debug are supported. Default: notice (string)

SslVerify bool

SSL verify for the syslog service (bool)

Token string

Token for the syslog service (string)

endpoint string

Endpoint of the syslog service (string)

certificate string

SSL certificate for the syslog service (string)

clientCert string

SSL client certificate for the syslog service (string)

clientKey string

SSL client key for the syslog service (string)

enableTls boolean

Enable TLS for the syslog service. Default false (bool)

program string

Program for the syslog service (string)

protocol string

Protocol for the syslog service. tcp and udp are supported. Default: udp (string)

severity string

Date format for the syslog logs. emergency, alert, critical, error, warning, notice, info and debug are supported. Default: notice (string)

sslVerify boolean

SSL verify for the syslog service (bool)

token string

Token for the syslog service (string)

endpoint str

Endpoint of the syslog service (string)

certificate str

SSL certificate for the syslog service (string)

client_cert str

SSL client certificate for the syslog service (string)

client_key str

SSL client key for the syslog service (string)

enable_tls bool

Enable TLS for the syslog service. Default false (bool)

program str

Program for the syslog service (string)

protocol str

Protocol for the syslog service. tcp and udp are supported. Default: udp (string)

severity str

Date format for the syslog logs. emergency, alert, critical, error, warning, notice, info and debug are supported. Default: notice (string)

ssl_verify bool

SSL verify for the syslog service (bool)

token str

Token for the syslog service (string)

Import

Cluster Logging can be imported using the Rancher Cluster Logging ID

 $ pulumi import rancher2:index/clusterLogging:ClusterLogging foo &lt;CLUSTER_LOGGING_ID&gt;

Package Details

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