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

# Broker Logs

> View broker logs, filter by level and date, search, and export as JSON or LOG

<Frame caption="Broker Logs showing 665 entries with level filter, search, date range, and refresh, export, and clear controls">
  <img src="https://mintcdn.com/coreflux/W9CJ-kgVY3a3sCeL/images/broker-logs.png?fit=max&auto=format&n=W9CJ-kgVY3a3sCeL&q=85&s=22b2135235e2b107b46bbb722a6197cf" alt="Coreflux HUB Broker Logs window with a 665 entries count, a Level dropdown set to All, a Search logs field, From and To date range pickers, refresh, export, and clear icons in the top-right, and a log entries table with LEVEL, TIME, and DESCRIPTION columns showing Info entries for Category Event ProcessCloudCLICommand and Category Action UserChange, ChangeSettings, Generated Code, Cache Cleanup, and ListTemplates with timestamps from 4:28:06 PM to 4:44:39 PM" width="1024" height="639" data-path="images/broker-logs.png" />
</Frame>

## Why Use Broker Logs?

You need to see what the broker is doing—startup messages, connection events, errors, warnings. The Broker Logs in the Coreflux HUB show broker-wide logs with filtering, search, and export so you can troubleshoot and audit broker activity.

## When to Use It

* **Troubleshooting** — Find errors or warnings related to broker startup or connections
* **Auditing** — Review broker activity over a date range
* **Exporting** — Save logs as JSON or LOG for offline analysis or support

***

## Filter by Level

Use the **All Levels** dropdown to filter logs by severity:

| Level           | Description            |
| --------------- | ---------------------- |
| **All Levels**  | Show all log entries   |
| **Information** | Informational messages |
| **Warning**     | Warnings               |
| **Error**       | Errors                 |
| **Critical**    | Critical failures      |

## Search for Keyword

Use the **Search logs...** field to search for specific text in log messages. Enter a keyword or phrase to filter the displayed logs.

## Export

Export logs in two formats:

* **JSON** — Structured export for parsing or integration
* **LOG** — Plain text log file

Click **Export** to download the filtered logs.

## Control Refresh Rate

Use the refresh control to set how often logs update:

| Option   | Description                    |
| -------- | ------------------------------ |
| **Sync** | Real-time updates (continuous) |
| **1s**   | Refresh every 1 second         |
| **5s**   | Refresh every 5 seconds        |
| **10s**  | Refresh every 10 seconds       |

## Filter by Date

Use the **From** and **To** date fields to limit logs to a specific time range. Enter dates (and optionally times) to filter the displayed entries.

## Status Indicators

The Broker Logs view shows status such as:

* **Connected** — HUB is connected to the broker
* **Logging Initialized** — Logging is active

## Clear Logs

Use **Clear** to remove displayed logs from the view. This does not affect the broker—it only clears the HUB display.

***

## Next Steps

<CardGroup cols={2}>
  <Card title="MQTT Broker" icon="server" href="/mqtt-broker/overview">
    Learn about the Coreflux MQTT Broker.
  </Card>

  <Card title="Introduction to LoT" icon="book-open" href="/lot-language/introduction">
    Learn the fundamentals of the Language of Things and how it works.
  </Card>
</CardGroup>
