Giter Club home page Giter Club logo

terraform-aws-elasticsearch-logs-subscription's Introduction

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.