Server Logs Review

Prev Next

Log Monitoring with Grafana

Monitoring logs is crucial for understanding system events and troubleshooting issues. Grafana offers a dedicated and user-friendly interface for reviewing logs in real time.

Logs can either be monitored through a dedicated Grafana dashboard or read directly from the source, depending on your needs.


🛠️ Enabling Log Collection

Before logs appear in Grafana, user log sending must be enabled in the KYP.ai Admin Panel:

  1. Navigate to the admin panel.

  2. Open the KYP Connect Profiles panel.

  3. Enable the log sending feature in the desired profile

  4. Once activated, user logs will start appearing in the Grafana dashboards.


🔎 Searching Logs in Grafana

To manually explore and filter logs:

  1. Open Grafana and click on “Explore” in the left sidebar.

  2. Select the data point you are interested in. Loki will provide an option to review logs from the specific KYP Connect instances, as well as container logs collected directly from the server.

  3. In the top-right corner, select the desired time range for your search.

  4. Under Labels, choose filename.

  5. Use the dropdown or type into the search box to filter by file name (e.g., processor.log).

💡 Tip: There are many logs (e.g., KYP Connect logs, server logs), so to keep results manageable, avoid selecting too many users at once.


📄 Viewing Logs

Once filtered, logs are presented in a clean and readable format, allowing quick analysis and easy tracing of events.


⚡ Quick Access: Maintenance Dashboard

For a consolidated view, use the dedicated Maintenance Dashboard. This panel displays logs from all containers on a single screen — perfect for quick system-wide log reviews.4


FAQ

What is Loki and why is it needed?

Loki is a log aggregation system used by Grafana to collect, index, and display logs. It must be selected as the data source in order to search logs in Grafana.

Why can`t I see the “Explore” tab in Grafana?

Administrator access on Grafana is needed to view that tab. Please contact your system`s administrator to change the permissions.