Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 2.6 KB

File metadata and controls

48 lines (26 loc) · 2.6 KB

Splunk dashboards for AEMCS CDN Log Analysis

This section of the repository lets you analyze AEM as a Cloud Service (AEMCS) CDN log files and visualize metrics through dashboards using the Splunk, a popular log analysis tool.

Overview

Splunk is a popular log analysis tool that helps aggregate, analyze logs, and create visualizations for monitoring, and troubleshooting purposes.

To quickstart the analysis, the following dashboards are provided:

  • CDN Cache Hit Ratio: provides insights into the total cache hit ratio and total count of requests by HIT, PASS, and MISS status. Also provides top HIT, PASS, and MISS URLs.
  • CDN Traffic Dashboard: provides insights into the traffic via CDN and Origin request rate, 4xx and 5xx error rates, and non-cached requests. Also provides max CND and Origin requests per second per client IP address and more insights to optimize the CDN configurations.
  • WAF Dashboard: provides insights via analyzed, flagged, and blocked requests. Also provides top attacks by WAF Flag ID, top 100 attackers by client IP, country, and user agent and more insights to optimize the WAF configurations.

However, you can enhance and create additional dashboards to gain further insights and optimize the CDN configurations.

Prerequisites

How to set up the Splunk dashboards

This repository provides three .xml dashboard files in the dashboards directory. You can use these dashboards to visualize the CDN log data in Splunk.

  1. Login to your Splunk instance.

  2. Click Create New Dashboard button.

    Create New Dashboard

  3. Provide a placeholder name for the dashboard, and select Classic Dashboard option.

    Create Dashboard

  4. In Edit Dashboard view, select Source toggle and paste the content of the desired .xml file from the cloned repository's dashboards directory.

    Edit Dashboard

  5. Click Save button to save the dashboard.

    Save Dashboard

  6. If needed change the Index and Source Type to match your log data in the filter section.

    Filter

  7. Repeat the steps for other dashboards.