alerting-dashboards-plugin icon indicating copy to clipboard operation
alerting-dashboards-plugin copied to clipboard

[FEATURE] Time format settings not honored on Alerting

Open joriws opened this issue 3 years ago • 3 comments

Describe the bug

On settings I've setup 24h time formats "HH". How ever on "Alerts by triggers" -screen displays am/pm 12h times, so it probably means that Alerts UI template or something is not honoring set time formats. I want to setup ISO-8601 time format everywhere. On DB UI advanced settings I've search format etc to set "HH" everywhere I found related entry.

To Reproduce Steps to reproduce the behavior:

  • reading the description quite easy to figure out.

Expected behavior Discover and visualize shows time stamp in correct format, I'd expect Alerts and Anomaly Detection etc do the same, across all Open Search product.

OpenSearch Version docker: "opensearchproject/opensearch@sha256:4f49474dcb7345af0afe976221c1885dce2ceb7093516538b08cdd3bdfc33f20" "Labels": { "org.label-schema.build-date": "2022-05-19T01:45:11Z", "org.label-schema.description": "3810", "org.label-schema.license": "Apache-2.0", "org.label-schema.name": "opensearch", "org.label-schema.schema-version": "1.0", "org.label-schema.url": "https://opensearch.org", "org.label-schema.vcs-url": "https://github.com/OpenSearch", "org.label-schema.vendor": "OpenSearch", "org.label-schema.version": "2.0.0"

Dashboards Version docker: "opensearchproject/opensearch-dashboards@sha256:411610b14b72988f709770e5925a27f1a3977e2f60eb0e9e36723650744a3a49" "Labels": { "org.label-schema.build-date": "2022-05-20T01:03:33Z", "org.label-schema.description": "3936", "org.label-schema.license": "Apache-2.0", "org.label-schema.name": "opensearch-dashboards", "org.label-schema.schema-version": "1.0", "org.label-schema.url": "https://opensearch.org", "org.label-schema.vcs-url": "https://github.com/opensearch-project/OpenSearch-Dashboards", "org.label-schema.vendor": "Amazon", "org.label-schema.version": "2.0.0"

Plugins

Please list all plugins currently enabled. Do not know - standard docker image plugins? UI shows: image

Screenshots

If applicable, add screenshots to help explain your problem. image

settings image image

discover -date format image

OS index timest image

Host/Environment (please complete the following information): Browsing dashboards from

  • Windows 10
  • Chrome Version 102.0.5005.115 (Official Build) (64-bit)

Dashboards run on Ubuntu Linux 20.04 over Docker-CE

Additional context

Add any other context about the problem here.

joriws avatar Jun 16 '22 07:06 joriws

Hello @joriws,

Thanks for opening this. Will re-route to alerting plugin. For @opensearch-project/alerting-plugin. You can pull from the OpenSearch Dashboards config service for dateFormat:tz to apply to your date.

kavilla avatar Jun 16 '22 19:06 kavilla

Hi @joriws, The alerting dashboard plugin had not supported this before and used its own time format. However, this is a great suggested feature to have and we will look into this to support this.

lezzago avatar Jun 20 '22 21:06 lezzago

this is still utterly needed

ghost avatar Feb 17 '24 08:02 ghost