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.

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. For example, listener.logz.io if your account is hosted on AWS US East, or listener-nl.logz.io if hosted on Azure West Europe. 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

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 Kibana. All metrics that were sent from the Lambda function will have the prefix ping_stats in their name.

Log in to your Logz.io account and navigate to the current instructions page inside the Logz.io app. 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.