Skip to content

Commit 18af019

Browse files
add documentation for timezone
1 parent e29828e commit 18af019

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sumologic/resource_sumologic_scheduled_view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func resourceSumologicScheduledView() *schema.Resource {
7070
Type: schema.TypeString,
7171
Optional: true,
7272
Computed: true,
73-
Description: "Time zone for ingesting data in scheduled view. Follow the format in the IANA Time Zone Database.",
73+
Description: "Time zone for ingesting data in scheduled view. Follow the format in the [IANA Time Zone Database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).",
7474
},
7575
},
7676
}

website/docs/r/scheduled_view.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ QUERY
2525
prevent_destroy = true
2626
ignore_changes = [index_id]
2727
}
28+
time_zone = "America/Los_Angeles"
2829
}
2930
```
3031

@@ -41,6 +42,7 @@ The following arguments are supported:
4142
- `data_forwarding_id` - (Optional) An optional ID of a data forwarding configuration to be used by the scheduled view.
4243
- `parsing_mode` - (Optional, Forces new resource) Default to `Manual`. Define the parsing mode to scan the JSON format log messages. Possible values are: `AutoParse` - In AutoParse mode, the system automatically figures out fields to parse based on the search query. `Manual` - While in the Manual mode, no fields are parsed out automatically. For more information see Dynamic Parsing.
4344
- `reduce_retention_period_immediately` - (Optional) This is required on update if the newly specified retention period is less than the existing retention period. In such a situation, a value of true says that data between the existing retention period and the new retention period should be deleted immediately; if false, such data will be deleted after seven days. This property is optional and ignored if the specified retentionPeriod is greater than or equal to the current retention period.
45+
- `time_zone` - (Optional) Time zone for ingesting data in scheduled view. Follow the format in the [IANA Time Zone Database][3].
4446

4547
The following attributes are exported:
4648

@@ -56,3 +58,4 @@ terraform import sumologic_scheduled_view.failed_connections 1234567890
5658

5759
[1]: https://help.sumologic.com/Manage/Scheduled-Views
5860
[2]: https://api.sumologic.com/docs/#operation/listScheduledViews
61+
[3]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List

0 commit comments

Comments
 (0)