Docs
APILog inDeploy a serverDeploy

fxvault Logs

Search your FiveM server's logs in the panel. Included in every Media plan, with keys, datasets, IP hashing and the allowances per plan.

Media Storage6 min readUpdated

On this page
  1. Ways to send logs
  2. Datasets
  3. Retention per dataset
  4. Deleting a dataset
  5. Keys
  6. What happens to IP addresses and emails
  7. Who can read logs
  8. Searching
  9. Usage
  10. Exports, alerts, player data and performance
  11. Not available yet
  12. Allowances per plan

fxvault Logs stores the logs your FiveM server sends and lets you search them in the panel. It is included in every Media plan, with no separate price, and it works for any FiveM server, hosted with Clouduxe or anywhere else.

Media Storageyour teamLogs

Your scripts do not need rewriting. Each one sends logs the way it already does, and you change an address and a key. The guided Setup tab has copy-ready lines for each sender, with your key filled in.

Ways to send logs

SenderWhat changesPage
ox_lib's logger (ox_inventory, qbx_core and anything on lib.logger)Three or four convarsox_lib
The fxvault resourceExports for your own scripts, and automatic server eventsThe fxvault resource
Scripts built on Fivemanage's SDK (fmsdk), and Fivemanage's log APIThe resource, or an address and a keyFivemanage scripts
Scripts that post to a Discord webhookThe webhook URLDiscord webhook scripts
Anything else that can make an HTTPS requestA key, and a curl testPlain HTTPS and curl

Datasets

A dataset is a separate stream of logs, such as default, discord or economy. Use them to keep different kinds of logs apart and to search one at a time. A dataset name is lowercase letters and digits, with dots, underscores and hyphens allowed, up to 64 characters. A log that names no dataset goes to default, or to the dataset its key is bound to.

Retention per dataset

Owners and admins set how long each dataset keeps its logs, in Settings under Log datasets: 7, 15, 30, 60, 90, 180 or 365 days, never above your plan's days. The panel offers the plan's maximum and each choice below it.

  • Shortening hides the older logs from search within the hour, and the nightly delete removes them.
  • Choosing more days applies only to logs received from then on. It does not bring back logs that are already hidden.

Deleting a dataset

Owners and admins can delete a dataset. The panel asks you to type its name to confirm.

  • The default dataset cannot be deleted.
  • A dataset that a send key or a webhook URL is bound to cannot be deleted. Revoke that key or URL first.
  • Every log the dataset received before the deletion is hidden from search within the hour, and the nightly delete removes them.
  • A sender that later writes to the same name starts a new, empty dataset.

Keys

Logs use the same API keys tab as files, with two permissions of their own.

PermissionLets the key
Send logsSend logs. This is the one a game server needs.
Read logsSearch and read logs. Give it to a script that reads logs, never to a game server.
  • The Game server logs preset makes a key that can only send logs.
  • A key can be bound to a dataset. For sending, that is its default dataset. For reading, it is the only dataset the key can search.
  • A key can carry a list of allowed IP addresses or CIDR ranges. A change applies within a minute.
  • A webhook URL is a key that can only send logs, to one dataset, and only to the webhook address. It is shown once, when you create it, and you can revoke it like any key.

Send the key in the Authorization header, as with files. Revoke one key per script if it leaks; the others keep working.

What happens to IP addresses and emails

Each dataset has its own settings, which admins change under Settings, in Log datasets. They apply to new logs, before anything is stored.

SettingChoices
IP addressesHashed (the default) or Removed
Email addressesKept or Removed

A hashed address becomes ip# followed by 12 hexadecimal characters, made with a key kept for your team. The same address gives the same token within your team, and a different one in any other team, so you can still see that two logs came from one address without the address itself being stored. A hashed address still counts as personal data, so treat logs as you would any player data. A removed address becomes [ip], and a removed email address becomes [email]. This covers IP addresses found in messages, in attribute values and in ip: identifiers.

Who can read logs

Access is set per member.

  • Owners and admins always read every dataset.
  • Developers can read logs by default.
  • Viewers cannot read logs unless an owner or admin gives them access.
  • An owner or admin can give a developer or a viewer access to all datasets or to chosen datasets, or switch a developer's or a viewer's access off, from the Team tab. Changing a member's role puts their logs access back to the role's default.

A member without logs access sees "You cannot read logs on this team" and has no Logs tab. A member limited to some datasets can create or change a Read logs key only when it is bound to one of their datasets. Keys they made earlier keep working until an owner or admin revokes them. See Your team.

Searching

Open Logs and type in the search bar, or use the pickers for dataset, level and Add filter.

level:error resource:ox_inventory player:license:abc "gave" -admin amount>1000
  • Filter by level, resource, server, event and dataset.
  • Filter by player with a license, steam, discord or fivem id.
  • Search an exact phrase in quotes, words that must appear, and words to leave out with a minus sign.
  • Filter by an attribute: equals, does not equal, contains, exists, or a number greater or smaller than a value.
  • Pick a time preset, or a custom range in your local time or UTC.
  • Results are newest first, 100 at a time. Load older logs shows the next 100.
  • Click any value in a result to filter by it.
  • Open a row to see the whole log as JSON, and copy it.
  • Export the search as a file. See Exporting logs.

The search is kept in the page address, so you can bookmark it or send it to a teammate who can also read logs.

Beyond the search bar there is a chart, top values, a live view, surrounding logs, a player view, columns and saved views. See Chart, live view and saved searches.

Usage

The Logs page shows how much of your log storage is used, and the date of the oldest log you have stored. Members who can read every dataset also see each key's use this month: its logs and bytes, and the last day it sent anything. Use it to find a key that sends more than it should.

Under Settings, Usage alerts, the Discord webhook URL you added for Media also gets a message when log storage reaches 80% and 100%. See Limits and plans.

Exports, alerts, player data and performance

Not available yet

Keeping raw IP addresses, alert emails, a profiler that names the resource that is slow, and players' game FPS.

Allowances per plan

PlanStoredKept forSent per daySent per monthRows per export
Free5 GB30 days1 GB10 GB10,000
Starter20 GB60 days4 GB40 GB100,000
Pro100 GB180 days20 GB100 GB1,000,000
Network300 GB365 days60 GB300 GB1,000,000

Stored counts what is kept. Per day and per month count what is sent. Rows per export is the most rows one export holds. A log is deleted when it is older than its dataset's days, which are the plan's days unless you set fewer. See Limits and plans for what happens at a limit and after a downgrade.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.