Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following examples illustrate typical use cases.

Code Block
languagebash
titleExample for Invocation of Log Anonymizer Script
log-anonymizer.sh --log-file=/var/sos-berlin.com/js7/controller/var/logs/controller.log
bash
Code Block
language
titleExample for Invocation of Log Anonymizer Script for a number of log files
log-anonymizer.sh --log-file=/var/sos-berlin.com/js7/joc/logs/joc.log  \
                  --log-file=/var/sos-berlin.com/js7/joc/logs/joc-debug.log
bash
Code Block
language
titleExample for Export of Rules to a File
log-anonymizer.sh --export-rules=/tmp/rules.yaml
bash
Code Block
language
titleExample for Invocation of Log Anonymizer Script with individual rules from a file
log-anonymizer.sh --log-file=/var/sos-berlin.com/js7/agent/var_4445/logs/*.log \
                  --rules-file=/tmp/rules.yaml

...