Skip to content
This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

Desole ElasticSearch publisher

This publisher submits Desole events to AWS ElasticSearch, where you can query and search them easily. The repository contains an example of a CloudFormation template which you can deploy with a single click, or modify to fit your needs.

Deploy the ElasticSearch Publisher using CloudFormation

The default template deploys a new AWS ElasticSearch domain on a t2.micro instance with a 10GB EBS volume capacity. This is good for small sites and for demonstration purposes, but it may be inadequate for high-traffic event collection. Check out the Deploying Custom Bundle section below to see how to deploy a modified template.

Region Launch
US East (N.Virginia) Pinpoint publisher in us-east-1
EU Central (Frankfurt) Pinpoint publisher in eu-central-1
US West (N. California) Pinpoint publisher in us-west-1
Asia Pacific (Sydney) Pinpoint publisher in ap-southeast-2

Deploy a custom bundle


  • NPM
  • An S3 Bucket for Deployment, in the same region where you would like to deploy Desole
  • AWS CLI (command line tools), configured to use your account

Deployment process

Change the template.yaml to modify the ElasticSearch instance size, volume and other parameters. For more information, check out the ElasticSearch Domain CloudFormation Reference.

  1. Install the dependencies
npm install
  1. Prepare and pack your code
npm run prepackage
  1. Package the template
aws cloudformation package --template-file template.yaml --output-template-file output.yaml
  1. Deploy the packaged template
aws cloudformation deploy --template-file output.yaml --capabilities CAPABILITY_IAM --stack-name <STACK NAME> --parameter-overrides CollectorSNSTopic=<SNS TOPIC ARN>

For a detailed list of supported parameters, check out template.yaml