gammarer.aws-daily-cloud-watch-logs-archiver


Namegammarer.aws-daily-cloud-watch-logs-archiver JSON
Version 2.2.6 PyPI version JSON
download
home_pagehttps://github.com/gammarer/aws-daily-cloud-watch-logs-archiver.git
SummaryAWS CloudWatch Logs daily archive to s3 bucket
upload_time2024-02-21 19:12:30
maintainer
docs_urlNone
authoryicr<yicr@users.noreply.github.com>
requires_python~=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AWS Daily CloudWatch Logs Archiver

[![GitHub](https://img.shields.io/github/license/gammarer/aws-daily-cloud-watch-logs-archiver?style=flat-square)](https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@gammarer/aws-daily-cloud-watch-logs-archiver?style=flat-square)](https://www.npmjs.com/package/@gammarer/aws-daily-cloud-watch-logs-archiver)
[![PyPI](https://img.shields.io/pypi/v/gammarer.aws-daily-cloud-watch-logs-archiver?style=flat-square)](https://pypi.org/project/gammarer.aws-daily-cloud-watch-logs-archiver/)
[![Nuget](https://img.shields.io/nuget/v/Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver?style=flat-square)](https://www.nuget.org/packages/Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver/)
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.gammarer/aws-daily-cloud-watch-logs-archiver?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-daily-cloud-watch-logs-archiver/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarer/aws-daily-cloud-watch-logs-archiver/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarer/aws-daily-cloud-watch-logs-archiver?sort=semver&style=flat-square)](https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver/releases)

[![View on Construct Hub](https://constructs.dev/badge?package=@gammarer/aws-daily-cloud-watch-logs-archiver)](https://constructs.dev/packages/@gammarer/aws-daily-cloud-watch-logs-archiver)

AWS CloudWatch Logs daily(13:00Z) archive to s3 bucket.

## Resources

This construct creating resource list.

* S3 Bucket (log-archive-xxxxxxxx from @gammarer/aws-secure-log-bucket)
* Lambda function execution role
* Lambda function
* Lambda function log group
* StepFunctions state machine execution role
* StepFunctions state machine
* EventBridge Scheduler execution role
* EventBridge Scheduler

## Architecture

![architecture](/architecture.drawio.svg)

## Install

### TypeScript

```shell
npm install @gammarer/aws-daily-cloud-watch-logs-archiver
# or
yarn add @gammarer/aws-daily-cloud-watch-logs-archiver
```

### Python

```shell
pip install gammarer.aws-daily-cloud-watch-logs-archiver
```

### C# / .NET

```shell
dotnet add package Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver
```

### Java

Add the following to pom.xml:

```xml
<dependency>
  <groupId>com.gammarer</groupId>
  <artifactId>aws-daily-cloud-watch-logs-archiver</artifactId>
</dependency>
```

## Example

```shell
npm install @gammarer/aws-daily-cloud-watch-logs-archiver
```

```python
import { DailyCloudWatchLogsArchiver } from '@gammarer/aws-daily-cloud-watch-logs-archiver';

new DailyCloudWatchLogsArchiver(stack, 'DailyCloudWatchLogsArchiver', {
    resource: {
      key: 'DailyLogExport',
      values: ['Yes'],
    },
});
```

## Otherwise

If you want to export old log files, please refer to the following repository. The log file will be exported in the same output format.

[AWS CloudWatch Logs Exporter](https://github.com/gammarer/aws-cloud-watch-logs-exporter)

## License

This project is licensed under the Apache-2.0 License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver.git",
    "name": "gammarer.aws-daily-cloud-watch-logs-archiver",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "yicr<yicr@users.noreply.github.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/43/ca/adb4358f7b094b26d4a57537de28dbaacfa37a9a8d98c84621e57b4fe55f/gammarer.aws-daily-cloud-watch-logs-archiver-2.2.6.tar.gz",
    "platform": null,
    "description": "# AWS Daily CloudWatch Logs Archiver\n\n[![GitHub](https://img.shields.io/github/license/gammarer/aws-daily-cloud-watch-logs-archiver?style=flat-square)](https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@gammarer/aws-daily-cloud-watch-logs-archiver?style=flat-square)](https://www.npmjs.com/package/@gammarer/aws-daily-cloud-watch-logs-archiver)\n[![PyPI](https://img.shields.io/pypi/v/gammarer.aws-daily-cloud-watch-logs-archiver?style=flat-square)](https://pypi.org/project/gammarer.aws-daily-cloud-watch-logs-archiver/)\n[![Nuget](https://img.shields.io/nuget/v/Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver?style=flat-square)](https://www.nuget.org/packages/Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver/)\n[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.gammarer/aws-daily-cloud-watch-logs-archiver?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/gammarer/aws-daily-cloud-watch-logs-archiver/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarer/aws-daily-cloud-watch-logs-archiver/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarer/aws-daily-cloud-watch-logs-archiver?sort=semver&style=flat-square)](https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver/releases)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=@gammarer/aws-daily-cloud-watch-logs-archiver)](https://constructs.dev/packages/@gammarer/aws-daily-cloud-watch-logs-archiver)\n\nAWS CloudWatch Logs daily(13:00Z) archive to s3 bucket.\n\n## Resources\n\nThis construct creating resource list.\n\n* S3 Bucket (log-archive-xxxxxxxx from @gammarer/aws-secure-log-bucket)\n* Lambda function execution role\n* Lambda function\n* Lambda function log group\n* StepFunctions state machine execution role\n* StepFunctions state machine\n* EventBridge Scheduler execution role\n* EventBridge Scheduler\n\n## Architecture\n\n![architecture](/architecture.drawio.svg)\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install @gammarer/aws-daily-cloud-watch-logs-archiver\n# or\nyarn add @gammarer/aws-daily-cloud-watch-logs-archiver\n```\n\n### Python\n\n```shell\npip install gammarer.aws-daily-cloud-watch-logs-archiver\n```\n\n### C# / .NET\n\n```shell\ndotnet add package Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver\n```\n\n### Java\n\nAdd the following to pom.xml:\n\n```xml\n<dependency>\n  <groupId>com.gammarer</groupId>\n  <artifactId>aws-daily-cloud-watch-logs-archiver</artifactId>\n</dependency>\n```\n\n## Example\n\n```shell\nnpm install @gammarer/aws-daily-cloud-watch-logs-archiver\n```\n\n```python\nimport { DailyCloudWatchLogsArchiver } from '@gammarer/aws-daily-cloud-watch-logs-archiver';\n\nnew DailyCloudWatchLogsArchiver(stack, 'DailyCloudWatchLogsArchiver', {\n    resource: {\n      key: 'DailyLogExport',\n      values: ['Yes'],\n    },\n});\n```\n\n## Otherwise\n\nIf you want to export old log files, please refer to the following repository. The log file will be exported in the same output format.\n\n[AWS CloudWatch Logs Exporter](https://github.com/gammarer/aws-cloud-watch-logs-exporter)\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "AWS CloudWatch Logs daily archive to s3 bucket",
    "version": "2.2.6",
    "project_urls": {
        "Homepage": "https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver.git",
        "Source": "https://github.com/gammarer/aws-daily-cloud-watch-logs-archiver.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3dec583b0dbf0b8445bfcabd4577ac05a4cf91816ffeffc800d52d746b219696",
                "md5": "cf4692aa30e63f13271f742f1ffddb51",
                "sha256": "c6a83482b995e0346d45aa427b55883a0fd694929abcc9c9c9e3c3cd84c903b9"
            },
            "downloads": -1,
            "filename": "gammarer.aws_daily_cloud_watch_logs_archiver-2.2.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf4692aa30e63f13271f742f1ffddb51",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 47702,
            "upload_time": "2024-02-21T19:12:27",
            "upload_time_iso_8601": "2024-02-21T19:12:27.799495Z",
            "url": "https://files.pythonhosted.org/packages/3d/ec/583b0dbf0b8445bfcabd4577ac05a4cf91816ffeffc800d52d746b219696/gammarer.aws_daily_cloud_watch_logs_archiver-2.2.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "43caadb4358f7b094b26d4a57537de28dbaacfa37a9a8d98c84621e57b4fe55f",
                "md5": "1f4d8c26b7451d8c158c84fa36f4f044",
                "sha256": "0082bc641d45bb2b728e1b29cbf9ff979eaa645be251c88b0155ccae59215607"
            },
            "downloads": -1,
            "filename": "gammarer.aws-daily-cloud-watch-logs-archiver-2.2.6.tar.gz",
            "has_sig": false,
            "md5_digest": "1f4d8c26b7451d8c158c84fa36f4f044",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 49063,
            "upload_time": "2024-02-21T19:12:30",
            "upload_time_iso_8601": "2024-02-21T19:12:30.091758Z",
            "url": "https://files.pythonhosted.org/packages/43/ca/adb4358f7b094b26d4a57537de28dbaacfa37a9a8d98c84621e57b4fe55f/gammarer.aws-daily-cloud-watch-logs-archiver-2.2.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-21 19:12:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gammarer",
    "github_project": "aws-daily-cloud-watch-logs-archiver",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "gammarer.aws-daily-cloud-watch-logs-archiver"
}
        
Elapsed time: 0.43384s