On Discord, the Audit Log is in Server Settings → Audit Log. It requires the View Audit Log permission, keeps 45 days of admin actions and doesn't show deleted message content. To keep more, install a logging bot such as MyServerDiscord before an incident happens.
What is the Audit Log for?
The Audit Log lists the admin actions carried out on a server: role changes, channel changes, permission changes, bans, invite creation, bots being added. Each entry shows who took the action, what was affected and when.
It's the first thing to check when something changed and nobody knows why: a channel vanished, a role was modified, a member was banned.
It also holds the team accountable: knowing that every admin action is recorded with its author discourages abuse and builds trust between admins and moderators.
Where to find it
On desktop or in the browser, open the server menu (the server name, at the top of the channel list), then Server Settings → Audit Log. On mobile, tap the server name, then Settings, then Audit Log.
Make sure you're on the right server: if you manage several communities, the log shown is always the one for the server whose settings you opened.
If the entry doesn't appear, your account isn't allowed to view it: you need the View Audit Log permission, or the Administrator permission. Grant it from Server Settings → Roles, only to the people who need it.
The server owner always has access to the log. If you delegate moderation, give the permission to view it only to those who really need it: the log reveals the actions of the whole team.
Reading and filtering entries
Entries are sorted from newest to oldest. Click an entry to expand its details, for example a channel's old and new name or the permissions that changed.
Two filters are available at the top of the page: by user (who took the action) and by action type (ban, channel create, role update, etc.). To find who banned a member, for example, filter on the ban action and then browse the entries.
Scroll down to go back in time, up to the 45-day limit. Since the built-in log doesn't let you search for a word within entries, it's better to start from a precise filter than to read the whole list.
What the Audit Log records
The log focuses on actions that change the server's structure or its members. The action types evolve with Discord's features, but they notably include:
- Bans, unbans and kicks
- Creation, edits and deletion of channels and roles
- Permission changes and roles assigned to a member
- Invite creation and bots or webhooks being added
- Changes to server settings
- Message deletions by a moderator, without their content
What the Audit Log doesn't record
The Audit Log isn't designed to archive conversations: it traces admin actions, not members' exchanges. That's where the real limits lie, and the reason people often look for a complementary tool:
- The content of deleted messages: never shown.
- The before / after of edited messages.
- Messages a member deletes themselves.
- Members joining and leaving on their own.
- Anything older than 45 days: older entries disappear.
Going further with a logging bot
To keep message content, the before / after of edits, joins and leaves and a longer history, you need a bot that records these events continuously. A logging bot doesn't replace the built-in log, it complements it.
In practice, many admins discover these limits at the worst possible moment: the day an incident is reported and there's nothing left to look at. Installing it ahead of time takes a minute, and the audit log is included in the free plan (last 7 days).
The MyServerDiscord logs bot works read-only and presents everything in a web dashboard, with the advanced audit log and its CSV export. It isn't retroactive: it records from the moment it's installed, so install it before the incident, not after. The case of erased content is covered in how to see deleted messages on Discord.
If all you want is to recover the text of an erased message, that guide is a useful companion to this one: it explains what a bot can and can't recover, and why the gap between installation and the incident is decisive.
Examples: finding who did what
The log becomes really useful once you know which filter to apply. Remember that these searches only cover the last 45 days: beyond that, the entry no longer exists and there's no way to say who did what.
Here are some common situations and how to handle them:
- A channel vanished: filter on the channel delete action to see who deleted it and at what time.
- A role lost permissions: filter on role update and open the entry to see what changed.
- A member was banned: filter on the ban action to find the moderator and the date.
- An unknown bot showed up: look for the bot add action to see who invited it.
- An invite link is circulating: find its creation and its author.
- A member says they weren't warned: check whether they were kicked or banned, and when.
Best practices
Check the log after each incident rather than at the end of the month: after 45 days, it's too late. Limit access to the log to trusted people, because it reveals who does what on your team.
Consider setting a simple team rule: every sensitive action (ban, channel deletion, permission change) should be explainable in one sentence. When the log is consulted after the fact, that discipline avoids misunderstandings.
Use it as the starting point of an investigation, never as sufficient proof on its own. For what comes next, see our guide on how to moderate a Discord server.
Finally, don't confuse the log with a sanction: appearing in it proves nothing against someone, it only documents what happened. Interpretation and decision always rest with the team.