-
Notifications
You must be signed in to change notification settings - Fork 278
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
`time_series_dimension` determine whether field will be used by Opensearch Dashboards to build histogram or not. Fixing issue: quickwit-oss#5003
@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. |
`time_series_dimension` determine whether field will be used by Opensearch Dashboards to build histogram or not. Fixing issue: quickwit-oss#5003
@kuzaxak That's absolutely awesome, thank you for sharing the script, the approach and the screenshot, The hack is really cool! |
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: