Skip to content

Commit f6a0fa7

Browse files
author
Liza K
committed
change how logs consume search API
1 parent 6e2180d commit f6a0fa7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ async function fetchLogsOverview(
8989
params: FetchDataParams,
9090
dataPlugin: InfraClientStartDeps['data']
9191
): Promise<StatsAndSeries> {
92-
const esSearcher = dataPlugin.search.getSearchStrategy('es');
9392
return new Promise((resolve, reject) => {
94-
esSearcher
93+
dataPlugin.search
9594
.search({
9695
params: {
9796
index: logParams.index,

0 commit comments

Comments
 (0)