What data storage advantages does Log Analytics provide?

Log Analytics enables you to store all logs centrally within external storage. This makes log data available independent of log files themselves. This can be beneficial in the following situations:

  • Short log retention periods
  • Volatile log storage
  • Legal requirements for keeping logs archived centrally for long time periods

Log storage requirements and costs

Dynatrace SaaS

For Dynatrace SaaS customers, log files are stored in Amazon Elastic File System in the zone where your Dynatrace environment resides. You don’t have to worry about storage performance, availability, or free space. Disk storage costs are included in your Log Analytics subscription. Costs are based on the average size of your cloud-based log storage, including the amount of streamed log data and the defined retention period.

Dynatrace Managed

To store log files centrally on your Dynatrace Managed cluster, you must provide a common Network File System (NFS) mount point (path) that is identical and available from all cluster nodes. With this approach, it's your responsibility to ensure appropriate levels of performance, availability, and free space on the mounted NFS volume. Costs are calculated based only on the amount of ingress log data (GB/day), not total storage size. So retention time doesn't influence storage costs.

Before configuring the path for log storage, make sure that you have the appropriate license:

  1. From the navigation menu, select Licensing.
  2. In the Licensing section, look for the Avg. daily log volume license.
    • If the Avg. daily log volume is not listed, contact your sales representative for a Log Analytics license.
    • If the Avg. daily log volume is listed, proceed to configuring the central storage location for your logs.

To set up your central location for log storage:

  1. From the navigation menu, select Settings > Log Analytics.

  2. Set the Use network attached storage switch to the On position.

  3. Click the edit button and enter the mount point (path) to the network resource.

    Make sure that the Dynatrace cluster has access to the mount point you indicated.

  4. Restart the Dynatrace cluster using the Restart button for each of the nodes in the cluster.

  5. For each monitored environment, in the Set total environment quotas section, set the Log analytics storage to non zero value (default 0 MB).

Upgrade Log Analytics

If you currently only have access to the limited free tier of Log Analytics

  1. Select Log files from the navigation menu to access Log Analytics.
  2. Click Upgrade Log Analytics to access the setup page.
  3. Set the desired log-file retention period and optionally specify which logs you want to store in central log disk storage.
  4. Review your estimated log storage usage (this is calculated for you automatically).
  5. Click Upgrade Log Analytics.

Once you've upgraded Log Analytics, you can stream log data from all your hosts to Dynatrace Server in the AWS cloud (Dynatrace SaaS) or NFS disks (Dynatrace Managed).

Note: You need to have your log storage quota set up by the Dynatrace Sales team prior to upgrading Log Analytics. If you've not yet done this, contact our Sales team directly, or use the link on the setup page. Once your storage quota has been set up, you can upgrade Log Analytics.