Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging bucket index_configs documentation fixes #11048

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ resource "google_logging_billing_account_bucket_config" "example-billing-account
retention_days = 30
bucket_id = "_Default"

index_configs = {
file_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
index_configs {
field_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
}
}
```
Expand All @@ -62,7 +62,7 @@ The following arguments are supported:
<a name="nested_index_configs"></a>The `index_configs` block supports:

* `field_path` - The LogEntry field path to index.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation]( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation](https://cloud.google.com/logging/docs/analyze/custom-index) for details.

* `type` - The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ resource "google_logging_folder_bucket_config" "basic" {
retention_days = 30
bucket_id = "_Default"

index_configs = {
file_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
index_configs {
field_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
}
}
```
Expand All @@ -52,7 +52,7 @@ The following arguments are supported:
<a name="nested_index_configs"></a>The `index_configs` block supports:

* `field_path` - The LogEntry field path to index.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation]( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation](https://cloud.google.com/logging/docs/analyze/custom-index) for details.

* `type` - The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ resource "google_logging_organization_bucket_config" "basic" {
retention_days = 30
bucket_id = "_Default"

index_configs = {
file_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
index_configs {
field_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
}
}
```
Expand All @@ -51,7 +51,7 @@ The following arguments are supported:
<a name="nested_index_configs"></a>The `index_configs` block supports:

* `field_path` - The LogEntry field path to index.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation]( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation](https://cloud.google.com/logging/docs/analyze/custom-index) for details.

* `type` - The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ resource "google_logging_project_bucket_config" "example-project-bucket-index-co
retention_days = 30
bucket_id = "custom-bucket"

index_configs = {
file_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
index_configs {
field_path = "jsonPayload.request.status"
type = "INDEX_TYPE_STRING"
}
}
```
Expand Down Expand Up @@ -156,7 +156,7 @@ See [Enabling CMEK for Logging Buckets](https://cloud.google.com/logging/docs/ro
<a name="nested_index_configs"></a>The `index_configs` block supports:

* `field_path` - The LogEntry field path to index.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation]( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See [indexing documentation](https://cloud.google.com/logging/docs/analyze/custom-index) for details.

* `type` - The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.

Expand Down
Loading