Appearance
Settings shared by every application
These settings apply to the whole node or cluster, not to one application. Changing them is a new configuration version, like every other write.
waap settings get
Prints a configuration-wide section's settings: key, effective value, default, whether it is written in the configuration, and the allowed range or values.
sh
waap settings get [-json] SECTIONSections: events, traffic, geoip, management, bot_catalog, ha, analyst.
waap settings set
Changes settings as a new version. KEY= returns one setting to its default. A section left empty is removed. Values are checked before anything is sent: a bad value exits 2.
sh
waap settings set [-m WHY] [-dry-run] SECTION KEY=VALUE...Flags come before the section and the assignments.
Per section:
eventscapture_body: bytes. Empty means each application's request body limit. 0 keeps none. An explicit value is at most 64 KiB.retention: 1h to 3 years.max_events: at least 1000.max_bytes: the most event storage. Default 2GiB, from 1MiB to 16TiB. The oldest events beyond it are deleted.
trafficmode:all,sampleoroff. Defaultall.sample_rate: percent, 1 to 100. Default 10.retention: at least 1h. Default 7 days.max_records: at least 1000. Default 50,000,000.max_bytes: at least 1MiB. Default 5GiB.body: request body bytes kept per record. Empty means each application's inspection body limit. 0 keeps none.response_body: true or false. Default false. It costs latency.
geoipdatabase: absolute path of the MMDB file on the nodes.
enrichmentenabled: default true.city_database,asn_database: absolute paths of MMDB files on the nodes. Usewaap geoip update --cityor--asn. Admin guide section 33.6.
analyticsmax_scan_rows: default 250000, from 1000 to 5000000.max_batch_rows: default 1000000. At leastmax_scan_rows, at most 20000000.sample_above_rows: defaultmax_scan_rows.query_timeout: 5s, from 1s to 60s.batch_timeout: 15s, up to 120s.max_range_traffic: 31d, at most the traffic retention.max_range_events: 90d, up to 366d.rollup_min_range: 2h, from 1h to 7d.max_buckets: 360, from 60 to 1440.max_top_n: 100, from 10 to 500.max_concurrent: 2, from 1 to 16.max_queued: 8, from 1 to 64.per_user_per_minute: 60, from 1 to 1000. Requests: a batch counts as one, and cached answers are free.cache_ttl: 30s, from 1s to 10m. How long the same query from the same user is answered from memory.- The change applies to the next query, without a restart. Admin guide section 33.7.
management(admin)trusted_networks: comma-separated networks. Empty means loopback only. A value that would shut out the address you are connected from is refused.
bot_catalogfetch_ranges: true or false.
ha(admin)address_mode(linuxorexternal),virtual_addresses(address with prefix length),interface,lease,announce.count,announce.interval,heartbeat_interval,peer_timeout,failback,reachability(host:port),probe_port.
analyst(admin): the keys are described in the Security analyst reference.
sh
waap settings set -m "keep a week" events retention=168h max_events=500000
waap settings set analytics max_scan_rows=1000000 max_concurrent=4waap catalog-bots get
Prints your own bot catalog entries (bot_catalog.bots) as YAML.
sh
waap catalog-bots get [-json]waap catalog-bots set
Replaces your own bot catalog entries with the records in FILE.
sh
waap catalog-bots set -f FILE [-m WHY] [-dry-run]Each entry has these keys:
namecategoryuser_agent(RE2)ranges: https URLs of published rangesdns: reverse-DNS suffixesip_lists
An entry with a built-in name replaces it. For the whole catalog, see waap bots catalog.