Skip to content
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

[ML] Unable to load saved query in the log pattern analysis page #209152

Closed
gbamparop opened this issue Jan 31, 2025 · 2 comments · Fixed by #210556
Closed

[ML] Unable to load saved query in the log pattern analysis page #209152

gbamparop opened this issue Jan 31, 2025 · 2 comments · Fixed by #210556
Assignees
Labels
enhancement New value added to drive a business result Feature:File and Index Data Viz ML file and index data visualizer Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis :ml v8.19.0 v9.1.0

Comments

@gbamparop
Copy link
Contributor

📓 Summary

Saved queries created in Discover cannot be loaded in the log pattern analysis page using the search bar.

Screen.Recording.2025-01-31.at.18.27.52.mov
@gbamparop gbamparop added :ml bug Fixes for quality problems that affect the customer experience Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis labels Jan 31, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@peteharverson
Copy link
Contributor

We should look to hide the load / save query items in the menu for the AIOps pages and the data visualizer rather than show them as disabled while this functionality is not supported in these pages.

@peteharverson peteharverson added enhancement New value added to drive a business result v9.1.0 v8.19.0 and removed bug Fixes for quality problems that affect the customer experience v8.18.0 labels Feb 12, 2025
jgowdyelastic added a commit to jgowdyelastic/kibana that referenced this issue Feb 12, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
The AIOps pages in ML make use of the shared query bar component, but do
not support saved queries.
By having the load and save query options in the menu, it can give the
impression that these options are generally available but for some
reason cannot be used.
This PR adds a new optional flag which allows the load and save options
to be hidden from the menu.
The flag defaults to always showing the options.

Fixes elastic#209152

**Before**

![image](https://github.com/user-attachments/assets/a26a73d0-63b4-47c1-bfa2-8579b08dfe24)

**After**

![image](https://github.com/user-attachments/assets/4fe6937e-3c7d-4d15-98da-fdf472fc21ee)

(cherry picked from commit 36c764e)

# Conflicts:
#	src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu_panels.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:File and Index Data Viz ML file and index data visualizer Feature:ML/AIOps ML AIOps features: Change Point Detection, Log Pattern Analysis, Log Rate Analysis :ml v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants