Giter Club home page Giter Club logo

aws-ecs-logs-collector-for-windows's Introduction

AWS ECS Logs Collector For Windows

This project was created to collect Amazon ECS log files and OS logs for troubleshooting Amazon ECS on Windows customer support cases.

Supported Operating System

Windows 2016

Collected information

System and Application Event Logs

OS System Information

Docker logs

Amazon ECS agent Logs

Results

Creates a collect.zip file in the same folder as the script

Usage

Run this script as an elevated user:

.\ecs-logs-collector.ps1

The script can be used in normal(Brief) or debug mode.

Example output

This script can be used in normal or debug mode

Example output in normal mode

The following output shows this project running in normal mode:

.\ecs-logs-collector.ps1

Running Default(Brief) Mode

Cleaning up directory OK

Creating temporary directory OK

Collecting System information OK

Checking free disk space C: drive has 75% free space OK

Collecting System Logs OK

Collecting Application Logs OK

Collecting Volume info OK

Collecting Windows Firewall info

Collecting Rules for Domain profile

Collecting Rules for Private profile

Collecting Rules for Public profile OK

Collecting installed applications list OK

Collecting Services list OK

Collecting Docker daemon information OK

Collecting ECS Agent logs OK

Inspect running Docker containers and gather Amazon ECS container agent data OK

Collecting Docker daemon logs OK

Archiving gathered data OK

Example output in debug mode

The following output shows this script running with debug mode. Note that running in debug mode restarts Docker and the Amazon ECS agent.

.\ecs-logs-collector.ps1 -RunMode debug

Running Debug Mode

Cleaning up directory OK

Enabling debug mode for the Docker Service [SC] ChangeServiceConfig SUCCESS OK

Enabling debug mode for the Amazon ECS container agent Restarting the Amazon ECS container agent to enable debug mode OK

Creating temporary directory OK

Collecting System information OK

Checking free disk space C: drive has 75% free space OK

Collecting System Logs OK

Collecting Application Logs OK

Collecting Volume info OK

Collecting Windows Firewall info

Collecting Rules for Domain profile

Collecting Rules for Private profile

Collecting Rules for Public profile OK

Collecting installed applications list OK

Collecting Services list OK

Collecting Docker daemon information OK

Collecting ECS Agent logs OK

Inspect running Docker containers and gather Amazon ECS container agent data OK

Collecting Docker daemon logs OK

Archiving gathered data OK

Contributing

Please create a new GitHub issue for any feature requests, bugs, or documentation improvements.

Where possible, submit a pull request for the change.

License

This library is licensed under the Apache 2.0 License.

aws-ecs-logs-collector-for-windows's People

Contributors

affoliveira-aws avatar alpineelffriend avatar moormat avatar

Watchers

 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.