Skip to content

Commit

Permalink
remove hyperscan resolver (#745)
Browse files Browse the repository at this point in the history
* remove hyperscan resolver

* remove hyperscan resolver

* update CHANGELOG
  • Loading branch information
ekneg54 authored Jan 28, 2025
1 parent cc2e6b8 commit ca1ae75
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 1,458 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get -y install libhyperscan-dev librdkafka-dev
pip install --upgrade pip wheel
pip install .[dev]
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## next release
### Breaking

* remove `hyperscan_resolver` processor because it is not significantly faster as the `generic_resolver` with enabled cache

### Features
### Improvements
### Bugfix
Expand Down
1 change: 0 additions & 1 deletion doc/source/configuration/processor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Processors
.. automodule:: logprep.processor.generic_resolver.processor
.. automodule:: logprep.processor.geoip_enricher.processor
.. automodule:: logprep.processor.grokker.processor
.. automodule:: logprep.processor.hyperscan_resolver.processor
.. automodule:: logprep.processor.ip_informer.processor
.. automodule:: logprep.processor.key_checker.processor
.. automodule:: logprep.processor.labeler.processor
Expand Down
113 changes: 18 additions & 95 deletions doc/source/development/architecture/diagramms/process-Combined.drawio

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion logprep/processor/generic_resolver/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
^^^^^^^^^^^^^^^^^^
The generic resolver requires the additional field :code:`generic_resolver`.
It works similarly to the hyperscan resolver, which utilizes hyperscan to process resolve lists.
Configurable fields are being checked by regex patterns and a configurable value will be added
if a pattern matches.
The parameters within :code:`generic_resolver` must be of the form
Expand Down
Empty file.
211 changes: 0 additions & 211 deletions logprep/processor/hyperscan_resolver/processor.py

This file was deleted.

Loading

0 comments on commit ca1ae75

Please sign in to comment.