AlgoViz

ELK Stack

medium 30 min

The ELK Stack is Elasticsearch, Logstash and Kibana: a place to collect, clean, store and search logs from many machines.

Where it shows up

The same pattern appears across everyday software.

  • One request across services

    Every service writes the trace id into its JSON lines. Support filters on it in Discover and sees the lines of eight services in time order.

  • After a deployment

    A dashboard splits errors by service.version. If the new version has more, the rollout stops.

  • Web access logs

    The Nginx integration parses access logs into fields. Slow URLs and bad status codes are charts, not grep commands.

  • Security search

    Login events of all machines in one schema allow a question such as: which address failed on more than twenty accounts?

  • Jaeger storage

    Jaeger can store spans in Elasticsearch or OpenSearch, and its team prefers them to Cassandra for search.

  • The fork

    Amazon and others built OpenSearch from version 7.10.2 after the licence change. APIs of the two have moved apart since, so a client must be checked against the server it uses.