Skip to content

a log collecting script for the Buildkite Elastic CI Stack

Notifications You must be signed in to change notification settings

nsuma8989/bk-log-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Buildkite Elastic CI Stack Log Collector

A bash script intended to make it easier to collect logs for troubleshooting Buildkite agents running on the Buildkite Elastic CI Stack. If you need assistance from Buildkite support, please run this script and send the logs to [email protected].

Setup

Clone the repo:

git clone github.com/jeremybumsted/bk-log-collector

Ensure you have the configured the AWS CLI

It is recommended you use a tool like aws-vault to manage your credentials and sessions.

Usage

Currently, the script requires and Autoscaling Group Name and an instance ID:

./bk-log-collector -s <ASG-Group-Name> -i <Instance-ID>

This will collect logs from the following locations in CloudWatch and store them in a zip file in /tmp/buildkite-logs-[date].zip:

/buildkite/buildkite-agent
/buildkite/system
/buildkite/lifecycled
/buildkite/docker-daemon

About

a log collecting script for the Buildkite Elastic CI Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages