Template built by

Telegraf Plugins used:

Included Resources:

  • 1 Bucket: apexlegends
  • 2 Dashboards: Apex Legends for InfluxDB 2 and for Grafana
  • 1 Label: Game Data

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:


Apex Legends game stats dashboard

Apex Legends is a free-to-play first-person shooter battle royale game supported on the most popular platforms like Microsoft Windows, PlayStation, Xbox, and Nintendo Switch. The game is set in the same science fiction universe as Respawn Entertainment's Titanfall and Titanfall 2 where groups of players land on an island and search for weapons and supplies before attempting to defeat all other players in combat. The available play area on the island shrinks over time, forcing players to keep moving or else find themselves outside the play area which can be fatal. The final team alive wins the round.

Why track your Apex Legends stats?

Monitoring Apex Legends game stats will help you to stay competitive in your legends and identify how well you are doing in your current legend by reviewing your rank, player level, battlePass level, Kill/death ratio and Kiss as Kill Leader. Tracking your Apex Legends stats is your opportunity to get the most out of the game and see which of your current techniques are working and which ones aren't, but it's also a way to continue to enjoy the competitive nature of the game long after you've "completed" your legends.

How to use the Apex Legends game stat tracking template

Once your InfluxDB credentials have been properly configured in the CLI, you can install the Apex Legends game stat tracking template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configuration, which includes the relevant JSON Input. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value.

To find out more information about using the JSON format within the Telegraf configuration, consult the following link.

You will need to sign up for your own API key here: https://apexlegendsapi.com

Once you're in possession of your own API key, you will need to craft your own API request. For example:

https://api.mozambiquehe.re/bridge?version=4&platform=PLATFORM&player=PLAYERNAME&auth=YOUR API KEY

  • PLATFORM - PC, X1 or PS4
  • PLAYERNAME - Your username for Apex Legends
  • YOUR API KEY - Your API Key from signing up e.g


Due to limitations on the API and the way Telegraf processes the JSON data, it's more efficient to have a cronjob curl the API every 5 minutes and output to a local file and then have Telegraf's [[inputs.file]] pick up the data. On *nix add the following to your crontab using crontab -e

*/5 * * * * curl "https://api.mozambiquehe.re/bridge?version=4&platform=PS4&player=iTempPlays&auth=xxxxxxxxxxxxxxxxxxxx" > /etc/telegraf/apex_legends.json

This will run curl every 5 minutes to pull the stats from the API endpoint and write them to /etc/telegraf/apex_legends.json — this can be anywhere your Telegraf instance can read from.

Telegraf Configuration requires the following environment variables:

  • INFLUX_HOST - The URL for your InfluxDB instance
  • INFLUX_TOKEN - The token with the permissions to read Telegraf configs and write data to the telegraf bucket — you can just use your operator token to get started
  • INFLUX_ORG - The name of your Organization

You MUST set these environment variables before running Telegraf using something similar to the following commands:

  • This can be found on the Load Data > Tokens page in your browser: export INFLUX_TOKEN=TOKEN
  • Your Organization name can be found on the Settings page in your browser: export INFLUX_ORG=my_org

Key Apex Legends game stats to monitor

Some of the most important Apex Legends game stats that you should proactively monitor include:

  • Games played
  • Kill/Death ratio
  • Is Online status
  • Current Legend
  • Player level
  • Total Damage Dealt
  • Kills by Session
  • Level
  • Currently BattlePass Level
  • Current Ranked Level
  • Ranked Points
  • Total Kills
  • Kills per Legend

Related Resources

Counter-Strike Gametracker with InfluxDB

Counter-Strike monitoring will help you to stay competitive in your matches and identify which items to use in your matches.

Web Server (Apache & Postgres) Monitoring Templates

Monitoring uptime and performance of your Apache web server, and the supporting Postgres server, will help you easily discover underutilized servers.

Linux System Monitoring Template

The Linux System Monitoring Template provides a dashboard that monitors your Linux System by tracking key metrics and availability stats.

Scroll to Top