-
Notifications
You must be signed in to change notification settings - Fork 893
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
[BUG] Visualization Field dropdown list not loading all index pattern aggregatable fields #8722
Comments
I could see the problem but for opensearch dashboards sample data we also have nested fields and they could be loaded in visualization. @jackiehanyang could you share with me how you use ingest pipeline to process and flatten nested fields before indexing? and how to reproduce? thanks. |
@jackiehanyang more questions: I am reading the proposal you made in AD. So the ingest processor runs on the OpenSearch server side, not in Dashboards right? When a document is indexed, it goes through the ingest pipeline first. The processing happens before the document is actually stored. So the workflow is something like this: Original Document Is my understanding correct? So if the data is like
would be stored as
for OSD to query? could you share the mapping of this index pattern |
The reason why Jackie’s way is not working is due to the mapping is still Current Support
Missing Support
Technical LimitationsThe visualization limitation stems from three main issues:
Required ChangesProper nested field support requires:
Two workarounds until implementation
References
|
@ananzh I just wanted to clarify the problem here. It's not that we cannot visualize nested fields anymore, as mentioned in the original Kibana issue and OSD issue. We're already taking the second workarounds approach as I have already implemented a solution to pre-process the nested data before indexing it, so the nested fields are indexed along with their flattened versions as We are avoiding asking customers to make any configurations on their side to make this work. This is because customers may have multiple detectors, and we do not want them to customize configurations individually for each detector. Additionally, there is a significant gap between the Index Pattern and Visualization. While the Index Pattern shows that these fields are aggregatable, customers cannot actually aggregate them when building a visualization based on this index pattern. Can we actively work on a solution to bridge this gap for our customers? |
Describe the bug
On the Index Pattern page in the Dashboards Management section, I can see all fields associated with this index pattern. However, when building a visualization based on this index pattern, the Field dropdown is not loading all the fields that were shown on the Index Pattern page. For example, the aggregatable field
expected_values.likelihood
, which appears on the Index Pattern page, is not showing up in the Field dropdown on the visualization page.The text was updated successfully, but these errors were encountered: