-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Timezone of Kibana log #8488
Comments
In terms of which timezone gets used (local vs UTC), we should standardize around the behavior that is currently used by Elasticsearch. |
That'd be nice, yeah. On Tue, Oct 4, 2016 at 10:46 AM, Brandon Kobel [email protected]
|
I misspoke earlier when I said that it was using UTC. I was looking at the logs from Elasticsearch running in a Docker container, and it appears the timezone for the container was set to UTC, misleading me. TLDR; Elasticsearch appears to by default use the local timezone for stdout logs and their rolling file logs. Should we consider changing our files logs to no longer use UTC? Elasticsearch is using Log4j, and the pattern itself is configurable for the Console/File appenders. The default date layout for the appenders is |
@kobelb Let's do UTC all around. No surprises there, and we don't introduce a change to file log formats. |
Seems reasonable to me! I will make it so. |
Kibana version:
4.5.x
Description of the problem including expected versus actual behavior:
When kibana logs to stdout(
logging.dest: stdout
), it uses local time. When it logs to file(logging.dest: /path/to/logfile
), it uses UTC.Should it use the same timezone?
The text was updated successfully, but these errors were encountered: