Giter Club home page Giter Club logo

elk-cloudtrail's Introduction

elk-cloudtrail

ELK v5 stack for CloudTrail logs (Amazon Web Services API calls)

Alt text

Docker images:

Kibana: 		latest version, Official
Elasticsearch: 		latest version, Official + Data on EFS
Logstash:		Modified version, cloudtrail codec plugin installed, create new image (Logstash)

Installation:

  1. git clone https://github.com/prasenforu/elk-cloudtrail.git

  2. Goto folder "elk-cloudtrail/logstash/" and edit "logstash.conf" file following section as per your configuration

    bucket => "CLOUD_TRAIL_BUCKET_NAME"

    access_key_id => "ACCESS_KEY"

    secret_access_key => "SECRET_ACCESS_KEY"

    prefix => "AWSLogs/AMAZON_ACCOUNT_ID/CloudTrail/"

  3. Make executable docker-entrypoint.sh

    chmod 755 docker-entrypoint.sh

  4. Build docker container

    docker build -t logstash5 .

  5. Run Docker Compose form elk_v_5 folder

    docker-compose up -d

  6. View Kibana at http://localhost:5601

    Use the **index pattern** as `logtash-*` and select the **time field** as `@timestamp`
    

For Stop, shutdown and restart

  1. sudo docker-compose stop to shutdown all the docker containers.

  2. sudo docker-compose down to shutdown and remove all the files from docker.

  3. sudo docker-compose restart to restart docker container.

elk-cloudtrail's People

Contributors

prasenforu avatar antonchernysh avatar

Watchers

James Cloos avatar

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.