-
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
[Alerting] Improve creation and editing of "Elasticsearch query" rule in Management #134763
Merged
Merged
Changes from 51 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
6d7f00d
[Alerting][Discover] Add query form type selection for ES query
jughosta b27a92c
[Alerting] Add labels
jughosta 10c4ed0
[Alerting] Unify common rule expressiosn
jughosta 6f2d4b6
[Alerting] Fix code style
jughosta 1873c56
[Alerting] More refactoring
jughosta baa0b29
[Alerting] Show different UI based on user choice
jughosta bb7e0f1
[Alerting] Improve validation and reset rule params when view changes
jughosta f03a99a
Resolve conflicts
jughosta 38c5bfb
Merge branch 'main' into 134183-alert-management
kibanamachine d64ceca
[Alerting] Fix button color
jughosta c3638ea
[Alerting] Revert tmp changes
jughosta 1f6df47
[Alerting] Fix query input
jughosta 01fed98
[Alerting] Fix thresholdComparator and timeWindowUnit changes
jughosta 9906708
[Alerting] Unify UI for different query form types
jughosta a92802b
[Alerting] Clean up translations
jughosta c81e760
[Alerting] Fix for tests
jughosta f5d4f13
[Alerting] Update help tooltips
jughosta a95db6d
[Alerting] Preselect a default data view
jughosta 71c801e
[Alerting] Add validation tests
jughosta 2ede803
[Alerting] Add more tests
jughosta ba7dbd3
Merge branch 'main' into 134183-alert-management
kibanamachine f890da1
[Alerting] Add the smaller title
jughosta 1f57bb5
[Alerting] Fix localization bug
jughosta e5286ae
[Alerting] Fix rules editing view
jughosta 176bfdc
[Alerting] Fix layout for mobile
jughosta 7f0a248
Merge branch 'main' into 134183-alert-management
kibanamachine 19a0deb
Merge branch 'main' into 134183-alert-management
kibanamachine 4686e08
Merge branch 'main' into 134183-alert-management
kibanamachine 73f512a
Merge branch 'main' into 134183-alert-management
kibanamachine ef4eb77
[Alerting] Address PR comments
jughosta d238453
[Discover] unify searchType and formType
dimaanj 1bfbe98
[Alerting] Allow to create new data views from Data View Expression
jughosta 3965032
[Alerting] Fix lint issue
jughosta b6972ab
Merge branch '134183-alert-management' of https://github.com/jughosta…
dimaanj 5f66599
[Discover] fix management and discover views
dimaanj 7571577
[Discover] remove redundant prop
dimaanj 660cb6f
[Alerting] Add validation message when query type is not selected yet
jughosta 07c185f
Merge remote-tracking branch 'dima/134183-alert-management' into 1341…
jughosta 5a2c154
[Alerting] Update validations
jughosta d5fd714
[Alerting] Update tests
jughosta 763da99
[Alerting] Update tests
jughosta 6bff722
[Alerting] Update tests
jughosta 8d9daec
[Alerting] Prioritize index errors
jughosta ae53bb0
Merge branch 'main' into 134183-alert-management
kibanamachine 79fefd0
[Alerting] Fix size validation
jughosta b6dd854
[Alerting] Fix timeWindowSize validation
jughosta b174aaa
[Alerting] Address CI issues
jughosta 24c2f04
Merge branch 'main' into 134183-alert-management
kibanamachine 1646703
Merge branch 'main' into 134183-alert-management
kibanamachine de47a00
Merge remote-tracking branch 'upstream/main' into 134183-alert-manage…
jughosta 36ac022
Address plugins concurrency effect on sample data server API
jughosta 6191091
Merge remote-tracking branch 'upstream/main' into 134183-alert-manage…
jughosta 7b3e255
[Alerting] Remove deprecated strings
jughosta 6c4aaee
[Alerting] Update copy and spacing
jughosta 79d7ee9
[Alerting] Cleanup translations
jughosta 9452d3d
[Alerting] Unify labels key
jughosta e202725
[Alerting] Update copy
jughosta f5a8a31
[Alerting] Update copy key
jughosta 0aae012
[Alerting] Bring back the original label
jughosta 012e558
Merge remote-tracking branch 'upstream/main' into 134183-alert-manage…
jughosta 4adac03
[Alerting] Update after the merge
jughosta 20a2ad3
[Alerting] Update validation message
jughosta 12ec63e
[Alerting] Update styles for Create a data view button
jughosta 27451c2
[Alerting] Add message about missing privilieges
jughosta 2c10e79
Merge branch 'main' into 134183-alert-management
kibanamachine fd61f43
[Alerting] Reduce padding in data view selector
jughosta 5c27116
[Alerting] Update copy
jughosta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
When I create a user who can create stack rules but has no access to create data views and I have no data views available, I see this:

Wondering if there should be any helper text about needing the right privileges to create data views?
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.
Added the following message to the popover. Wdyt @ymao1 @gchaps ?
cc @andreadelrio
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.
Here is my suggestion:
You need additional privileges to create data views. Contact your administrator.
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.
@gchaps Thanks Gail! Updated the copy.