How do I update Elasticsearch timezone data? - elasticsearch

In Brazil we are having a huge problem related with daylight saving time, because the start date was delayed by the President.
Apparently, my cluster thinks that we are in -0200 at America/Sao_Paulo, but actually we are in -0300 yet.
How can I update timezone data? The linux server timezone data is correct.

The Brazil change you mentioned was recorded in version 2018a of the time zone data. You likely have an older version installed.
This isn't related to elasticsearch. You simply need to make sure the time zone data on your operating system is up to date. This is in the tzdata package for most Linux distributions.

Related

How to apply timezone to Log4j2 RollingFile?

There seems to be a bug in the past, hasn't it been fixed yet?
Even if a separate timezone is applied to my console log and file name, the actual rollover time is always the server time.
Is there any way to make this rollover time follow my timezone?

Heroku Scheduler Add On UTC Timezone cannot be changed

I have been working on a project that needs to complete a task at a certain time everyday. I am using the 'free' Heroku Scheduler Add-on and the task is completed, but the problem is that it is not completed in the exact time I set for it to be completed because the scheduler has a default UTC time zone that won't change even if the time zone for app is changed. Also, if there are daylight savings time changes (since it is a UTC time zone) it won't recognize that change and will do the task at the wrong time. Is there anyway to change the time zone to my desired one which would be in US/Eastern?
I already looked at Heroku Scheduler timezone? and it seems to be the online place with any information on it, but there are no instructions on how to fix the issue. Any help would be greatly appreciated.
Heroku Scheduler Task Setup Image
You can not change Heroku Scheduler Add-on time zone, only solution is to move the time checking logic to your app, for example you have to run it each hour, then in your app/command check if the time is the correct time, if it's not exist the app until current time meet your requirements

ElasticSearch 5.1.1 + Grafana 4.1.0 Time seems offset by UTC difference

I'm running Grafana 4.1.0_beta1 and Elasticsearch 5.1.1.
All my servers are setup for Mountain Time, I seem to be running into an issue where Grafana attempts to "account" for UTC, and offsets search parameters by 7 hours.
As an example;
date result from server; Wed Jan 4 20:10:54 MST 2017
But when I try to add and test a data source in Grafana, I get this error:
{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"metricbeat-2017.01.05","index_uuid":"_na_","index":"metricbeat-2017.01.05"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"metricbeat-2017.01.05","index_uuid":"_na_","index":"metricbeat-2017.01.05"}
While metricbeat-2017.01.05 does not exist, metricbeat-2017.01.04 does as it should.
When on a dashboard, I don't see any data, until I set the time, to anything over 7h prior.
I didn't see anything regarding timezone in the elasticsearch, or grafana config files.
Am I missing something?
Classic case of over analyzing.
It looked like everything was correct because it was, except for my client timezone.
Correct Timezone on local client
Ensure time is updated correctly
Restart web browser
You should be able to time shift the data back into range by 7h by going into added panel widget -> Time range -> Add time shift.
--If nothing else works that is.

SonarQube: is it possible to change the time zone in the JVM parameters?

I have a machine that runs several different servers and it's in a specific time zone in Central Europe.
I need to run SonarQube (4.5.7) in UTC time.
I uncommented the following line in web/WEB-INF/config/environment.rb and restarted SonarQube but the server still shows the original time zone on the System Info page.
config.time_zone = 'UTC'
Should that be enough to change the time zone in SonarQube? Because that didn't really work.
Is there a way I can pass the user.timezone property to the JVM by editing the wrapper.conf file? Looks like it could work but it doesn't look like I'm supposed to touch that file.
Thanks.
Internal files, including web/**/*, must not be touched.
To change JVM timezone, you should edit conf/sonar.properties and add the value -Duser.timezone=Europe/Sofia to properties sonar.web.javaAdditionalOpts, sonar.ce.javaAdditionalOpts and sonar.search.javaAdditionalOpts.

Can I change time zone of ArangoDB's logs?

I live in Japan, so wanna change time zone of ArangoDB's logs from default to UTC+9:00.
Maybe I have to change somewhere of config files but I couldn't make sense.
The time zone is always GMT. You could open a feature request on github https://github.com/triAGENS/ArangoDB/issues maybe a config option can be added. But this needs to be checked.

Resources