Reputation: 807
I want to set the time range of my dashboard permanently to 1 day. Unfortunately it will jump back to 3 hours when doing a browser refresh. Also each dashboard should have its own time range. So for example dashboard 1 should have 1 day time range and dashboard 2 should have 1 month time range by default. How can I achieve that?
Upvotes: 8
Views: 5564
Reputation: 12089
Set the dashboard range to what you want, then click Actions
-> Set default time range
. In the popup, select the first option: Always load this dashboard using the current time range setting
. Save the dashboard after that.
If you want to do it through code or CloudFormation, set the start
parameter in the dashboard source. Like this:
{
"start": "-P1D",
"widgets": [
...
]
}
Upvotes: 13