Accessing the Metric Insights Log Files
Metric Insights is a dockerized application. All logs from Docker containers are stored in one directory /opt/mi/log
.
- See deployment details in Docker Deployment (Simple Installer) and Deploying Metric Insights in an Orchestrated Environment
- All logs are redirected to the rsyslog service that will store them in files. Alternatively, Splunk logging service can be used.
Table of contents:
NOTE: Metric Insights' logs follow the ISO-8601 standard of date and time representation.
- Example:
2025-01-23 10:35:00
1. Access the Log Files
1.1. Access Log Files via Status Monitor
Access Admin > Status Monitor > Errors & Logs tab
NOTE: Logs from Status Monitor do not include Docker container logs, which can be accessed via MI Console or directly via Docker containers.
- [Get Error Logs]
- From the pop-up, you can download the logs (zipped) to your local machine, send them to our support team for assistance, or both.
1.2. Access Log Files via MI Console
See the Logs section of the MI Console Overview article for details.
1.3. Access Log Files Directly via Docker Containers
All system logs are stored in the web container at /opt/mi/log
. To access log files for a specific service, navigate to /opt/mi/log
inside the corresponding container.
2. Log Files Description
See the logs description for your MI version and deployment type in the corresponding section:
MI v7
Simple Installation
Orchestrated Environments
Containers logs Logs are managed by the orchestration service and can be accessed using the respective commands:
-
Kubernetes (K8s): Use
kubectl logs -n <namespace> <pod id>
. - ECS: All logs are available in AWS CloudWatch.
-
Docker Swarm: Use the default Docker command:
docker logs
.
The table below describes log files available for all orchestrated environments.