Files
dhi-docker-akvorado/config/akvorado.yaml
2025-10-12 15:56:31 +00:00

95 lines
2.8 KiB
YAML

---
# This configuration file is documented in docs/02-configuration.md.
#
# You can get all default values with `akvorado orchestrator /dev/null --dump
# --check` or `docker compose run --rm --no-deps akvorado-orchestrator
# orchestrator /dev/null --dump --check`. Do not use the output of the command
# as your configuration file, it should only help you get the default values.
kafka:
topic: flows
brokers:
- kafka:9092
topic-configuration:
num-partitions: 8
replication-factor: 1
config-entries:
# The retention policy in Kafka is mainly here to keep a buffer
# for ClickHouse.
segment.bytes: 1073741824
retention.ms: 86400000 # 1 day
cleanup.policy: delete
compression.type: producer
geoip:
optional: true
# When running on Docker, these paths are inside the container. By default,
# IPinfo databases are used. (https://ipinfo.io/)
asn-database:
- /usr/share/GeoIP/asn.mmdb
geo-database:
- /usr/share/GeoIP/country.mmdb
# If you want to use MaxmindDB, check `.env`, `docker-compose-maxmind.yml` and
# update these paths:
#asn-database:
# - /usr/share/GeoIP/GeoLite2-ASN.mmdb
#geo-database:
# - /usr/share/GeoIP/GeoLite2-Country.mmdb
clickhousedb:
servers:
- clickhouse:9000
clickhouse:
orchestrator-url: http://akvorado-orchestrator:8080
kafka:
consumers: 4
prometheus-endpoint: /metrics
asns:
400848: DHI Technical Services
networks:
# You should customize this section with your networks. This
# populates the Src/DstNetName/Role/Site/Region/Tenant fields.
140.235.236.0/27:
name: CCI-DMZ-VRF
role: servers
140.235.236.96/30:
name: DMVPN-RTRS
role: routers
140.235.236.100/30:
name: UBNT-RTRS
role: routers
140.235.236.120/29:
name: OFFICE-LAB-NET1
role: routers-lab
140.235.237.120/29:
name: OFFICE-LAB-NET2
role: routers-lab
140.235.237.0/27:
name: MAIN-EDGE-RTR
role: routers
140.235.237.1/32:
name: MAIN-EDGE-NAT
role: routers
network-sources: []
# amazon:
# url: https://ip-ranges.amazonaws.com/ip-ranges.json
# interval: 6h
# transform: |
# (.prefixes + .ipv6_prefixes)[] |
# { prefix: (.ip_prefix // .ipv6_prefix), tenant: "amazon", region: .region, role: .service|ascii_downcase }
# gcp:
# url: https://www.gstatic.com/ipranges/cloud.json
# interval: 6h
# transform: |
# .prefixes[] |
# { prefix: (.ipv4Prefix // .ipv6Prefix), tenant: "google-cloud", region: .scope }
inlet: !include "inlet.yaml"
outlet: !include "outlet.yaml"
console: !include "console.yaml"
# This line can be removed unless you have enabled the demo exporters with the
# "demo" profile.
#demo-exporter: !include "demo.yaml"