Introduce new network analytics capabilities with persistent storage, hourly and daily aggregations, and enhanced frontend visualizations. This includes API endpoints for retrieving analytics data, systemd services for automated aggregation, and UI updates for live and historical dashboards. Additionally, country flag emojis are now displayed on the detections page. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 3c14f651-7633-4128-8526-314b4942b3a0 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/oGXAoP7
22 lines
463 B
Desktop File
22 lines
463 B
Desktop File
[Unit]
|
|
Description=IDS Analytics Aggregator - Hourly Traffic Statistics
|
|
After=network.target postgresql.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=ids
|
|
Group=ids
|
|
WorkingDirectory=/opt/ids/python_ml
|
|
EnvironmentFile=-/opt/ids/.env
|
|
|
|
# Execute hourly aggregation
|
|
ExecStart=/opt/ids/venv/bin/python3 /opt/ids/python_ml/analytics_aggregator.py hourly
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=ids-analytics
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|