Use the log browser to choose label as compose_service and value with the container needed, then Click on Run Query on the top right of the screen. This will show the current logs.
You can also click on Live on the top right to see the live stream of the logs.
5. Loki Configuration
Loki supports different configuration in the form of YAML file. These configurations can be added in loki-config.yaml file.
i. Log Retention
The centralised logging stack is configured with a default retention period of 24 hours. But this can be configured as per requirements. To do so find the retention_period config in the loki-config.yaml and change the value (minimum: 24h) as per requirement.
After updating the configuration file, restart loki container by running docker compose -f docker-compose.yml -f docker-compose-monitoring.yml restart loki
Running Bahmni On Docker
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)