[Reporting] Switch to the new Elasticsearch client #95375
Labels
Feature:Reporting:Framework
Reporting issues pertaining to the overall framework
needs-team
Issues missing a team label
technical debt
Improvement of the software architecture and operational architecture
Reporting uses the
legacy
interface of the Elasticsearch service in a few places:These areas need to be updated to use the new Elasticsearch JS client. There already is an async method of the
ReportingCore
class that provides it (getEsClient
) but it might need to be converted to a synchronous method (use the service from the PluginSetup API instead of PluginStart?) to serve the new areas.After that's done, we need to update Reporting status on the Meta issue: #83910
Documentation: https://www.elastic.co/guide/en/kibana/current/migrating-legacy-plugins-examples.html#_elasticsearch_client
The text was updated successfully, but these errors were encountered: