Class ClusterLoggingState
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public sealed class ClusterLoggingState : ResourceArgs
Constructors
View SourceClusterLoggingState()
Declaration
public ClusterLoggingState()
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<ClusterLoggingCustomTargetConfigGetArgs> CustomTargetConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingCustomTargetConfigGetArgs> |
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<ClusterLoggingElasticsearchConfigGetArgs> ElasticsearchConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingElasticsearchConfigGetArgs> |
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<ClusterLoggingFluentdConfigGetArgs> FluentdConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingFluentdConfigGetArgs> |
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<ClusterLoggingKafkaConfigGetArgs> KafkaConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingKafkaConfigGetArgs> |
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<ClusterLoggingSplunkConfigGetArgs> SplunkConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingSplunkConfigGetArgs> |
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<ClusterLoggingSyslogConfigGetArgs> SyslogConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterLoggingSyslogConfigGetArgs> |