This tool uses the aws-go-sdk to bootstrap an elasticsearch cluster with cloudwatch logs configured to forward to this cluster.
To use this you need an AWS account with some services logging to cloudwatch logs.
make
Firstly create a cluster.yml
in the current directory using the example provided.
Create an elasticsearch cluster.
Usage:
aws-ek-setup up [flags]
Global Flags:
--aws-debug[=false]: Log debug information from aws-sdk-go library
Brief example which creates a new cluster named testcluster
.
AWS_PROFILE=XXX aws-ek-setup create --name=testcluster
This is a work in progress at the moment and has some pretty basic defaults right now.
- Discover all cloudwatch log groups and stream them to elastic search
aws-ek-setup is Copyright (c) 2015 Mark Wolfe @wolfeidau and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.