Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/snaka/download-cwlogs
- Owner: snaka
- License: mit
- Created: 2024-10-23T13:56:01.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-10-23T14:20:33.000Z (24 days ago)
- Last Synced: 2024-10-23T16:55:30.289Z (24 days ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.