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

ProjectLogging

Provides a Rancher v2 Project Logging resource. This can be used to create Project 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 Project Logging
        var foo = new Rancher2.ProjectLogging("foo", new Rancher2.ProjectLoggingArgs
        {
            Kind = "syslog",
            ProjectId = "<project_id>",
            SyslogConfig = new Rancher2.Inputs.ProjectLoggingSyslogConfigArgs
            {
                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.NewProjectLogging(ctx, "foo", &rancher2.ProjectLoggingArgs{
            Kind:      pulumi.String("syslog"),
            ProjectId: pulumi.String("<project_id>"),
            SyslogConfig: &rancher2.ProjectLoggingSyslogConfigArgs{
                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 Project Logging
foo = rancher2.ProjectLogging("foo",
    kind="syslog",
    project_id="<project_id>",
    syslog_config=rancher2.ProjectLoggingSyslogConfigArgs(
        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 Project Logging
const foo = new rancher2.ProjectLogging("foo", {
    kind: "syslog",
    projectId: "<project_id>",
    syslogConfig: {
        endpoint: "<syslog_endpoint>",
        protocol: "udp",
        severity: "notice",
        sslVerify: false,
    },
});

Create a ProjectLogging Resource

new ProjectLogging(name: string, args: ProjectLoggingArgs, opts?: CustomResourceOptions);
def ProjectLogging(resource_name: str, opts: Optional[ResourceOptions] = None, annotations: Optional[Mapping[str, Any]] = None, custom_target_config: Optional[ProjectLoggingCustomTargetConfigArgs] = None, elasticsearch_config: Optional[ProjectLoggingElasticsearchConfigArgs] = None, enable_json_parsing: Optional[bool] = None, fluentd_config: Optional[ProjectLoggingFluentdConfigArgs] = None, kafka_config: Optional[ProjectLoggingKafkaConfigArgs] = 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, project_id: Optional[str] = None, splunk_config: Optional[ProjectLoggingSplunkConfigArgs] = None, syslog_config: Optional[ProjectLoggingSyslogConfigArgs] = None)
func NewProjectLogging(ctx *Context, name string, args ProjectLoggingArgs, opts ...ResourceOption) (*ProjectLogging, error)
public ProjectLogging(string name, ProjectLoggingArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectLoggingArgs
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 ProjectLoggingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectLoggingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ProjectLogging Resource Properties

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

Inputs

The ProjectLogging resource accepts the following input properties:

Kind string

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

ProjectId string

The project id to configure logging (string)

Annotations Dictionary<string, object>

Annotations for Project Logging object (map)

CustomTargetConfig ProjectLoggingCustomTargetConfigArgs

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 ProjectLoggingElasticsearchConfigArgs

The elasticsearch config for Project 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 ProjectLoggingFluentdConfigArgs

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

KafkaConfig ProjectLoggingKafkaConfigArgs

The kafka config for Project 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 Project Logging object (map)

Name string

The name of the Project Logging config (string)

NamespaceId string

The namespace id from Project logging (string)

OutputFlushInterval int

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

OutputTags Dictionary<string, object>

The output tags for Project Logging (map)

SplunkConfig ProjectLoggingSplunkConfigArgs

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

SyslogConfig ProjectLoggingSyslogConfigArgs

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

Kind string

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

ProjectId string

The project id to configure logging (string)

Annotations map[string]interface{}

Annotations for Project Logging object (map)

CustomTargetConfig ProjectLoggingCustomTargetConfig

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 ProjectLoggingElasticsearchConfig

The elasticsearch config for Project 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 ProjectLoggingFluentdConfig

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

KafkaConfig ProjectLoggingKafkaConfig

The kafka config for Project 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 Project Logging object (map)

Name string

The name of the Project Logging config (string)

NamespaceId string

The namespace id from Project logging (string)

OutputFlushInterval int

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

OutputTags map[string]interface{}

The output tags for Project Logging (map)

SplunkConfig ProjectLoggingSplunkConfig

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

SyslogConfig ProjectLoggingSyslogConfig

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

kind string

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

projectId string

The project id to configure logging (string)

annotations {[key: string]: any}

Annotations for Project Logging object (map)

customTargetConfig ProjectLoggingCustomTargetConfig

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 ProjectLoggingElasticsearchConfig

The elasticsearch config for Project 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 ProjectLoggingFluentdConfig

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

kafkaConfig ProjectLoggingKafkaConfig

The kafka config for Project 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 Project Logging object (map)

name string

The name of the Project Logging config (string)

namespaceId string

The namespace id from Project logging (string)

outputFlushInterval number

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

outputTags {[key: string]: any}

The output tags for Project Logging (map)

splunkConfig ProjectLoggingSplunkConfig

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

syslogConfig ProjectLoggingSyslogConfig

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

kind str

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

project_id str

The project id to configure logging (string)

annotations Mapping[str, Any]

Annotations for Project Logging object (map)

custom_target_config ProjectLoggingCustomTargetConfigArgs

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 ProjectLoggingElasticsearchConfigArgs

The elasticsearch config for Project 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 ProjectLoggingFluentdConfigArgs

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

kafka_config ProjectLoggingKafkaConfigArgs

The kafka config for Project 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 Project Logging object (map)

name str

The name of the Project Logging config (string)

namespace_id str

The namespace id from Project 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 Project Logging (map)

splunk_config ProjectLoggingSplunkConfigArgs

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

syslog_config ProjectLoggingSyslogConfigArgs

The syslog config for Project 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 ProjectLogging 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 ProjectLogging Resource

Get an existing ProjectLogging 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?: ProjectLoggingState, opts?: CustomResourceOptions): ProjectLogging
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, annotations: Optional[Mapping[str, Any]] = None, custom_target_config: Optional[ProjectLoggingCustomTargetConfigArgs] = None, elasticsearch_config: Optional[ProjectLoggingElasticsearchConfigArgs] = None, enable_json_parsing: Optional[bool] = None, fluentd_config: Optional[ProjectLoggingFluentdConfigArgs] = None, kafka_config: Optional[ProjectLoggingKafkaConfigArgs] = 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, project_id: Optional[str] = None, splunk_config: Optional[ProjectLoggingSplunkConfigArgs] = None, syslog_config: Optional[ProjectLoggingSyslogConfigArgs] = None) -> ProjectLogging
func GetProjectLogging(ctx *Context, name string, id IDInput, state *ProjectLoggingState, opts ...ResourceOption) (*ProjectLogging, error)
public static ProjectLogging Get(string name, Input<string> id, ProjectLoggingState? 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 Project Logging object (map)

CustomTargetConfig ProjectLoggingCustomTargetConfigArgs

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 ProjectLoggingElasticsearchConfigArgs

The elasticsearch config for Project 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 ProjectLoggingFluentdConfigArgs

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

KafkaConfig ProjectLoggingKafkaConfigArgs

The kafka config for Project 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 Project Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

Labels Dictionary<string, object>

Labels for Project Logging object (map)

Name string

The name of the Project Logging config (string)

NamespaceId string

The namespace id from Project logging (string)

OutputFlushInterval int

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

OutputTags Dictionary<string, object>

The output tags for Project Logging (map)

ProjectId string

The project id to configure logging (string)

SplunkConfig ProjectLoggingSplunkConfigArgs

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

SyslogConfig ProjectLoggingSyslogConfigArgs

The syslog config for Project 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 Project Logging object (map)

CustomTargetConfig ProjectLoggingCustomTargetConfig

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 ProjectLoggingElasticsearchConfig

The elasticsearch config for Project 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 ProjectLoggingFluentdConfig

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

KafkaConfig ProjectLoggingKafkaConfig

The kafka config for Project 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 Project Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

Labels map[string]interface{}

Labels for Project Logging object (map)

Name string

The name of the Project Logging config (string)

NamespaceId string

The namespace id from Project logging (string)

OutputFlushInterval int

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

OutputTags map[string]interface{}

The output tags for Project Logging (map)

ProjectId string

The project id to configure logging (string)

SplunkConfig ProjectLoggingSplunkConfig

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

SyslogConfig ProjectLoggingSyslogConfig

The syslog config for Project 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 Project Logging object (map)

customTargetConfig ProjectLoggingCustomTargetConfig

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 ProjectLoggingElasticsearchConfig

The elasticsearch config for Project 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 ProjectLoggingFluentdConfig

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

kafkaConfig ProjectLoggingKafkaConfig

The kafka config for Project 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 Project Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

labels {[key: string]: any}

Labels for Project Logging object (map)

name string

The name of the Project Logging config (string)

namespaceId string

The namespace id from Project logging (string)

outputFlushInterval number

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

outputTags {[key: string]: any}

The output tags for Project Logging (map)

projectId string

The project id to configure logging (string)

splunkConfig ProjectLoggingSplunkConfig

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

syslogConfig ProjectLoggingSyslogConfig

The syslog config for Project 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 Project Logging object (map)

custom_target_config ProjectLoggingCustomTargetConfigArgs

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 ProjectLoggingElasticsearchConfigArgs

The elasticsearch config for Project 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 ProjectLoggingFluentdConfigArgs

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

kafka_config ProjectLoggingKafkaConfigArgs

The kafka config for Project 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 Project Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)

labels Mapping[str, Any]

Labels for Project Logging object (map)

name str

The name of the Project Logging config (string)

namespace_id str

The namespace id from Project 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 Project Logging (map)

project_id str

The project id to configure logging (string)

splunk_config ProjectLoggingSplunkConfigArgs

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

syslog_config ProjectLoggingSyslogConfigArgs

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

Supporting Types

ProjectLoggingCustomTargetConfig

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)

ProjectLoggingElasticsearchConfig

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)

ProjectLoggingFluentdConfig

FluentServers List<ProjectLoggingFluentdConfigFluentServerArgs>

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 fluentd service (bool)

FluentServers []ProjectLoggingFluentdConfigFluentServer

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 fluentd service (bool)

fluentServers ProjectLoggingFluentdConfigFluentServer[]

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 fluentd service (bool)

fluent_servers Sequence[ProjectLoggingFluentdConfigFluentServerArgs]

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 fluentd service (bool)

ProjectLoggingFluentdConfigFluentServer

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)

ProjectLoggingKafkaConfig

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)

ProjectLoggingSplunkConfig

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)

ProjectLoggingSyslogConfig

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 fluentd service (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 fluentd service (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 fluentd service (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 fluentd service (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

Project Logging can be imported using the Rancher Project Logging ID

 $ pulumi import rancher2:index/projectLogging:ProjectLogging foo &lt;project_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.