Deploy this integration to collect X509 certificate metrics from URLs and send them to Logz.io. The following metrics are collected by this integration:

  • x509_age (duration in milliseconds)
  • x509_expiry (duration in milliseconds)
  • x509_start_date (in seconds passed since 1.1.1970)
  • x509_end_date (in seconds passed since 1.1.1970)

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
LogzioMetricsToken Your Logz.io metrics shipping token:<<PROMETHEUS-METRICS-SHIPPING-TOKEN>> 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 -
LambdaName Name for the current lambda function. Optional x509-Certificate-Metrics-Lambda
CertificateURL The URL to collect x509 certificate metrics from, including port. i.e: https://app.logz.io:443 Required -
LambdaTimeout The amount of time that Lambda allows a function to run before stopping it. Minimum value is 1 second and Maximum value is 900 seconds. We recommend to start with 300 seconds (5 minutes). Optional 300
CloudWatchEventScheduleExpression The scheduling expression that determines when and how often the Lambda function runs. We recommend to start with 10 hour rate. Optional 10 hours
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 -
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 x509 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.