Cloud Platform

Viewing activity notifications

The Cloud Platform user interface notifies you about the activities in your applications. With this, you can keep a track of events and changes.

The Activity Feed shows the last 30 tasks from the task log. It does not include system-initiated tasks such as automated database backups. For a list of tasks that are displayed in the Activity Feed, see What actions result in notifications?.

To view notifications about an application:

  1. Sign in to the Cloud Platform user interface and select your application.
  2. In the upper right of the page, click the bell icon to view your recent notifications.

  3. Click the arrow in a notification to view more information about the activity.

When an action is in progress, the bell icon changes to a revolving arrow that also indicates the number of active tasks:

What actions result in notifications?

The Activity list in the Cloud Platform user interface displays a notification whenever a significant action occurs in an application, including the following:

  • Code installed or a new branch or tag deployed or reverted
  • Code, database, or files copied between environments
  • Database added or deleted
  • Database backup created or deleted
  • Domain change
  • Infrastructure change (including upgrade, downgrade, relaunch or PHP version change)
  • A change to a configured cron task
  • Actions taken on the Manage page of the Cloud Platform user interface, such as creating a team, adding or removing a user on a team, or editing a role
  • Actions taken on the SSL page of the Cloud Platform user interface, such as generating a Certificate Signing Request or installing an SSL certificate
  • Varnish® cache clear
  • Cloud IDEs are created or removed

Viewing old notifications

While the Cloud Platform user interface displays the current notifications based on the actions listed in this section,
you might want to view legacy notifications to troubleshoot issues. For example, if you observe degradation in the performance of your application for the last month, you might want to evaluate to see who performed what actions during the specific date range.

Viewing notifications using Acquia Cloud API

To view older notifications, you can access the Acquia Cloud API through your web browser and specify the filters such as date range.

You can run the following sample queries to retrieve legacy notifications:

  • For applications:{applicationUuid}/notifications?filter=created_at>{start_date};created_at<{end_date}
    For example,>2023-02-04;created_at<2023-02-16
  • For organizations:{organizationUuid}/notifications?filter=created_at>{start_date};created_at<{end_date}
    For example,>2023-02-04;created_at<2023-02-16

Viewing notifications using Acquia CLI

You can also use the Acquia CLI command line tool, which accesses the Acquia Cloud API and provides details in JSON format, to list older Activity Feed tasks.

To view the Activity Feed tasks older than last 30 days, you can use the following acli command:

acli api:applications:notification-list <applicationUuid>

This command provides detailed information of the activity notification tasks. You can use various parameters to filter for the retrieved tasks, as described in the acli help output. You can also use the --limit option to request a greater number of activity tasks. The default setting for this option is 30.

acli help api:applications:notification-list

  Returns a list of notifications associated with this application by its UUID.

  api:applications:notification-list [options] [--] 
  api:applications:notification-list da1c0a8e-ff69-45db-88fc-acd6d2affbb7 --sort="field1,-field2" --limit="10" --offset="10"
  api:applications:notification-list myapp --sort="field1,-field2" --limit="10" --offset="10"

  applicationUuid       The entity's universally unique identifier. You may also use an application alias or omit the argument if you run the command in a linked directory.

      --sort=SORT       A comma-delimited string with fields used for sorting. The order of the fields is significant. A leading - in the field indicates the field should be sorted in a descending order. Not all fields are sortable.

      --filter=FILTER   The filters query string parameter restricts the data returned from your request. Filtered queries restrict the rows that do (or do not) get included in the result by testing each row in the result against the filters. Not all fields are filterable.
      --limit=LIMIT     The maximum number of items to return.
      --offset=OFFSET   An integer to signify the offset to paginate from.