Skip to main content
Version: v2.0 print this page

App Management

Amorphic App Management provides the following capabilities:

Cloudwatch Logs

Previously logs generated through Amorphic services were retained forever. With this feature, Admins can set retention period(in days) for the generated logs. If the retention period is specified as X days, it means that all logs older than X days from the time of it's creation will be deleted eventually. In this manner, Admins can try to reduce the cost of storage for these logs.

Note

This feature can only be used by Admins. Currently, retention policy is being applied on almost all logs generated through Amorphic services except a few like DMS Tasks, ETL Glue Jobs, etc.

By default no retention policy is set. Minimum retention period(days) allowed is 60.

Apply Logs Retention Policy

The given below API is used to set/retrieve retention period for logs:-

  • /logs-retention-period
    • GET -- Returns retention period for the logs. If N/A is returned, that means logs will be retained forever.
    • PUT -- Set the new retention period of logs to X days as provided by user. Please note that it takes around 24 hours for the retention period to get updated.

API Process (Request and Payload Details)

  1. To retrieve retention period of logs

    /logs-retention-period & GET method

    Body/QueryParameter (NOT Required)

  2. To set/update retention period of logs

    /logs-retention-period?period={days} & PUT method

    QueryParameter (Required): period Body (NOT Required)

Note

Please replace variables enclosed in {} with the corresponding values (Ex: days should be replaced with a valid number. Allowed values for retention period are - ['N/A', '60', '90', '120', '150', '180', '365', '400', '545', '731', '1827', '2192','2557', '2922', '3288', '3653'] N/A is equivalent to 0 days. That means logs will be stored forever.

Whitelisted Domains

In Amorphic, User can edit the Whitelisted Domains with which user can be registered for application.

The following picture depicts the Whitelisted Domains Management Console in Amorphic:

Whitelisted Domains