-
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
[SecuritySolution] Fix bucket names in legend #156764
Conversation
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
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.
tested, works as expected, code LGTM I pushed a commit with some more types fixes, unit tests and storybook stories as well
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @angorayc |
## Summary issue: elastic#156636 This PR is to fix the bucket name in the legend. When Stack by `@timestamp`, the bucket names in the legend were not formatted. In this PR, it parses it with users' `local` timezone and formate: <img width="2549" alt="Screenshot 2023-05-05 at 00 01 16" src="https://user-images.githubusercontent.com/6295984/236348010-6ebfae4f-6f0e-4e33-9f06-ebc887adb108.png"> https://user-images.githubusercontent.com/6295984/236355789-3438ad32-fb4f-4270-8b4e-11c56b1b5d02.mov --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: PhilippeOberti <[email protected]> (cherry picked from commit f2a268c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.8`: - [[SecuritySolution] Fix bucket names in legend (#156764)](#156764) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Angela Chuang","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-05T10:01:02Z","message":"[SecuritySolution] Fix bucket names in legend (#156764)\n\n## Summary\r\n\r\nissue: https://github.com/elastic/kibana/issues/156636\r\n\r\nThis PR is to fix the bucket name in the legend.\r\nWhen Stack by `@timestamp`, the bucket names in the legend were not\r\nformatted.\r\nIn this PR, it parses it with users' `local` timezone and formate:\r\n\r\n<img width=\"2549\" alt=\"Screenshot 2023-05-05 at 00 01 16\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/236348010-6ebfae4f-6f0e-4e33-9f06-ebc887adb108.png\">\r\n\r\n\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/6295984/236355789-3438ad32-fb4f-4270-8b4e-11c56b1b5d02.mov\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: PhilippeOberti <[email protected]>","sha":"f2a268cc295b0a7676126ca22c29cee979905b8c","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat Hunting","Team: SecuritySolution","Team:Threat Hunting:Explore","v8.8.0","v8.9.0"],"number":156764,"url":"https://github.com/elastic/kibana/pull/156764","mergeCommit":{"message":"[SecuritySolution] Fix bucket names in legend (#156764)\n\n## Summary\r\n\r\nissue: https://github.com/elastic/kibana/issues/156636\r\n\r\nThis PR is to fix the bucket name in the legend.\r\nWhen Stack by `@timestamp`, the bucket names in the legend were not\r\nformatted.\r\nIn this PR, it parses it with users' `local` timezone and formate:\r\n\r\n<img width=\"2549\" alt=\"Screenshot 2023-05-05 at 00 01 16\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/236348010-6ebfae4f-6f0e-4e33-9f06-ebc887adb108.png\">\r\n\r\n\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/6295984/236355789-3438ad32-fb4f-4270-8b4e-11c56b1b5d02.mov\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: PhilippeOberti <[email protected]>","sha":"f2a268cc295b0a7676126ca22c29cee979905b8c"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156764","number":156764,"mergeCommit":{"message":"[SecuritySolution] Fix bucket names in legend (#156764)\n\n## Summary\r\n\r\nissue: https://github.com/elastic/kibana/issues/156636\r\n\r\nThis PR is to fix the bucket name in the legend.\r\nWhen Stack by `@timestamp`, the bucket names in the legend were not\r\nformatted.\r\nIn this PR, it parses it with users' `local` timezone and formate:\r\n\r\n<img width=\"2549\" alt=\"Screenshot 2023-05-05 at 00 01 16\"\r\nsrc=\"https://user-images.githubusercontent.com/6295984/236348010-6ebfae4f-6f0e-4e33-9f06-ebc887adb108.png\">\r\n\r\n\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/6295984/236355789-3438ad32-fb4f-4270-8b4e-11c56b1b5d02.mov\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: PhilippeOberti <[email protected]>","sha":"f2a268cc295b0a7676126ca22c29cee979905b8c"}}]}] BACKPORT--> Co-authored-by: Angela Chuang <[email protected]>
Summary
issue: #156636
This PR is to fix the bucket name in the legend.
When Stack by
@timestamp
, the bucket names in the legend were not formatted.In this PR, it parses it with users'
local
timezone and formate:Screen.Recording.2023-05-04.at.23.59.21.mov