Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snaka/download-cwlogs

Command to download all log-streams of specified log-group in CloudWatch logs then save as CSV
https://github.com/snaka/download-cwlogs

Last synced: 11 days ago
JSON representation

Command to download all log-streams of specified log-group in CloudWatch logs then save as CSV

Awesome Lists containing this project

README

        

# download-cwlogs

This tool exports CloudWatch Logs to a CSV file.

## Installation

```bash
go install github.com/snaka/download-cwlogs/cmd/download-cwlogs@latest
```

## Usage

```bash
download-cwlogs -g -s -r -o
```

- `-g`, `--log-group`: Log group name (required)
- `-s`, `--log-stream`: Log stream name (required)
- `-r`, `--region`: AWS region (default: `ap-northeast-1`)
- `-o`, `--output-file`: Output file name (default: `output.csv`)

## Contributing

Contributions are welcome! Please feel free to submit a pull request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.