-
Notifications
You must be signed in to change notification settings - Fork 917
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
[BUG] #7964
Comments
Hi @ravi96b could you please provide more info? like which OFD versions you are using? screenshots will be helpful, thanks! |
Hi @CCongWang , The OFD version using v 2.7.0 . Timezone for date formatting is the parameter which i want make changes , i want to persist the timezone to always to UTC . |
Hi @CCongWang / Colleagues, Any update?. Regards, |
@ravi96b after you made the change, can you do a additional check with dev tools for below request? make sure
An example response {
"_index": ".kibana_4",
"_id": "config:3.0.0",
"_score": 3.7711172,
"_source": {
"config": {
...
"dateFormat:tz": "UTC"
},
"type": "config",
"references": [],
"migrationVersion": {
"config": "7.9.0"
},
"updated_at": "2024-10-15T10:05:53.211Z"
}
} |
Hi @Hailong-am The purpose is not validation; instead of making the changes every time from the OpenSearch dashboard (UI), we want to persist the change to dateFormat: "UTC". Therefore, we request guidance on how to achieve this in the configuration files. Because the changes get reverted back to dateFormat:"browser time" after ofd restart . |
I see, try this in your uiSettings:
overrides:
"dateFormat:tz": "UTC" |
Describe the bug
Display logs in UTC instead of Browser time.
In the current OFD logging stack is there any way to change the timezone to default UTC in code level as whenever we run the cluster setup job(basically will reatrt the opensearch) the OpenSearch dashboard timezone is selected as browser.
Then we need to manually change the timezone to UTC which will be persisted only till the next cluster setup job.
Can we add this feature into the OFD logging stack?.
Actually, I also wanted to understand if there is a way to achieve this through configuration files, or if it can only be done via the UI?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
OpenSearch Version
Please list the version of OpenSearch being used.
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: