SAML redirects with Kibana’s hash-based routing
Kibana uses hash-based routing, and as such Kibana’s server doesn’t have access to the full URL when initiating the SAML handshake with the IdP. This resulted in users not being fully redirected to their initial routes after login. The team has implemented an intermediary HTML page to capture the full URL, so users are now properly redirected after logging in using SAML.
We’ve improved the experience of consuming New Platform APIs from legacy plugins, by making the APIs available more consistent and adding types to Elasticsearch APIs. This eases the migration process for plugin teams.
We’ve gotten some help to squash a few Saved Objects bugs affecting customers (#47248, #47223). We also improved the API types for the SavedObject client to improve flexibility of consuming SavedObjects.
We added metadata logging support in the New Platform. This bridges the gap between LP and NP logging capabilities and unblocks migrations for a few Core services, like UiSettings.
For NP plugin migrations, 6 PRs were merged this week from plugin teams. All 6 were from the App Architecture team.
We started looking into a requested feature (kibana # 12259) called log rotation and define how we will implement the feature for the time being.
- Increase tooltip max width and move feature pagination controls to top of tooltip
- Use new ems-client dependency
- retrieve geo_point value from docvalue_fields instead of _source
- Allow users to sort Elasticsearch documents and top hits
- use pre-indexed shapes in shape filters when shape is stored in elasticsearch
Data Access Services
A PR has been merged that switches our querying from using the
_msearch Elasticsearch endpoint to
_search. This effectively means that requests will be made individually, and dashboard panels will load individually when they complete rather than waiting for the slowest query to return. It also means we now take advantage of query cancellation in Elasticsearch when a user navigates away, or issues a new search.
First iteration of our search services has been merged (#46742). To play around with the services in Kibana, and see how they are used (and tested!). Run Kibana via:
yarn start --plugin-path test/plugin_functional/plugins/demo_search/ --plugin-path test/plugin_functional/plugins/search_explorer/
<code> And navigate to the Search Explorer app. There you can see how the search service is being used in a New Platform application, as well as how a demo search strategy is registered.
Kibana App (Visualizations, Sharing, Discover)
Spent the week fixing and identifying the major blockers for a Beta release, and prioritized them. We are implementing the most granular telemetry in Kibana to track usage in Lens in 30-day and 90-day intervals for about 20 different events, as well as to understand whether our funnel from first use to save is working the way we want. We are also working on improving the list of fields to be more performant and accurate.
Other changes last week:
- OSS Visualize now gets telemetry on click
- We are using the regular save modal
- We fixed several bugs in the dimension editors
- Updating the empty state to show we will be in beta
The Legend now shows upper and lower series values for banded area charts (elastic-charts/#398).
In elastic-charts 13.5 we are finally applying a zero value on missing data points for stacked area charts. This is a preliminary work toward handling data uncertainty: (elastic-charts/#388#issuecomment)
Few fixes also landed on elastic-charts 13.5 release:
- an issue causing bad rendering when hiding/showing a mixed set of series (line/area + bars) from the Legend toggle was fixed in (elastic-chart/#410)
- a bug was wrongly rendering bars on log scales: fixed in (elastic-charts/#413)
With the merge of #47847 the field filter style will be Lens-like
Next PRs will take care of the fields filter form #47357, and the migration of Discover to the new platform.
Due to Kibana App fix it week most of the progress for Graph were small improvements and bug fixes. With the merge #47324 the phrasing within Graph improved significantly.
Besides that the following PRs got merged:
- #47447 Always check for valid license
- #46914 Improve test coverage of sagas
- #47394 Move more things into redux/saga setup
- #47587 Fix bug related to drilldown URL building
- #47053 Increase function test stability and re-enable them
- #47560 Properly clean up settings when switching index pattern
- #47667 Fix some styling issues
Small improvements and bug fixes were made during Kibana App fix it week.
The following PRs were merged:
- #47407 Discover should automatically apply the query input from a saved query
- #47406 Fix bug related to using more than 20 saved queries
- #46963 Prevent changes to search bar on save
Discover redesign concepts
We’re working with the Kibana App team to rethink the Discover app based on the upcoming EuiDataGrid component. The goal is to make Discover more immediately friendly and lean into its strengths as a data viewer.
Maps tooltip improvements
We’ve been helping out the maps team clean up their tooltips. These made their way in through some PRs earlier in the week. Here’s a screen.
We’re working with the Kibana App team to improve the Graph experience. This will be a fairly long term project and these mocks are early, but it’s fun to see so much movement on that applications lately.
We finished working on moving ui_metrics to new platform (#47676). We will be merging OSS telemetry and moving the metrics plugin for 7.5. We had a meeting to start rethinking Stack Telemetry.
Make It Action/Alerting
New platform shims for alerting and actions plugin are now merged: https://github.com/elastic/kibana/pull/46954 and #47256. alertId is now passed to the alert type executor: #47379 We fixed a bug where users were unable to create alerts when ES security is disabled but Kibana security plugin is enabled #47504.
We also added KQL support for filtering alerts and actions #47530, cleaned up references no longer having to be passed in alerts and actions client on update #47548, and added missing docs: #47513 and #47515.
We fixed an issue where the Kibana plugin would "complete" before an async operation of setting the Kibana UUID was completed, meaning that other plugins, such as Task Manager, could startup before a UUID is available and hence fail to start correctly. #47741
We also added a bulkUpdate api to the various Saved Objects clients (including secure and encrypted clients) which allows us to begin work on parallelizing various Update operations such as the multiple update calls made by Task Manager, speeding up these processes. #47540 We also began work parallelizing the calls made by Task Manager to Elasticsearch when running tasks.#48053
UI text reviews are underway. If you need eyes on your UI text, reach out and let us know.
We’ve started the docs for: