-
Notifications
You must be signed in to change notification settings - Fork 206
[DOCS] "Create rule" updates: rule preview, saved queries #2559
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
Conversation
|
Documentation previews: |
(Preview is now available at any step)
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.
benironside
left a comment
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.
Looks good, just two minor suggestions
Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
vitaliidm
left a comment
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.
saved query notes LGTM
Thanks @nastasha-solomon, good catch! I've fixed the screenshot in this PR so we have it correct in 8.5 and going forward, and #2570 can follow up with fixing any backports. IMO it's a pretty low priority fix for backporting, especially weighing the complexity; looks like it'll take multiple different screenshots and probably require manual backports, and it's been like this for a few versions and even QA never caught it. |
e40pud
left a comment
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.
Preview notes LGTM! Maybe we could add couple more notes (not sure if needed though):
- We can preview pre-built rules with the latest changes
- The difference between Refresh button states. There are two states (indicated by green and blue button colors). "Green button" indicates that there were some rule configuration or time range changes which will affect the preview results. "Blue button" indicates that we can refresh preview results with the same rule configurations, but updated time range in case of relative time range specified (like "last 2 hours", "last day" etc.). Happy to provide more details about this one, if it sounds a bit confusing. :-)
Hi @e40pud, thanks for these notes! They definitely sound worth adding, especially the button colors which I didn't know about. I'll play around with the feature and let you know if I have any questions, will push a revision soon. |
|
Update: I pushed an update to address @e40pud's feedback (mention prebuilt rules, explain Refresh button), and the docs preview now reflects this too. |
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com>
marshallmain
left a comment
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.
Looks great, thanks Joe!
* First draft * Remove preview from ordered steps (Preview is now available at any step) * Update screenshot, edits * Add saved query checkbox, other related * Typo * Apply suggestions from Ben's review Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com> * Fix outdated screenshot * Add refresh button details, mention prebuilt rules * Apply suggestions from Marshall's review Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com> Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com> Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com> (cherry picked from commit be778eb)
) * First draft * Remove preview from ordered steps (Preview is now available at any step) * Update screenshot, edits * Add saved query checkbox, other related * Typo * Apply suggestions from Ben's review Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com> * Fix outdated screenshot * Add refresh button details, mention prebuilt rules * Apply suggestions from Marshall's review Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com> Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com> Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com> (cherry picked from commit be778eb) Co-authored-by: Joe Peeples <joe.peeples@elastic.co>
Related issues — Both of these features involved updating the "Create a detection rule" page, so they're streamlined into a single docs PR:
Preview: Create a detection rule
There are a lot of changes scattered throughout the page. Some highlights: