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

Fix: log pipelines contains and ncontains filters should be case insensitive #4299

Conversation

raj-k-singh
Copy link
Collaborator

Summary

When querying logs from query builder, contains and ncontains get translated to ILIKE and not ILIKE for case insensitive comparison. On the other hand we convert those filters to the case sensitive contains op in pipeline filters.

This creates a mismatch in pipeline previews and behavior in the collector.

Related Issues / PR's

Fixes: #3981

@github-actions github-actions bot added the bug Something isn't working label Dec 28, 2023
@raj-k-singh raj-k-singh marked this pull request as ready for review December 28, 2023 12:55
@raj-k-singh raj-k-singh merged commit 7fed80b into develop Dec 28, 2023
11 checks passed
@raj-k-singh raj-k-singh deleted the fix/log-pipelines-contains-filter-should-be-case-insensitive branch December 28, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Log Parsing Pipelines] Pipelines filter case sensitve in otel collector.
2 participants