Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

App Mesh Logs Collector is a tool to retrieve logs from your AWS App Mesh resources for troubleshooting purpose

License

Notifications You must be signed in to change notification settings

leandrocostam/appmesh-logs-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

App Mesh Logs Collector

The project was created in order to retrieve logs from your AWS App Mesh resources for troubleshooting purpose.

Prerequisites

Setup

Download the App Mesh Logs Collector script by running the following command:

curl -O https://raw.githubusercontent.com/leandrocostam/appmesh-logs-collector/master/appmesh-logs-collector.sh

Collect App Mesh Resources

Collect information of your AWS App Mesh (mesh, virtual services, virtual nodes, etc) by running the following command:

sudo bash appmesh-logs-collector.sh --resource appmesh --mesh-name <mesh-name> --region <aws-region>

Collect Related Resources in Amazon EKS / Kubernetes

Collect logs and settings from envoy containers running on Kubernetes cluster per namespace by running the following command:

sudo bash appmesh-logs-collector.sh --resource k8s --namespace <namespace>

Collect Related Resources in Amazon EC2 (not ready)

Collect all information of your App Mesh resources running in your Amazon EC2 by running the following command from the EC2 instance:

$ sudo bash appmesh-logs-collector.sh --resource ec2

Script Options

$ sudo bash appmesh-logs-collector.sh --help
usage: appmesh-logs-collector.sh [options]

-h,--help print this help
--resource (appmesh|k8s|ec2)
--resource "appmesh" --mesh-name <name-mesh> --region <aws-region>
--resource "k8s" --namespace <namespace>
--resource "ec2"

Default values:
region: us-east-1
namespace: default

Contribuite

Please, feel free to place a pull request whether something is not up-to-date, should be added, fixed, or contains wrong information/reference.

About

App Mesh Logs Collector is a tool to retrieve logs from your AWS App Mesh resources for troubleshooting purpose

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages