# Logs of Individual Services

Service log messages of individual services provide a detailed view of individual service activities for effective monitoring and troubleshooting. You can filter, search, and export log data in the **Service Logs** tab of the **Service Details** view. By accessing these service logs, you can:

* Track important events
* Ensure optimal service performance
* Identify and diagnose issues for troubleshooting

## Service Logs Tab (Service Details View)

You can view detailed log messages for each service in the **Service Logs** tab of the **Service Details** view.

* To open the **Service Logs** tab of a service, click **Services**, click the service for which you want to check the service logs and click **Service Logs**.

<figure><img src="https://3981784145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff0nDJzNyTKwsbixM8E4H%2Fuploads%2Fgit-blob-6b8266ebbbaf1bed572eaf3c17f1b6660df07422%2Fservice-logs-service-details.png?alt=media" alt=""><figcaption></figcaption></figure>

**Download CSV**

* Export the visible log entries as a CSV file.

{% hint style="info" %}
The service log entries in the CSV file are limited to the most recent 500 lines in the current view. To download the raw logs that contain the full logs, see [Logs of All Services](https://docs.cybus.io/2-0-1/documentation/services/service-logs/service-logs-of-all-services)
{% endhint %}

**Refresh Logs**

* Refresh the service logs messages to show the most recent entries.

**Filter**

* Use these filters to focus on specific service log message types based on your troubleshooting or monitoring needs. You can filter for **Debug**, **Error**, **Fatal**, **Info**, **Trace**, and **Warn** messages.

**Start Time/End Time**

* Select a specific start date/time and end date/time to define the period for which you want to view service log messages.

**Search**

* Find specific service log messages by keyword. The search filters the displayed service log messages, showing only matching results.

**Level**

* The type of message. For example, info or warning.

**Time**

* Shows the exact date and time when each log message was generated.

**Message**

* Displays the message of the service log. For example, **Lathe\_01: Enabled Service**.

## Log Details Dialog

The **Log Details** dialog provides in-depth information about specific log entries in the service logs.

* To open the **Log Details** dialog, click a log entry of a service.

<figure><img src="https://3981784145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff0nDJzNyTKwsbixM8E4H%2Fuploads%2Fgit-blob-286bf7123a8055166b637f56c0305840e70589ac%2Flog-details-dialog.png?alt=media" alt=""><figcaption></figcaption></figure>

When you select a log entry, this dialog displays the following fields:

**Time**

* The timestamp of the log entry in Unix milliseconds format. Example: **1728878765733**

**Pid**

* The Process ID associated with the log entry.

**Hostname**

* The name of the host or service that generated the log. Example: **service-manager**

**Class Name**

* The class or category of the log entry. Example: **Service**

**Message**

* A detailed description of the logged event. Example: **Drehmaschine\_02: Enabling Service**
