NULLBIT
NULLBIT
Back to PortfolioGovTech / Infrastructure AI

Catching a failing server before it goes down, not after

Machine-learning anomaly detection across a national government platform's infrastructure

GovTechObservabilityAnomaly DetectionElastic Stack
Year

2024

Duration

Ongoing engagement

Industry

Public Sector / Infrastructure

Catching a failing server before it goes down, not after
Starting position

Starting position

Starting position

  • Way to detect an at-risk server before it fails

    Issues surfaced only after an outage was already affecting the platform

    None
  • Centralized visibility across production clusters

    Metrics and logs scattered across separate tools per cluster

    Fragmented
  • Automated anomaly detection on infrastructure metrics

    Thresholds set manually, if at all, with no learned baseline

    None
  • Index lifecycle management for high-volume logs

    Log retention and storage costs managed ad hoc

    Manual

Market size

Dozens of production servers across multiple Elasticsearch clusters supporting a national digital government platform

Production infrastructure monitored through the platform

Scope: National-scale government digital infrastructureSource: Client infrastructure inventory, pre-engagement

Approx. budget

NDA

50,000 – 199,999 €

Budget breakdown

Elastic Stack infrastructure as code (Terraform/Terragrunt)30%
ML-based anomaly detection & alerting30%
Index lifecycle management & log pipeline engineering25%
Dashboards & ongoing observability operations15%

Budget bucket per Clutch.co project cost category. Exact figures under NDA.

Ongoing engagement

Ongoing

  1. 1

    Phase 1

    Discovery and cluster/index architecture across environments

  2. 2

    Phase 2

    Infrastructure as code (Terraform/Terragrunt) for Elastic configuration

  3. 3

    Phase 3

    ML anomaly detection jobs and alerting on infrastructure and application logs

  4. 4

    Phase 4

    Ongoing operations: dashboards, index lifecycle, multi-environment rollout

The Challenge

A national platform's infrastructure had no early-warning system

A national digital government platform runs multiple production Elasticsearch clusters and dozens of servers across environments. Issues in CPU, memory, disk or network behaviour typically surfaced only once they were already affecting the platform, with no automated way to catch abnormal patterns early.

No automated way to detect an at-risk server before it actually failed

Metrics and logs fragmented across clusters and environments, with no unified view

No learned baseline for normal behaviour, so anomalies had to be caught by manual review

High-volume infrastructure and application logs needed lifecycle management to control storage costs at national scale

Our Solution

Machine-learning anomaly detection across the whole infrastructure

We built and manage the Elastic Stack observability layer as infrastructure-as-code, with ML-based anomaly detection continuously comparing live server, network and application behaviour against a learned baseline - surfacing unusual patterns before they become outages.

Infrastructure as code

Elasticsearch and Kibana configuration - index templates, lifecycle policies, roles, dashboards - managed and versioned through Terraform and Terragrunt.

ML-based anomaly detection

Elastic ML jobs continuously score infrastructure and application metrics against a learned baseline, flagging deviations by severity.

Unified observability dashboards

Uptime, CPU, RAM and disk usage across every server, visible in one place, per environment.

Index lifecycle management

Automated hot/warm/cold/delete policies keep high-volume logs cost-efficient without manual cleanup.

Multi-environment rollout

The same observability stack runs consistently across demo, stage, UAT and production.

What changed

How infrastructure monitoring changed

Monitoring moved from reactive, per-cluster checking into one proactive, ML-driven observability layer covering the whole platform.

Detecting infrastructure issues

Before

Reactive, after impact

After

Proactive, via ML anomaly scoring

Unusual behaviour is flagged before it becomes an outage.

Observability across clusters

Before

Fragmented, per cluster

After

Unified dashboards across environments

One place to see server health across the whole platform.

Elastic Stack configuration

Before

Manual changes, per cluster

After

Infrastructure as code, versioned

Every change to index templates, lifecycle policies and roles is reviewed and repeatable.

Log storage management

Before

Manual, ad hoc retention

After

Automated index lifecycle policies

Storage cost scales predictably as log volume grows.

Investment → Operational ReliabilityNDA

Fewer surprises, on infrastructure that can't afford downtime

Ratio

Proactive vs. reactive monitoring

anomalies now surface before impact, not after

Incremental revenue

Engineering time reclaimed from reactive incident response

estimated time saved by catching anomalies before they escalate into outages

Investment

50,000 – 199,999 €

Payback period

Realised through reduced incident response time and fewer reactive escalations

Method

Comparison of reactive, manual monitoring before vs. automated ML-based anomaly detection after

Confidence

Medium - based on operational comparison, not an audited incident report

This is critical national infrastructure - detailed incident and uptime figures are confidential.

The Outcome

Infrastructure issues caught before they become outages

The observability platform is in production, monitoring a national government platform's infrastructure across multiple environments. Live incident figures belong to the client; the figures below describe what changed operationally.

Detecting an at-risk server before failure

Before

Not possible

After

Continuous ML anomaly scoring

Proactive detectionUnusual server behaviour flagged automatically, before impact

In production

Observability across production clusters

Before

Fragmented, per cluster

After

Unified dashboards across environments

Full visibilityUptime, CPU, RAM and disk usage visible in one place

Ongoing

Elastic Stack configuration management

Before

Manual, per cluster

After

Infrastructure as code

Fully versionedEvery configuration change reviewed and repeatable via Terraform

Since rollout

Log lifecycle management

Before

Manual, ad hoc

After

Automated index lifecycle policies

Fully automatedHot/warm/cold/delete phases applied consistently across clusters

Ongoing

Stack & Services
Elasticsearch
Kibana
Elastic ML (Anomaly Detection)
Terraform
Terragrunt
GitLab CI/CD
Index Lifecycle Management
Public Sector Delivery
We used to find out about a failing server from the complaints, not from the system. Now the anomaly detection flags it first.

Infrastructure Lead

Confidential

From Vision to Reality

A conversation is the first step toward a quality solution.

Whether you already have a defined idea or just an initial direction, we help you turn thinking into concrete steps and sustainable digital solutions.

First hour freeNo obligationResponse within 24 hours