diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts b/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts index 3814731458452..418d8080a3904 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts @@ -182,7 +182,7 @@ export const appendFilterToESQLQueryFromValueClickAction = ({ const queryString = query.esql; queryWithFilter = appendWhereClauseToESQLQuery( queryString, - column.id, + column.name, value, '+', column.meta?.type