Skip to content

A project using terraform that will be create a elasticsearch cluster and a subscription in some log groups inside CloudWatch.

Notifications You must be signed in to change notification settings

brunocamboim/terraform-aws-elasticsearch-logs-subscription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

A example project to create an elasticsearch and a subscription filter to get logs inside the CloudWatch and send to lambda. The lambda will send the data to elasticsearch. I'm using the following services:

  • ElasticSearch
  • CloudWatch
  • Lambda

Getting Started

First of all, clone the repository.

  1. Installation process
  • You need to install terraform. See docs.

Build and Test

To deploy to AWS, you need to use some commands inside folder src:

  • terraform init
  • terraform plan (It will show what will be happen when you run the command apply)
  • terraform apply (This apply the configuration)

Documentation Kibana

SQL Kibana

Deleting existing indexes

  • Inside the panel Kibana, access the tool Dev Tools, it will show a console.
  • Search the index: GET /_cat/indices?v
  • To delete, use the command: DELETE /INDEX_NAME_TO_DELETE

Create a index pattern

See more

https://www.terraform.io/docs/

About

A project using terraform that will be create a elasticsearch cluster and a subscription in some log groups inside CloudWatch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published