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
andsyslog
are supported (string)- Project
Id string The project id to configure logging (string)
- Annotations Dictionary<string, object>
Annotations for Project Logging object (map)
- Custom
Target ProjectConfig Logging Custom Target Config Args The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Elasticsearch
Config ProjectLogging Elasticsearch Config Args The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Enable
Json boolParsing Enable json log parsing. Default:
false
(bool)- Fluentd
Config ProjectLogging Fluentd Config Args The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Kafka
Config ProjectLogging Kafka Config Args The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- Labels Dictionary<string, object>
Labels for Project Logging object (map)
- Name string
The name of the Project Logging config (string)
- Namespace
Id string The namespace id from Project logging (string)
- Output
Flush intInterval How often buffered logs would be flushed. Default:
3
seconds (int)- Dictionary<string, object>
The output tags for Project Logging (map)
- Splunk
Config ProjectLogging Splunk Config Args The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- Syslog
Config ProjectLogging Syslog Config Args The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
- Kind string
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
are supported (string)- Project
Id string The project id to configure logging (string)
- Annotations map[string]interface{}
Annotations for Project Logging object (map)
- Custom
Target ProjectConfig Logging Custom Target Config The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Elasticsearch
Config ProjectLogging Elasticsearch Config The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Enable
Json boolParsing Enable json log parsing. Default:
false
(bool)- Fluentd
Config ProjectLogging Fluentd Config The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Kafka
Config ProjectLogging Kafka Config The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- Labels map[string]interface{}
Labels for Project Logging object (map)
- Name string
The name of the Project Logging config (string)
- Namespace
Id string The namespace id from Project logging (string)
- Output
Flush intInterval How often buffered logs would be flushed. Default:
3
seconds (int)- map[string]interface{}
The output tags for Project Logging (map)
- Splunk
Config ProjectLogging Splunk Config The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- Syslog
Config ProjectLogging Syslog Config The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
- kind string
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
are supported (string)- project
Id string The project id to configure logging (string)
- annotations {[key: string]: any}
Annotations for Project Logging object (map)
- custom
Target ProjectConfig Logging Custom Target Config The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- elasticsearch
Config ProjectLogging Elasticsearch Config The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- enable
Json booleanParsing Enable json log parsing. Default:
false
(bool)- fluentd
Config ProjectLogging Fluentd Config The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- kafka
Config ProjectLogging Kafka Config The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- labels {[key: string]: any}
Labels for Project Logging object (map)
- name string
The name of the Project Logging config (string)
- namespace
Id string The namespace id from Project logging (string)
- output
Flush numberInterval How often buffered logs would be flushed. Default:
3
seconds (int)- {[key: string]: any}
The output tags for Project Logging (map)
- splunk
Config ProjectLogging Splunk Config The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- syslog
Config ProjectLogging Syslog Config The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
- kind str
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
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_ Projectconfig Logging Custom Target Config Args The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- elasticsearch_
config ProjectLogging Elasticsearch Config Args The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- enable_
json_ boolparsing Enable json log parsing. Default:
false
(bool)- fluentd_
config ProjectLogging Fluentd Config Args The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- kafka_
config ProjectLogging Kafka Config Args The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_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_ intinterval How often buffered logs would be flushed. Default:
3
seconds (int)- Mapping[str, Any]
The output tags for Project Logging (map)
- splunk_
config ProjectLogging Splunk Config Args The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- syslog_
config ProjectLogging Syslog Config Args The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_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)
- Custom
Target ProjectConfig Logging Custom Target Config Args The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Elasticsearch
Config ProjectLogging Elasticsearch Config Args The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Enable
Json boolParsing Enable json log parsing. Default:
false
(bool)- Fluentd
Config ProjectLogging Fluentd Config Args The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Kafka
Config ProjectLogging Kafka Config Args The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- Kind string
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
are supported (string)- Labels Dictionary<string, object>
Labels for Project Logging object (map)
- Name string
The name of the Project Logging config (string)
- Namespace
Id string The namespace id from Project logging (string)
- Output
Flush intInterval How often buffered logs would be flushed. Default:
3
seconds (int)- Dictionary<string, object>
The output tags for Project Logging (map)
- Project
Id string The project id to configure logging (string)
- Splunk
Config ProjectLogging Splunk Config Args The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- Syslog
Config ProjectLogging Syslog Config Args The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
- Annotations map[string]interface{}
Annotations for Project Logging object (map)
- Custom
Target ProjectConfig Logging Custom Target Config The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Elasticsearch
Config ProjectLogging Elasticsearch Config The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Enable
Json boolParsing Enable json log parsing. Default:
false
(bool)- Fluentd
Config ProjectLogging Fluentd Config The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- Kafka
Config ProjectLogging Kafka Config The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- Kind string
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
are supported (string)- Labels map[string]interface{}
Labels for Project Logging object (map)
- Name string
The name of the Project Logging config (string)
- Namespace
Id string The namespace id from Project logging (string)
- Output
Flush intInterval How often buffered logs would be flushed. Default:
3
seconds (int)- map[string]interface{}
The output tags for Project Logging (map)
- Project
Id string The project id to configure logging (string)
- Splunk
Config ProjectLogging Splunk Config The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- Syslog
Config ProjectLogging Syslog Config The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
- annotations {[key: string]: any}
Annotations for Project Logging object (map)
- custom
Target ProjectConfig Logging Custom Target Config The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- elasticsearch
Config ProjectLogging Elasticsearch Config The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- enable
Json booleanParsing Enable json log parsing. Default:
false
(bool)- fluentd
Config ProjectLogging Fluentd Config The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- kafka
Config ProjectLogging Kafka Config The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- kind string
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
are supported (string)- labels {[key: string]: any}
Labels for Project Logging object (map)
- name string
The name of the Project Logging config (string)
- namespace
Id string The namespace id from Project logging (string)
- output
Flush numberInterval How often buffered logs would be flushed. Default:
3
seconds (int)- {[key: string]: any}
The output tags for Project Logging (map)
- project
Id string The project id to configure logging (string)
- splunk
Config ProjectLogging Splunk Config The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- syslog
Config ProjectLogging Syslog Config The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
- annotations Mapping[str, Any]
Annotations for Project Logging object (map)
- custom_
target_ Projectconfig Logging Custom Target Config Args The custom target config for Cluster Logging. For
kind = custom
. Conflicts withelasticsearch_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- elasticsearch_
config ProjectLogging Elasticsearch Config Args The elasticsearch config for Project Logging. For
kind = elasticsearch
. Conflicts withcustom_target_config
,fluentd_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- enable_
json_ boolparsing Enable json log parsing. Default:
false
(bool)- fluentd_
config ProjectLogging Fluentd Config Args The fluentd config for Project Logging. For
kind = fluentd
. Conflicts withcustom_target_config
,elasticsearch_config
,kafka_config
,splunk_config
andsyslog_config
(list maxitems:1)- kafka_
config ProjectLogging Kafka Config Args The kafka config for Project Logging. For
kind = kafka
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,splunk_config
andsyslog_config
(list maxitems:1)- kind str
The kind of the Project Logging.
elasticsearch
,fluentd
,kafka
,splunk
andsyslog
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_ intinterval How often buffered logs would be flushed. Default:
3
seconds (int)- Mapping[str, Any]
The output tags for Project Logging (map)
- project_
id str The project id to configure logging (string)
- splunk_
config ProjectLogging Splunk Config Args The splunk config for Project Logging. For
kind = splunk
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsyslog_config
(list maxitems:1)- syslog_
config ProjectLogging Syslog Config Args The syslog config for Project Logging. For
kind = syslog
. Conflicts withcustom_target_config
,elasticsearch_config
,fluentd_config
,kafka_config
, andsplunk_config
(list maxitems:1)
Supporting Types
ProjectLoggingCustomTargetConfig
- Content string
Custom target config content (string)
- Certificate string
SSL certificate for the syslog service (string)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key 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)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key 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)
- client
Cert string SSL client certificate for the syslog service (string)
- client
Key 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)
- Auth
Password string User password for the elascticsearch service (string)
- Auth
Username string Username for the elascticsearch service (string)
- Certificate string
SSL certificate for the syslog service (string)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Client
Key stringPass SSL client key password for the splunk service (string)
- Date
Format string Date format for the elascticsearch logs. Default:
YYYY-MM-DD
(string)- Index
Prefix string Index prefix for the elascticsearch logs. Default:
local
(string)- Ssl
Verify bool SSL verify for the syslog service (bool)
- Ssl
Version string SSL version for the elascticsearch service (string)
- Endpoint string
Endpoint of the syslog service (string)
- Auth
Password string User password for the elascticsearch service (string)
- Auth
Username string Username for the elascticsearch service (string)
- Certificate string
SSL certificate for the syslog service (string)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Client
Key stringPass SSL client key password for the splunk service (string)
- Date
Format string Date format for the elascticsearch logs. Default:
YYYY-MM-DD
(string)- Index
Prefix string Index prefix for the elascticsearch logs. Default:
local
(string)- Ssl
Verify bool SSL verify for the syslog service (bool)
- Ssl
Version string SSL version for the elascticsearch service (string)
- endpoint string
Endpoint of the syslog service (string)
- auth
Password string User password for the elascticsearch service (string)
- auth
Username string Username for the elascticsearch service (string)
- certificate string
SSL certificate for the syslog service (string)
- client
Cert string SSL client certificate for the syslog service (string)
- client
Key string SSL client key for the syslog service (string)
- client
Key stringPass SSL client key password for the splunk service (string)
- date
Format string Date format for the elascticsearch logs. Default:
YYYY-MM-DD
(string)- index
Prefix string Index prefix for the elascticsearch logs. Default:
local
(string)- ssl
Verify boolean SSL verify for the syslog service (bool)
- ssl
Version 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_ strpass 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
- Fluent
Servers List<ProjectLogging Fluentd Config Fluent Server Args> Servers for the fluentd service (list)
- Certificate string
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)
- Fluent
Servers []ProjectLogging Fluentd Config Fluent Server Servers for the fluentd service (list)
- Certificate string
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)
- fluent
Servers ProjectLogging Fluentd Config Fluent Server[] Servers for the fluentd service (list)
- certificate string
SSL certificate for the syslog service (string)
- compress boolean
Compress data for the fluentd service (bool)
- enable
Tls boolean Enable TLS for the fluentd service (bool)
- fluent_
servers Sequence[ProjectLogging Fluentd Config Fluent Server Args] 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)
- 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)
- 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)
- 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)
- 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)
- Broker
Endpoints List<string> Kafka endpoints for kafka service. Conflicts with
zookeeper_endpoint
(list)- Certificate string
SSL certificate for the syslog service (string)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Zookeeper
Endpoint string Zookeeper endpoint for kafka service. Conflicts with
broker_endpoints
(string)
- Topic string
Topic to publish on the kafka service (string)
- Broker
Endpoints []string Kafka endpoints for kafka service. Conflicts with
zookeeper_endpoint
(list)- Certificate string
SSL certificate for the syslog service (string)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Zookeeper
Endpoint string Zookeeper endpoint for kafka service. Conflicts with
broker_endpoints
(string)
- topic string
Topic to publish on the kafka service (string)
- broker
Endpoints string[] Kafka endpoints for kafka service. Conflicts with
zookeeper_endpoint
(list)- certificate string
SSL certificate for the syslog service (string)
- client
Cert string SSL client certificate for the syslog service (string)
- client
Key string SSL client key for the syslog service (string)
- zookeeper
Endpoint 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)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Client
Key stringPass 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)
- Ssl
Verify 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)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Client
Key stringPass 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)
- Ssl
Verify 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)
- client
Cert string SSL client certificate for the syslog service (string)
- client
Key string SSL client key for the syslog service (string)
- client
Key stringPass 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)
- ssl
Verify 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_ strpass 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)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Enable
Tls bool Enable TLS for the fluentd service (bool)
- Program string
Program for the syslog service (string)
- Protocol string
Protocol for the syslog service.
tcp
andudp
are supported. Default:udp
(string)- Severity string
Date format for the syslog logs.
emergency
,alert
,critical
,error
,warning
,notice
,info
anddebug
are supported. Default:notice
(string)- Ssl
Verify 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)
- Client
Cert string SSL client certificate for the syslog service (string)
- Client
Key string SSL client key for the syslog service (string)
- Enable
Tls bool Enable TLS for the fluentd service (bool)
- Program string
Program for the syslog service (string)
- Protocol string
Protocol for the syslog service.
tcp
andudp
are supported. Default:udp
(string)- Severity string
Date format for the syslog logs.
emergency
,alert
,critical
,error
,warning
,notice
,info
anddebug
are supported. Default:notice
(string)- Ssl
Verify 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)
- client
Cert string SSL client certificate for the syslog service (string)
- client
Key string SSL client key for the syslog service (string)
- enable
Tls boolean Enable TLS for the fluentd service (bool)
- program string
Program for the syslog service (string)
- protocol string
Protocol for the syslog service.
tcp
andudp
are supported. Default:udp
(string)- severity string
Date format for the syslog logs.
emergency
,alert
,critical
,error
,warning
,notice
,info
anddebug
are supported. Default:notice
(string)- ssl
Verify 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
andudp
are supported. Default:udp
(string)- severity str
Date format for the syslog logs.
emergency
,alert
,critical
,error
,warning
,notice
,info
anddebug
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 <project_logging_id>
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.