Loading...

Logging

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.

Access the streaming logging service

  1. 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
  2. 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/FileDescription
/mnt/logs/<project-key>-web-serverIncludes php-fpm access logs and the logs of Drupal watchdog
/mnt/logs/rds/<db name of environment>/slowqueryIncludes DB slowquery logs
/mnt/logs/rds/<db name of environment>/errorIncludes DB error logs
/mnt/logs/<project-key>-solrIncludes the logs of Solr instance
/mnt/logs/<project-key>-ngnixIncludes the logs of nginx

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation