# Service Logs

Service logs allow you to monitor system events, service activities, and operational data. It shows the behavior of services within the Connectware environment.

In the **Service Logs** view, you can monitor the activities of all active services. In the **Service Logs** tab of the **Service Details** view, you can see the service logs of individual services.

**Key Features**

* **Near Real-time Log Streaming**: View logs as they are generated, allowing for immediate insight into current system activities.
* **Filter**: Easily narrow down log entries based on various criteria such as service name, log level, or time range.
* **Log Level Differentiation**: Quickly identify the severity and importance of log entries through color-coded log levels (e.g., INFO, WARN, ERROR).
* **Detailed Log Entries**: Access comprehensive information for each log entry, including timestamp, process ID, hostname, and message content.

## Benefits of Service Logs

* **Troubleshooting**: Quickly identify and diagnose issues by tracing service activities and error messages.
* **Performance Monitoring**: Track service performance and resource utilization over time.
* **Security Auditing**: Review logs for any suspicious activities or unauthorized access attempts.
* **Compliance**: Maintain detailed records of system activities for regulatory compliance purposes.
* **Operational Insights**: Gain a deeper understanding of how your services operate and interact within Connectware.

## Best Practices

* Regularly review logs to stay proactive in system management.
* Set up log rotation to manage storage efficiently.
* Use filtered views to focus on specific services or issues.
* Leverage the Log Details dialog for in-depth analysis of critical events.
* Consider integrating log data with external analysis tools for advanced insights.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cybus.io/2-1-2/documentation/services/service-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
