-
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
[8.2.1] [Session view] Fix timestamps format #130568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -13,7 +13,7 @@ export const PROCESS_EVENTS_INDEX = 'logs-endpoint.events.process-*'; | |||
export const PREVIEW_ALERTS_INDEX = '.preview.alerts-security.alerts-default'; | |||
export const ENTRY_SESSION_ENTITY_ID_PROPERTY = 'process.entry_leader.entity_id'; | |||
export const ALERT_UUID_PROPERTY = 'kibana.alert.uuid'; | |||
export const KIBANA_DATE_FORMAT = 'MMM DD, YYYY @ hh:mm:ss.SSS'; | |||
export const KIBANA_DATE_FORMAT = 'MMM DD, YYYY @ HH:mm:ss.SSS'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think eventually this should come from the user configurable global kibana setting, example can be found here https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/public/common/lib/kibana/hooks.ts#L27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, I will add that in our backlog for us to improve later, thanks!
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @opauloh |
(cherry picked from commit dd5b807)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit dd5b807) Co-authored-by: Paulo Henrique <[email protected]>
it fixes #130563
Summary
Update Timestamp format to use a 00 to 23 Hour range, so users can distinguish between an AM or PM Time.
Screenshots
Process on Session View (15:42:31):

Same process on Discover (15:42:31):
