-
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
[TSVB] Visualize runtime fields #82438
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
@alexwizp I would love your thoughts on that. |
After syncing with @mattkime and @stacey-gammon it seems that:
Problems with this approach:
Problems with this approach: cc @mattkime |
We are going to proceed with enhancing the current implementation of TSVB. This means that we are not going to fully support index patterns right now, but we are going to enhance the low-level API to also retrieve the runtime fields and their definitions. TSVB already fetches the index patterns from the
so it partially supports index patterns. Moreover, Timelion already does something similar for the scripted fields. What needs to be done is to change the fields API to also retrieve the index pattern (from the string), recognize if it is a runtime field and get its definitions. In case of a runtime field, the definitions should be populated on the queries. TSVB won't provide the edit runtime functionality. It will only visualize runtime fields. The main reason for that is that the fields are populated on a combobox so it is not user friendly to have an edit button there. One important note: The API to retrieve the definitions for a runtime field is available on OSS so this won't cause any problems. With that being said, I will remove the discuss label and slightly change the title. |
We decided to enable a dual mode on TSVB. This means that it will support both index patterns and strings. Runtime fields will be available on the |
Blocked on #91367 |
Describe the feature:
With the current implementation of TSVB, index patterns are not supported. This creates some limitations, for example, if we want to support runtime fields and save them to index patterns and not visualizations.
TSVB uses the low-level Search API and
/api/metrics/fields
if the low-level Search API can support runtime fields this means that we should do some changes on the current implementation:
if the runtime fields will be supported on SearchSource then this means that:
The text was updated successfully, but these errors were encountered: