Skip to content

Commit ad9222d

Browse files
authored
Merge pull request #771 from SumoLogic/SUMO-0-add-terraform-support-for-searchable-time-dashboard
SUMO-0: Add terraform support for searchable time dashboard
2 parents dd46f77 + 97806e1 commit ad9222d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## X.Y.Z (Unreleased)
22
* Add new change notes here
33

4+
ENHANCEMENTS:
5+
* Add support for searchable time for dashboard field time_source
6+
47
BUG FIXES:
58
* When the email of a sumologic_user is changed, instead of silently doing nothing, an error will be raised to the user
69

sumologic/resource_sumologic_dashboard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func getSumoSearchPanelQuerySchema() map[string]*schema.Schema {
371371
Type: schema.TypeString,
372372
Optional: true,
373373
Default: "Message",
374-
ValidateFunc: validation.StringInSlice([]string{"Message", "Receipt"}, false),
374+
ValidateFunc: validation.StringInSlice([]string{"Message", "Receipt", "Searchable"}, false),
375375
},
376376
"transient": {
377377
Type: schema.TypeBool,

website/docs/r/dashboard.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ One of `Basic` or `Advanced`.
378378
While in the Manual mode, no fields are parsed out automatically.
379379
For more information see [Dynamic Parsing](https://help.sumologic.com/?cid=0011).
380380
- `time_source` - This field only applies for queryType of `Logs` but other query types may be supported in the future.
381-
Define the time source of this query. Possible values are `Message` and `Receipt`.
382-
`Message` will use the timeStamp on the message, while `Receipt` will use the timestamp it was received
383-
by Sumo.
381+
Define the time source of this query. Possible values are `Message`,`Receipt` and `Searchable`.
382+
`Message` will use the timeStamp on the message, `Receipt` will use the timestamp it was received by Sumo,
383+
and `Searchable` will use the timeStamp the message becomes searchable by Sumo (this will be later than it was received).
384384
- `transient` - (Optional) This field only applies for queryType of `Metrics` but other query types may be supported in the future. Determines if the row should be returned in the response. Can be used in conjunction with a join, if only the result of the join is needed, and not the intermediate rows. Setting `transient` to `true` wherever the intermediate results aren't required speeds up the computation and reduces the amount of data transferred over the network.
385385
- `output_cardinality_limit` - (Optional) This field only applies for queryType of `Metrics` but other query types may be supported in the future. Specifies the output cardinality limitations for the query, which is the maximum number of timeseries returned in the result.
386386

0 commit comments

Comments
 (0)