Skip to content
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

[Logs UI] Update alert executor tests #75764

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export async function getChartPreviewData(
const { rangeFilter } = buildFiltersFromCriteria(expandedAlertParams, timestampField);

const query = isGrouped
? getGroupedESQuery(expandedAlertParams, sourceConfiguration.configuration, indexPattern)
: getUngroupedESQuery(expandedAlertParams, sourceConfiguration.configuration, indexPattern);
? getGroupedESQuery(expandedAlertParams, timestampField, indexPattern)
: getUngroupedESQuery(expandedAlertParams, timestampField, indexPattern);

if (!query) {
throw new Error('ES query could not be built from the provided alert params');
Expand Down
Loading