Class ClusterLoggingArgs
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public sealed class ClusterLoggingArgs : ResourceArgs
Constructors
View SourceClusterLoggingArgs()
Declaration
public ClusterLoggingArgs()
Properties
View SourceAnnotations
Annotations for Cluster Logging object (map)
Declaration
public InputMap<object> Annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
ClusterId
The cluster id to configure logging (string)
Declaration
public Input<string> ClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CustomTargetConfig
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)
Declaration
public Input<ClusterLoggingCustomTargetConfigArgs> CustomTargetConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingCustomTargetConfigArgs> |
ElasticsearchConfig
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)
Declaration
public Input<ClusterLoggingElasticsearchConfigArgs> ElasticsearchConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingElasticsearchConfigArgs> |
EnableJsonParsing
Enable json log parsing. Default: false (bool)
Declaration
public Input<bool> EnableJsonParsing { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
FluentdConfig
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)
Declaration
public Input<ClusterLoggingFluentdConfigArgs> FluentdConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingFluentdConfigArgs> |
KafkaConfig
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)
Declaration
public Input<ClusterLoggingKafkaConfigArgs> KafkaConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingKafkaConfigArgs> |
Kind
The kind of the Cluster Logging. elasticsearch, fluentd, kafka, splunk and syslog are supported (string)
Declaration
public Input<string> Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
Labels for Cluster Logging object (map)
Declaration
public InputMap<object> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Name
The name of the cluster logging config (string)
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamespaceId
The namespace id from cluster logging (string)
Declaration
public Input<string> NamespaceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OutputFlushInterval
How often buffered logs would be flushed. Default: 3 seconds (int)
Declaration
public Input<int> OutputFlushInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
OutputTags
The output tags for Cluster Logging (map)
Declaration
public InputMap<object> OutputTags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
SplunkConfig
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)
Declaration
public Input<ClusterLoggingSplunkConfigArgs> SplunkConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingSplunkConfigArgs> |
SyslogConfig
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)
Declaration
public Input<ClusterLoggingSyslogConfigArgs> SyslogConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingSyslogConfigArgs> |