Settings for ibatyr-celery parameters

The configuration for setting up automatic tasks and machine learning is available in the file

/etc/ibatyr/celery/config.yml.

The configurable parameters are the parameters for storing records of normal (days_to_keep_txs_normal) and abnormal (days_to_keep_txs_max) transactions in the PostgreSQL database:

remove_old_txs_and_anomalies:
  task: 'scwaf_analyzer.common.db.db_cleanup.tasks.remove_old_txs_and_anomalies'
  schedule: # crontab type
    minute: 30
    hour: 0
  kwargs:
    days_to_keep_txs_normal: 7
    days_to_keep_txs_max: 90
    days_to_keep_actions: 90

Checking the log for errors.

tail -20 /var/log/waf/wafcelery-security_events.log
tail -20 /var/log/waf/wafcelerybeat.log