# Logs
___

Use [Logs](https://portal.infobip.com/analyze/logs) to track the status of individual messages. Logs provide message-level details such as delivery status, timestamps, sender and recipient information, and error codes. For aggregated data and performance insights, use [Reports](https://www.infobip.com/docs/analyze/reports).
___

## Search logs

Use the search bar at the top of the Logs page to find specific messages. You can search by the following options:

- Message ID
- Email subject
- Sender name
- Destination
- Data payload
___

## Filter logs

Use the **Filters** panel to narrow your results. You can combine multiple filters:

- Messages with exact match
- Date range
- Custom date
- Status (delivered, pending, rejected, undeliverable, expired)
- Account
- User
- Channel (inbound and outbound)
- Destination (To)
- Sender (From)
- Communication name
- Country
- Network
- Message ID
- Application ID
- Entity ID
___

## Export logs

After you find the required logs, you can expand individual logs to see the details or export the logs. To export the logs, select **Export** at the top of the screen. The exported file contains all visible log entries and their details.

NOTE
If your SMS API request contains a `callbackData` field with JSON, the system parses the JSON and displays it as separate columns in the report. You can use this data for metadata such as the sending department or an internal account ID.
___

## Download email content

If your account has [Email content storage](https://www.infobip.com/docs/email/email-storage-and-retrieval) enabled, you can download the complete content of sent email messages directly from **Logs**. The downloaded file is in `.eml` format and includes headers, body content, and attachments.

IMPORTANT
**Email content storage** is a **paid add-on** and is not enabled by default. To activate this feature for your account, contact [Support](https://www.infobip.com/contact) or your dedicated account manager.

To download email content:

1. In the [web interface](https://portal.infobip.com/login), go to **Analyze** > **Logs**.
2. Use filters to select the time period from which you want to download the email content.
3. Optionally, narrow your search with additional filters. For a full list of available filters, see [Filter logs](#filter-logs).
4. Select **Download email** to download the email content in `.eml` format.

The `.eml` file can be opened with any standard email client. Double-click the file, or right-click and select **Open with** to choose an email application or web browser.

This feature supports compliance, regulatory requirements, and audit trails for sensitive communications. For more information about storage options and retention periods, see [Email storage and retrieval](https://www.infobip.com/docs/email/email-storage-and-retrieval).
___