diff --git a/public/app/plugins/datasource/loki/querybuilder/operations.ts b/public/app/plugins/datasource/loki/querybuilder/operations.ts index e5418e8e550..63e347b4751 100644 --- a/public/app/plugins/datasource/loki/querybuilder/operations.ts +++ b/public/app/plugins/datasource/loki/querybuilder/operations.ts @@ -284,7 +284,7 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] { name: 'Label filter expression', params: [ { name: 'Label', type: 'string' }, - { name: 'Operator', type: 'string', options: ['=', '!=', '>', '<', '>=', '<='] }, + { name: 'Operator', type: 'string', options: ['=', '!=', ' =~', '!~', '>', '<', '>=', '<='] }, { name: 'Value', type: 'string' }, ], defaultParams: ['', '=', ''],