Where Are All Those 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:
Log Files and Their Description
Metric Insights' logs follow the ISO-8601 standard of date and time representation.
- Example:
2025-01-23 10:35:00
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.