Skip to content

Commit

Permalink
[Enterprise Search][Behavioral Analytics] Update formulas (elastic#15…
Browse files Browse the repository at this point in the history
…6704)

Fixing formula issues for explore tables

- ✔️ Remove event_type filter for location table
- ✔️ Aggrate by page.url.origin for top clicked table

(cherry picked from commit 75ace9c)
  • Loading branch information
yansavitski committed May 8, 2023
1 parent 86c670f commit bff98df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const tablesParams: {
requestParams: (
dataView,
{ timeRange, sorting, pageIndex, pageSize, search },
aggregationFieldName = 'search.results.items.page.url'
aggregationFieldName = 'page.url.original'
) =>
getBaseSearchTemplate(
dataView,
Expand Down Expand Up @@ -293,7 +293,7 @@ const tablesParams: {
getBaseSearchTemplate(
dataView,
aggregationFieldName,
{ eventType: 'page_view', search, timeRange },
{ search, timeRange },
{
formula: {
aggs: {
Expand Down

0 comments on commit bff98df

Please sign in to comment.