Ping Statistics
Overview
Deploy this integration to collect metrics of ping statistics collected from your preferred web addresses and send them to Logz.io.
The integration is based on a Lambda function that will be auto-deployed together with the layer LogzioLambdaExtensionLogs.
Auto-deploy the Lambda function
👇 To begin, click this button to start the automated deployment. You will need to deploy it in your environment.
Specify the template
Keep the defaults and click Next.
Specify the stack details
Specify the stack details as per the table below and select Next.
Parameter | Description | Required/Optional | Default |
---|---|---|---|
Addresses | The addresses to ping. You can add port for each address (default port for the address is 80). Addresses must be separated by comma. (Example addresses: www.google.com , tcp://www.google.com , https://www.google.com , http://www.google.com ). | Required | - |
LogzioListener | The Logz.io listener URL: https://<<LISTENER-HOST>>:8071 Replace <<LISTENER-HOST>> with the host for your region. The required port depends whether HTTP or HTTPS is used: HTTP = 8070, HTTPS = 8071. | Required | https://listener.logz.io |
LogzioLogsToken | Your Logz.io log shipping token:<<LOG-SHIPPING-TOKEN>> Replace <<LOG-SHIPPING-TOKEN>> with the token of the account you want to ship to. | Required | - |
LogzioMetricsToken | Your Logz.io metrics shipping token:<<PROMETHEUS-METRICS-SHIPPING-TOKEN>> | Required | - |
PingCount | The number of pings for each address. | Required | 3 |
PingInterval | The time to wait (in seconds) between each ping. | Required | 1 (second) |
PingTimeout | The timeout (in seconds) for each ping. | Required | 10 (seconds) |
SchedulingInterval | The scheduling expression that determines when and how often the Lambda function runs. | Required | rate(30 minutes) |
Configure the stack options
Keep the defaults and click Next.
Review the deployment
Confirm that you acknowledge that AWS CloudFormation might create IAM resources and select Create stack.
Run the tests
Run the ping statistics tests to generate metrics.
Check Logz.io for your metrics
Give your metrics some time to get from your system to ours, and then open Open Search Dashboards. All metrics that were sent from the Lambda function will have the prefix ping_stats
in their name.
Install the pre-built dashboard to enhance the observability of your metrics.
To view the metrics on the main dashboard, log in to your Logz.io Metrics account, and open the Logz.io Metrics tab.