-
Notifications
You must be signed in to change notification settings - Fork 291
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
Add support for time_series_dimension
flag in _elastic/{index}/_field_caps
API method
#5003
Comments
@kuzaxak have you started experimenting with adding opendashboard support by any chance? I'd love to exchange if you have more info on other missing pieces. |
Yes, I was able to migrate our Opensearch dashboard completely to quickwit backend. But I'm using a proxy to monkey patch some responses of quickwit. I can share a proxy code, it is a simple python flask app. |
@fulmicoton here you can find a proxy server code. I'm using quickwit as an external source not to deal with auth, dashboards storage, etc.
![]()
![]() This way I'm using security features and SAML from OSD and logs storage and querying from Quickwit. |
@kuzaxak That's absolutely awesome, thank you for sharing the script, the approach and the screenshot, The hack is really cool! |
Sorry for confusion, this particular field is in spec of ES. And due to missing spec of OpenSearch I was thinking that is it required. Apparently it is not implemented in OS and net needed. Will continue with next methods to make sure that QuickWit is compatible via light proxy (no request \ response modifications needed). |
Opensearch Dashboards calling
_field_caps
to build an index pattern. To use quickwit natively as an external data source for it dashboards need to determine a timestamp field to render histogram, such fields listed on index pattern settings page. For that it relies on atime_series_dimension
flag in<field>.<type>.time_series_dimension
.Link to the doc.
Describe the solution you'd like
Filed chosen as
timestamp_field
in index should be marked astime_series_dimension
in_field_caps
output.Describe alternatives you've considered
I've made a little proxy to query
/api/v1/indexes?index_id_patterns=
and patch response of_field_caps
method.Additional context
I'm working on integrating quickwit as an Opensearch Dashboards backend to replace existing setup which is using regular Opensearch.
The text was updated successfully, but these errors were encountered: