2.2.6 • Published 2 months ago

@gammarer/aws-daily-cloud-watch-logs-archiver v2.2.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

AWS Daily CloudWatch Logs Archiver

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

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

Install

TypeScript

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

Python

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

C# / .NET

dotnet add package Gammarer.CDK.AWS.DailyCloudWatchLogsArchiver

Java

Add the following to pom.xml:

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

Example

npm install @gammarer/aws-daily-cloud-watch-logs-archiver
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

License

This project is licensed under the Apache-2.0 License.

2.2.6

2 months ago

2.2.5

3 months ago

2.2.4

3 months ago

2.2.1

3 months ago

2.2.3

3 months ago

2.2.2

3 months ago

2.2.0

3 months ago

2.1.1

3 months ago

2.0.0

3 months ago

2.1.0

3 months ago

1.1.2

3 months ago

1.1.1

3 months ago

1.0.0

4 months ago

1.1.0

4 months ago

0.13.24

4 months ago

0.13.23

4 months ago

0.13.22

4 months ago

0.13.21

5 months ago

0.13.20

5 months ago

0.13.19

5 months ago

0.13.18

5 months ago

0.13.17

6 months ago

0.13.16

6 months ago

0.13.15

6 months ago

0.13.14

6 months ago

0.13.13

7 months ago

0.13.12

7 months ago

0.13.11

7 months ago

0.13.10

7 months ago

0.13.9

8 months ago

0.13.8

8 months ago

0.13.7

8 months ago

0.13.6

8 months ago

0.13.5

8 months ago

0.13.4

8 months ago

0.13.3

8 months ago

0.13.2

8 months ago

0.13.1

8 months ago

0.13.0

8 months ago

0.12.9

8 months ago

0.12.8

9 months ago

0.12.7

9 months ago

0.12.6

9 months ago

0.12.5

9 months ago

0.12.4

9 months ago

0.12.3

9 months ago

0.12.2

9 months ago

0.12.1

9 months ago

0.12.0

9 months ago

0.11.14

9 months ago

0.11.13

9 months ago

0.11.12

9 months ago

0.11.11

9 months ago

0.11.10

9 months ago

0.11.9

9 months ago

0.11.8

9 months ago

0.11.7

9 months ago

0.11.6

9 months ago

0.11.5

9 months ago

0.11.4

9 months ago

0.11.3

10 months ago

0.11.2

10 months ago

0.11.1

10 months ago

0.11.0

10 months ago