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

Use local time for Kibana logging #12175

Closed
ppf2 opened this issue Jun 5, 2017 · 2 comments
Closed

Use local time for Kibana logging #12175

ppf2 opened this issue Jun 5, 2017 · 2 comments
Labels
blocked enhancement New value added to drive a business result release_note:breaking Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@ppf2
Copy link
Member

ppf2 commented Jun 5, 2017

In #8488, we addressed the timezone differences between Kibana's stdout and log file logging by using utc time for both.

This is an enhancement request to have Kibana change from utc to local time logging:

  • This will make it easier for admins to correlate timestamps between Kibana and Elasticsearch (which defaults to local time)
  • This makes logging consistent across products in the Elastic stack (the other products log using local time by default).
@alexfrancoeur alexfrancoeur added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jun 16, 2017
@alexfrancoeur
Copy link

Related to #8499

@epixa
Copy link
Contributor

epixa commented Jun 19, 2017

My preference in general is to have UTC as the default timezone for logs, but consistency is ideal here, so if Elasticsearch is committed to keeping local time as their default, then we can make that change for Kibana as well. To make this change safely without negatively impacting production installs that are relying on the current timezone behavior, we should tackle this in a couple of steps:

  1. Make the timezone configurable Customize timezone in Kibana server log #8499
  2. Deprecate the default UTC timezone in Kibana. This will need to be a docs change only to begin with, though we may want to add a startup warning if no specific timezone is configured as we approach the next major
  3. Change the default to local in the next major

We're out of time for getting the timezone configurability into 5.x or 6.0, so the earliest we can kick this off is in 6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New value added to drive a business result release_note:breaking Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

5 participants