-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Logs Explorer] Global search across integrations/datasets on DataSourceSelector #177731
Comments
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
@tonyghiani I looked into this and the following complication exists: The Some options:
As these objects are already mapped as nested, a filter could be set on the None of these options seem great to me - out of all of them, the mapping change with migration seems like the best option - we could introduce a new property Downside of that is that it would either introduce some redundancy in the saved object attributes or be a bigger refactoring in case we would change |
@kpollich what do you think about the above? More concretely, what I'm seeing is the follwing:
This will allows us to properly search on these datastream names, along with the name of the integration |
Yes I think your approach is sound. If we have the data we want in a property today, but it's not indexed, the best path forward to me would be to move it into an index mapping and backfill that new property with a migration. I'm not sure if there's a formal way to deprecate the |
Thanks for the deep analysis @flash1293, I agree on the scarcity of great options, all of them seems to add a layer of complexity that is not a quick win. Regarding the proposed option of adding a new field to epm-packages that is derived from the |
Unfortunately there is no central place where all updates/create calls go through, which makes it brittle to maintain fields with redundant information. OTOH, there seems to be just a handful of places where I can take a stab at this - I would change it to:
mapped as:
For the existing usage, the current mapping logic to work with the data would only change in a trivial way, while we could do regular search on Wdyt @tonyghiani @kpollich ? |
To keep this up to date - the approach chosen above is not as simple as I thought because this kind of migration isn't really supported for serverless. Still seems like the best option to me, just more work than expected. Moving the search logic to the client seems like the easy way out, but I'm not sure about scalability. Historically this hasn't really been a problem (with data views there was a similar case and the 10k limit worked well so far for all use cases), so I would be OK to go into this direction if necessary. |
📓 Summary
🛑 Blocked by #177696
Searching datasets on the selector is a critical user journey to identify the logs users need as fast as possible.
To enhance this experience, we want to switch to a more complete search experience to handle a more flexible input and search across both integrations and datasets.
🎨 Design
The design is almost unchanged from the current one, we'll just remove the sorting option as they will be delegated to column headers. There is the design proposal on this Figma page that is going to be tested before being ready for implementation.
✔️ Acceptance Criteria
💡 Implementation hints
Here are the codebase parts that will probably be affected by these changes:
For this work will be necessary to make a new branch starting from this open PR #179413 to build on top of the latest design changes.
The text was updated successfully, but these errors were encountered: