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

fast_pattern raw_search concept #1

Open
bryant-smith opened this issue Dec 29, 2022 · 0 comments
Open

fast_pattern raw_search concept #1

bryant-smith opened this issue Dec 29, 2022 · 0 comments

Comments

@bryant-smith
Copy link

In order to speed json processing up a "fast_pattern" concept can be implemented. This way a data structure containing all fast_patterns can quickly try and match against the logs without processing the json. Once a match is made they engine can they process the log in json and they start match the rest of the rule. Both fast_pattern and fast_pattern:only; can be implemented depending on what is needed.

Suricata has a good explanation of how their fast_pattern works!
https://suricata.readthedocs.io/en/suricata-6.0.0/rules/fast-pattern-explained.html

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

1 participant