How to adjust the execution time of the task of Index Rotate

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
My graylog (5.2.2) setted the Rotation period to P1D (1 day, a day), but the Index Rotate job is executed at 8 o’clock, I think it is caused by my timezone (I am in the +8), how can I adjust it to CST 0 o’clock ?

[root@graylogb ~]# date -u
Thu Mar 21 01:06:29 UTC 2024
[root@graylogb ~]# date
Thu Mar 21 09:06:37 CST 2024

2. Describe your environment:

  • OS Information:
    Centos 7.9

  • Package Version:
    graylog-server-5.2.2-1.x86_64

  • Service logs, configurations, and environment variables:

3. What steps have you already taken to try and solve the problem?
[root@graylogb ~]# grep timezone /etc/graylog/server/server.conf
root_timezone = Asia/Shanghai

[root@graylogb ~]# grep timezone /etc/sysconfig/graylog-server
GRAYLOG_SERVER_JAVA_OPTS=" -server -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -Duser.timezone=Asia/Shanghai"

4. How can the community help?

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.