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

String "contains" filter #1801

Closed
kaspersorensen opened this issue Jan 15, 2019 · 1 comment
Closed

String "contains" filter #1801

kaspersorensen opened this issue Jan 15, 2019 · 1 comment

Comments

@kaspersorensen
Copy link
Member

I'm working with DC to filter out some noisy stuff, and I'm baffled that I cannot find a filter to ignore all records that contains (or doesn't contain) specific strings.

@kaspersorensen
Copy link
Member Author

For now my workaround is to use a JavaScript filter with this script:

function eval() {
  return values[0] != null && values[0].indexOf("noisytoken") != -1;
}
eval();

arjansh added a commit that referenced this issue Feb 15, 2019
…s-filter

Fixes #1801: Created a "String contains filter"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant