Streaming log entries in real time
The real time logging of Acquia China Managed is built on the Elasticsearch stack.
Prerequisites
Since the streaming logging service is placed in a private network, you must open a SSH tunnel to access the service.
Make sure your SSH key has permission to access the bastion server. For more information, see environment access.
Create a Support ticket and provide your IP address with the CIDR notation.
Access the streaming logging service
On your local computer, open a terminal window. Open a SSH tunnel to the streaming service.
ssh -i <your ssh key> -L 5601:<streaming service IP>:5601 <project key>@<bastion server IP> -N
- Open a browser and go to the following URL:
http://localhost:5601
.
Downloading log files
Logs are stored in a log directory on each server. Users can access these files at the /mnt/logs
location.
Log directory mapping
Directory/File | Description |
---|---|
/mnt/logs/<project-key>-web-server | Includes php-fpm access logs and the logs of Drupal watchdog |
/mnt/logs/rds/<db name of environment>/slowquery | Includes DB slowquery logs |
/mnt/logs/rds/<db name of environment>/error | Includes DB error logs |
/mnt/logs/<project-key>-solr | Includes the logs of Solr instance |
/mnt/logs/<project-key>-ngnix | Includes the logs of nginx |