-
Notifications
You must be signed in to change notification settings - Fork 733
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
Please add regular expression support for filtering #241
Comments
How about a filter like this: Would it generate too many false positives? |
It will be nice! |
+1 |
globbing could also be useful - far less flexible of course, but also with lesser performance implications. in the example above you might do something like |
Hey does sysdig support this fd.name contains /afile.*/ ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello!
In many cases for filtering some events (like reading or writing for all files in folder /var/lib/mysql/base_named/* ) use regular expressions but now I should generate sysdig rules with bash and got this nightmare:
But with regular expressions it will looks fine:
sysdig "evt.type=read and fd.name=~#/vz/root/\d+/dev/null#"
Thank you!
The text was updated successfully, but these errors were encountered: