elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.16k forks source link

[snapshot_and_restore] Cron tab / "Schedule" does not align with "Next Snapshot Time" #164223

Open nicpenning opened 1 year ago

nicpenning commented 1 year ago

Kibana version: 8.9.0 Elasticsearch version: 8.9.0

Describe the bug: When setting up the scheduling for the snapshots in Kibana, it appears that the time used is already based on the time zone of the browser. Having a cron or schedule set to 1:30 AM displays at 8:30 PM (-5 for Central Time) and actually executes at 1:30 AM (based on observed snapshot activity)

Steps to reproduce:

  1. Create a snapshot repo (I tested with Azure)
  2. Create a snapshot policy with any time
  3. Observe that in Kibana the that schedule is mismatched and the actual time that the snapshot starts is the cron time and not the "Next Snapshot Time"

Expected behavior: I would like to expect that if I set the schedule to 1:30 AM every day then it occurs at 1:30 AM every day in my time zone which seems to be the case, however, the UI tells me differently (from what I can tell).

Screenshots (if relevant): image

Flyout shows this as well image

elasticmachine commented 1 year ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

elasticmachine commented 2 weeks ago

Pinging @elastic/kibana-management (Team:Kibana Management)