Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbnl committed May 2, 2022
1 parent d1eb0bb commit 677217d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ConfigExamples/fullConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ log: # Log settings. Debug will severely decrease performance
path: 'collector.log'
debug: False
collect: # Settings determining which audit logs to collect and how to do it
rustEngine: False # Use True to turn on the experimental far faster Rust engine
rustEngine: True # Use False to revert to the old Python engine. If running from python instead of executable, make sure to install the python wheel in the RustEngineWheels folder
schedule: 0 1 0 # How often to run in days/hours/minutes. Delete this line to just run once and exit.
contentTypes:
Audit.General: True
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Anouncement:

To improve performance the engine of the log collector has been rewritten in Rust. Consider downloading the newest
executable and using the following setting in your config:
To improve performance (10x) and reliability the engine of the log collector has been rewritten in Rust. Consider downloading the newest
executable to automatically use it. To turn off the new engine (in case of issues or for whatever reason), use the following
in your config.yaml:

```
collect:
rustEngine: True
rustEngine: False
```
In my own tests the Rust engine has been at least 5x faster. The default is still Python so people can test the new engine first. If you run into any problems, please remove the
setting to revert back to the old engine, and consider creating an issue here on Github so I can fix it.
Expand Down
2 changes: 1 addition & 1 deletion Source/AuditLogCollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run_once(self):
self._prepare_to_run()
logging.log(level=logging.INFO, msg='Starting run @ {}. Content: {}.'.format(
datetime.datetime.now(), self.config['collect', 'contentTypes']))
if self.config['collect', 'rustEngine']:
if not self.config['collect', 'rustEngine'] is False:
self._start_interfaces()
self.receive_results_from_rust_engine()
self._stop_interfaces(force=False)
Expand Down
1 change: 0 additions & 1 deletion Source/RustEngine/README.md

This file was deleted.

Binary file added pip_requirements_linux.txt
Binary file not shown.
Binary file renamed Source/requirements.txt → pip_requirements_win.txt
Binary file not shown.

0 comments on commit 677217d

Please sign in to comment.