Skip to main content

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.

Deploy to AWS

Specify the template

Specify stack template

Keep the defaults and click Next.

Specify the stack details

Specify stack details

Specify the stack details as per the table below and select Next.

ParameterDescriptionRequired/OptionalDefault
AddressesThe 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-
LogzioListenerThe 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.Requiredhttps://listener.logz.io
LogzioLogsTokenYour Logz.io log shipping token:<<LOG-SHIPPING-TOKEN>> Replace <<LOG-SHIPPING-TOKEN>> with the token of the account you want to ship to.Required-
LogzioMetricsTokenYour Logz.io metrics shipping token:<<PROMETHEUS-METRICS-SHIPPING-TOKEN>>Required-
PingCountThe number of pings for each address.Required3
PingIntervalThe time to wait (in seconds) between each ping.Required1 (second)
PingTimeoutThe timeout (in seconds) for each ping.Required10 (seconds)
SchedulingIntervalThe scheduling expression that determines when and how often the Lambda function runs.Requiredrate(30 minutes)
Configure the stack options

Specify 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.