> ## Documentation Index
> Fetch the complete documentation index at: https://docs.botflow.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Logs

> The event log for bots and the company audit log: who changed what and when.

The two logs answer different questions. The "Event log" shows what happened to your bots, while the
"Audit log" in the company settings shows who changed the company itself.

## Event log

The "Logs" section in the menu. A feed of bot events with filters by bot and by event type, plus a search in
the description. The list is paged with "Previous" and "Next", and today's events are marked with the time. The
search in the description covers the open page rather than the whole log, so pick a bot and an event
type first. There is a CSV export button next to it.

| Event | When it appears |
| - | - |
| **Bot connected** | A bot was added to a workspace. |
| **Bot switched off** | A bot was stopped with the toggle. |
| **Subscriber blocked** | A subscriber was blocked from their card or from the conversation. |
| **Subscriber deleted** | A subscriber was deleted. |
| **Subscribers cleaned up** | A bulk subscriber deletion took place. |

The log holds other events too, including access and key changes. The table above lists the ones you
will see most often.

If subscriber data is hidden for your role, some entries show a note instead of the description,
saying that the entry contains subscriber data. The entry itself stays in place: you still see that
the action happened, who did it and when. To see the subscriber's data, request access in the
"Disclosure requests" section.

## Company audit log

Company settings, the "Team" group, item "Audit log". It collects changes to the company itself: creating and
deleting workspaces, role changes, blocks, ownership transfer.

| Column | What it shows |
| - | - |
| **Time** | When it happened. |
| **Actor** | Who did it. Platform actions are marked as "System". A BotFlow employee is marked as "Platform administrator", with their name when they have one, never by email. |
| **Action** | The type of change. |
| **Description** | Details of the change. |
| **Context** | What the change relates to. |

The "All types" filter narrows the list down to a particular action type.

> [!NOTE]
>
> The audit log is visible to the company owner and administrators. The bot event log is available to members
> with access to those bots. Entries of both logs are kept for 180 days.

## Telegram account rows

Actions with [Telegram accounts](https://docs.botflow.cc/en/telegram-accounts.md) land in both logs.

| Action | When it appears |
| - | - |
| **Telegram account connected** | A Telegram account was connected to a workspace. |
| **Telegram account connected again** | A disconnected Telegram account was connected again. |
| **Telegram account disconnected** | The owner or an administrator pressed "Disconnect". |
| **Telegram account deleted** | A Telegram account was deleted. |
| **Limit lifted** | The owner or an administrator pressed "Limit lifted". |
| **Telegram account title changed** | The Telegram account's "Title" was changed. |
| **Viewed by a platform admin** | A BotFlow staff member opened the chats of a Telegram account. |
| **Changed by a platform admin** | A BotFlow staff member changed the blocks or tags of a Telegram account. |

The row's description names the Telegram account by its "Title", or by its name in Telegram if there is no
title. The phone number is never written to the logs. The rows stay in the logs after the Telegram account is
deleted too.

Only the owner and the company administrators see the "Viewed by a platform admin" and "Changed by a platform
admin" rows. A BotFlow staff member only reads the chats: they can't reply, delete messages or mark them as read.

## What's next

> [card] [Settings](https://docs.botflow.cc/en/settings.md)
>
> Roles, access and ownership transfer, whose changes land in the audit log.

> [card] [Broadcasts](https://docs.botflow.cc/en/broadcasts.md)
>
> How to start a broadcast, stop it and read the delivery report.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.