All Projects → vigeek → aws-elb-logs-to-logstash

vigeek / aws-elb-logs-to-logstash

Licence: MIT license
Consumes ELB & ALB logs and sends them to logstash for ingestion. Kibana dashboard included.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to aws-elb-logs-to-logstash

S1EM
This project is a SIEM with SIRP and Threat Intel, all in one.
Stars: ✭ 270 (+938.46%)
Mutual labels:  kibana, logstash
dockelk
ELK log transport and aggregation at scale
Stars: ✭ 31 (+19.23%)
Mutual labels:  kibana, logstash
elk-upgrade
Elastic Stack Upgrade with Ansible
Stars: ✭ 28 (+7.69%)
Mutual labels:  kibana, logstash
osint-combiner
Combining OSINT sources in Elastic Stack
Stars: ✭ 77 (+196.15%)
Mutual labels:  kibana, logstash
awesome-elastic-stack
Awesome Elastic Stack
Stars: ✭ 29 (+11.54%)
Mutual labels:  kibana, logstash
docker grafana statsd elk
Docker repo for a general purpose graphing and logging container - includes graphite+carbon, grafana, statsd, elasticsearch, kibana, nginx, logstash indexer (currently using redis as an intermediary)
Stars: ✭ 19 (-26.92%)
Mutual labels:  kibana, logstash
logstash filter f5
A Logstash filter for F5 apd, dcc, sshd and tmm syslog.
Stars: ✭ 19 (-26.92%)
Mutual labels:  kibana, logstash
Microservice Scaffold
基于Spring Cloud(Greenwich.SR2)搭建的微服务脚手架(适用于在线系统),已集成注册中心(Nacos Config)、配置中心(Nacos Discovery)、认证授权(Oauth 2 + JWT)、日志处理(ELK + Kafka)、限流熔断(AliBaba Sentinel)、应用指标监控(Prometheus + Grafana)、调用链监控(Pinpoint)、以及Spring Boot Admin。
Stars: ✭ 211 (+711.54%)
Mutual labels:  kibana, logstash
docker elk stack
Docker images to run an ELK stack
Stars: ✭ 24 (-7.69%)
Mutual labels:  kibana, logstash
elk-dashboard-v5-docker
My production setup for the latest version of ELK stack running in a compose, displaying a basic -but powerfull- security and performance dashboard.
Stars: ✭ 25 (-3.85%)
Mutual labels:  kibana, logstash
EnterpriseApplicationLog
Enterprise Application Log with RabbitMQ, LogStash, ElasticSearch and Kibana
Stars: ✭ 88 (+238.46%)
Mutual labels:  kibana, logstash
elk-tls-docker
This repository contains code to create a ELK stack with certificates & security enabled using docker-compose
Stars: ✭ 152 (+484.62%)
Mutual labels:  kibana, logstash
tutorials
Tutorials
Stars: ✭ 80 (+207.69%)
Mutual labels:  kibana, logstash
ncedc-earthquakes
The complete set of earthquake data with the Elastic Stack demo.
Stars: ✭ 22 (-15.38%)
Mutual labels:  kibana, logstash
elastic-stack-testing
Elastic Stack Testing Framework (ESTF) 🤖
Stars: ✭ 47 (+80.77%)
Mutual labels:  kibana, logstash
elastic-data-lake
Elastic Data Lake
Stars: ✭ 14 (-46.15%)
Mutual labels:  kibana, logstash
Elastiflow
Network flow analytics (Netflow, sFlow and IPFIX) with the Elastic Stack
Stars: ✭ 2,322 (+8830.77%)
Mutual labels:  kibana, logstash
Docker Elastic
Deploy Elastic stack in a Docker Swarm cluster. Ship application logs and metrics using beats & GELF plugin to Elasticsearch
Stars: ✭ 202 (+676.92%)
Mutual labels:  kibana, logstash
generator-mitosis
A micro-service infrastructure generator based on Yeoman/Chatbot, Kubernetes/Docker Swarm, Traefik, Ansible, Jenkins, Spark, Hadoop, Kafka, etc.
Stars: ✭ 78 (+200%)
Mutual labels:  kibana, logstash
ELK-Hunting
Threat Hunting with ELK Workshop (InfoSecWorld 2017)
Stars: ✭ 58 (+123.08%)
Mutual labels:  kibana, logstash

aws-elb-logs-to-logstash

Consumes AWS ELB (Elastic Load Balancer), NLB (Network Load Balancer), ALB (Application Load Balancer) logs from S3 and sends them to logstash for ingestion. The logs are formatted through a LogStash filter.

Requires

s3cmd -and- jq

Configuration

  1. Edit the script and update variable 'AWS_ACCOUNT_NUMBER' with your account number.
  2. Edit the script and update variable 'S3_BUCKET_NAME' with your buckets name.
  3. If your bucket is nested (e.g: loadbalancer-logs/AWSLogs/service/AWSLogs) set S3_BUCKET_NAME to "loadbalancer-logs/AWSLogs"
  4. Ensure your AWS credentials are configured (e.g: ~/.aws/credentials)
  5. Execute the script (it will run in a constant loop)

Configuration extended.

Included is a traditional init script and monit config (optional), to use the init script...

  1. Ensure 'elb-log-consumer.sh' is located here: /opt/elb-consumer
  2. Alternatively, edit 'elb-consumer-init.sh' and change variable 'THE_PATH'
  3. Place the init script[elb-consumer-init.sh] in /etc/init.d
  4. Make init script executable: chmod ug+x elb-consumer-init.sh
  5. It can then be started as such: /etc/init.d/elb-consumer-init.sh start (or stop)
  6. The included monit script can be placed in your monits configuration directory and used to control the ELB consumer.

Ingesting CloudTrail logs

See here: https://github.com/vigeek/aws-cloudtrail-to-logstash

Example Dashboard (included)

alt tag

Some minor details from the dashboard image are obfuscated.

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].