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

Cant use double quotes at /.* inside $match #82

Open
DiegoSLutckmeier opened this issue Dec 5, 2019 · 1 comment
Open

Cant use double quotes at /.* inside $match #82

DiegoSLutckmeier opened this issue Dec 5, 2019 · 1 comment

Comments

@DiegoSLutckmeier
Copy link

I need to use /.* inside the match function to find values that contains("LIKE") a certain string.
This is the error I get if I pass the code below: Query failure, Status=500, Internal Server Error

$match: {
"urlReferer": /.erp.sirras.net./
}

Is there a way to pass it into grafana? I can't do "/.erp.sirros.net./" because it would search for the exact /.erp.sirras.net./ value, nor /."erp.sirras.net".*/ because ir returns error.

Thanks

@nescohen
Copy link

nescohen commented Oct 8, 2020

I know this is a bit late, but I was having a similar issue and created a pull request to fix it: #106

It looks like this maintainer may not be accepting pull requests, I am not sure. Either way you would be welcome to use my fork in the meantime. Available: https://github.com/nescohen/mongodb-grafana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants