All Projects → awslabs → Aws Config To Elasticsearch

awslabs / Aws Config To Elasticsearch

Licence: apache-2.0
Generates an AWS Config Snapshot and ingests it into ElasticSearch for further analysis using Kibana

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Aws Config To Elasticsearch

Django S3 Like Storage
Your Own Amazon S3 Django Storage
Stars: ✭ 28 (-54.84%)
Mutual labels:  aws, aws-s3, amazon
Terraform Aws Elasticsearch
Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.
Stars: ✭ 137 (+120.97%)
Mutual labels:  aws, elasticsearch, kibana
Systemdlogger
Exports systemd logs to an external service, eg cloudwatch, elasticsearch
Stars: ✭ 91 (+46.77%)
Mutual labels:  aws, elasticsearch, kibana
Aws.s3
Amazon Simple Storage Service (S3) API Client
Stars: ✭ 302 (+387.1%)
Mutual labels:  aws, aws-s3, amazon
Microservice Monitoring
Monitor your Spring Boot application with the Elastic Stack all around
Stars: ✭ 114 (+83.87%)
Mutual labels:  aws, elasticsearch, kibana
Serverless Photo Recognition
A collection of 3 lambda functions that are invoked by Amazon S3 or Amazon API Gateway to analyze uploaded images with Amazon Rekognition and save picture labels to ElasticSearch (written in Kotlin)
Stars: ✭ 345 (+456.45%)
Mutual labels:  aws, aws-s3, elasticsearch
Gocd S3 Artifacts
Set of GoCD plugins to publish and fetch artifacts from Amazon S3
Stars: ✭ 35 (-43.55%)
Mutual labels:  aws, aws-s3
Aws S3 Scala
Scala client for Amazon S3
Stars: ✭ 35 (-43.55%)
Mutual labels:  aws, aws-s3
Chart To Aws
Microservice to generate screenshot from a webpage and upload it to a AWS S3 Bucket.
Stars: ✭ 43 (-30.65%)
Mutual labels:  aws, aws-s3
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-17.74%)
Mutual labels:  aws, elasticsearch
Awslib scala
An idiomatic Scala wrapper around the AWS Java SDK
Stars: ✭ 20 (-67.74%)
Mutual labels:  aws, aws-s3
Spring Boot Microservice Eureka Zuul Docker
Spring-Boot rest microservices using Eureka, Zuul, Docker. Monitoring with logstash, logback, elasticsearch, kibana
Stars: ✭ 45 (-27.42%)
Mutual labels:  elasticsearch, kibana
Simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK)
Stars: ✭ 51 (-17.74%)
Mutual labels:  aws, aws-s3
3d kibana charts vis
3D Kibana Charts: Pie Chart, Bars Chart, Bubbles Chart
Stars: ✭ 34 (-45.16%)
Mutual labels:  elasticsearch, kibana
Tweetmap
A real time Tweet Trend Map and Sentiment Analysis web application with kafka, Angular, Spring Boot, Flink, Elasticsearch, Kibana, Docker and Kubernetes deployed on the cloud
Stars: ✭ 28 (-54.84%)
Mutual labels:  aws, kibana
Nagios Plugins
450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
Stars: ✭ 1,000 (+1512.9%)
Mutual labels:  aws, elasticsearch
Amplify Js
A declarative JavaScript library for application development using cloud services.
Stars: ✭ 8,539 (+13672.58%)
Mutual labels:  aws, aws-s3
Manageiq
ManageIQ Open-Source Management Platform
Stars: ✭ 1,089 (+1656.45%)
Mutual labels:  aws, amazon
Aws Sdk Java V2
The official AWS SDK for Java - Version 2
Stars: ✭ 1,083 (+1646.77%)
Mutual labels:  aws, amazon
Complete Placement Preparation
This repository consists of all the material required for cracking the coding rounds and technical interviews during placements.
Stars: ✭ 1,114 (+1696.77%)
Mutual labels:  aws, amazon

Import your AWS Config Snapshots into ElasticSearch

Author: Vladimir Budilov

What problem does this app solve?

You have a lot of resources in your AWS account and want to search and visualize them. For example, you'd like to know your EC2 Avaiability Zone distribution or how many EC2 instances are uzing a particular Security Group

What does this app do?

It will ingest your AWS Config Snapshots into ElasticSearch for further analysis with Kibana. Please refer to this blog post for a more in-depth explanation of this solution.

Getting the code

git clone --depth 1 [email protected]:awslabs/aws-config-to-elasticsearch.git

The code

Prerequisites

  • Python 2.7
  • An ELK stack, up and running
  • Install the required packages. The requirements.txt file is included with this repo.
pip install -r ./requirements.txt

The command

./esingest.py
usage: esingest.py [-h] [--region REGION] --destination DESTINATION [--verbose]

  1. Let's say that you have your ElasticSearch node running on localhost:9200 and you want to import only your us-east-1 snapshot, then you'd run the following command:
./esingest.py -d localhost:9200 -r us-east-1
  1. If you want to import Snapshots from all of your AWS Config-enabled regions, run the command without the '-r' parameter:
./esingest.py -d localhost:9200
  1. To run the command in verbose mode, use the -v parameter
./esingest.py -v -d localhost:9200 -r us-east-1

Cleanup

####DON'T RUN THESE COMMANDS IF YOU DON'T WANT TO LOSE EVERYTHING IN YOUR ELASTICSEARCH NODE!

#####THIS COMMAND WILL ERASE EVERYTHING FROM YOUR ES NODE --- BE CAREFUL BEFORE RUNNING

curl -XDELETE localhost:9200/_all

In order to avoid losing all of your data, you can just iterate over all of your indexes and delete them that way. The below command will print out all of your indexes that contain 'aws::'. You can then run a DELETE on just these indexes.

curl 'localhost:9200/_cat/indices' | awk '{print $3}' | grep "aws::"

Also delete the template which allows for creationg of a 'raw' string value alongside every 'analyzed' one

curl -XDELETE localhost:9200/_template/configservice
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].