fluent-plugin-cloudwatch-logs 0.14.3 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/linux.yml +6 -5
- data/.github/workflows/windows.yml +6 -5
- data/README.md +7 -1
- data/lib/fluent/plugin/cloudwatch/logs/version.rb +1 -1
- data/lib/fluent/plugin/out_cloudwatch_logs.rb +1 -1
- data/test/plugin/test_in_cloudwatch_logs.rb +1 -0
- data/test/plugin/test_out_cloudwatch_logs.rb +2 -2
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e50b3e4f91b6f5cd7f248296df925ca4aaeb84334d258af1c6b88a799cc2bc5d
|
4
|
+
data.tar.gz: 86f96160045a628966a3cbf8be1dc86300216a9b369fbcdc6a152af7c5f050a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da54173a919c373cf310e39a49cab0ea55db2af787e53a164e36bd3803b387ddd69bfd9f986495713cbb6d601d14a41f246bfdf001c45dc9837e0575530212d
|
7
|
+
data.tar.gz: eb427793ea313fbef14dfde24a324b8b87df2970eadbd179e69c6367f0d734a5c9502bc547702990bed15cf0e7867ddd4ff75e3961c7897ffd39a89292a513d6
|
data/.github/workflows/linux.yml
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
name: Testing on Ubuntu
|
2
2
|
on:
|
3
|
-
|
4
|
-
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
pull_request:
|
5
7
|
jobs:
|
6
8
|
build:
|
7
9
|
runs-on: ${{ matrix.os }}
|
8
10
|
strategy:
|
9
11
|
fail-fast: false
|
10
12
|
matrix:
|
11
|
-
ruby: [ '
|
13
|
+
ruby: [ '3.2', '3.3', '3.4' ]
|
12
14
|
os:
|
13
15
|
- ubuntu-latest
|
14
16
|
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
|
15
17
|
steps:
|
16
|
-
- uses: actions/checkout@
|
18
|
+
- uses: actions/checkout@v4
|
17
19
|
- uses: ruby/setup-ruby@v1
|
18
20
|
with:
|
19
21
|
ruby-version: ${{ matrix.ruby }}
|
@@ -21,6 +23,5 @@ jobs:
|
|
21
23
|
env:
|
22
24
|
CI: true
|
23
25
|
run: |
|
24
|
-
gem install bundler rake
|
25
26
|
bundle install --jobs 4 --retry 3
|
26
27
|
bundle exec rake test
|
@@ -1,19 +1,21 @@
|
|
1
1
|
name: Testing on Windows
|
2
2
|
on:
|
3
|
-
|
4
|
-
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
pull_request:
|
5
7
|
jobs:
|
6
8
|
build:
|
7
9
|
runs-on: ${{ matrix.os }}
|
8
10
|
strategy:
|
9
11
|
fail-fast: false
|
10
12
|
matrix:
|
11
|
-
ruby: [ '
|
13
|
+
ruby: [ '3.2', '3.3', '3.4' ]
|
12
14
|
os:
|
13
15
|
- windows-latest
|
14
16
|
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
|
15
17
|
steps:
|
16
|
-
- uses: actions/checkout@
|
18
|
+
- uses: actions/checkout@v4
|
17
19
|
- uses: ruby/setup-ruby@v1
|
18
20
|
with:
|
19
21
|
ruby-version: ${{ matrix.ruby }}
|
@@ -21,6 +23,5 @@ jobs:
|
|
21
23
|
env:
|
22
24
|
CI: true
|
23
25
|
run: |
|
24
|
-
gem install bundler rake
|
25
26
|
bundle install --jobs 4 --retry 3
|
26
27
|
bundle exec rake test
|
data/README.md
CHANGED
@@ -22,6 +22,12 @@
|
|
22
22
|
gem install fluent-plugin-cloudwatch-logs
|
23
23
|
```
|
24
24
|
|
25
|
+
### For fluent-package
|
26
|
+
|
27
|
+
```sh
|
28
|
+
fluent-gem install fluent-plugin-cloudwatch-logs
|
29
|
+
```
|
30
|
+
|
25
31
|
### For td-agent
|
26
32
|
|
27
33
|
```sh
|
@@ -328,7 +334,7 @@ rake test
|
|
328
334
|
|
329
335
|
## Caution
|
330
336
|
|
331
|
-
If an event message exceeds API limit (
|
337
|
+
If an event message exceeds API limit (1MB), the event will be discarded.
|
332
338
|
|
333
339
|
## Cross-Account Operation
|
334
340
|
|
@@ -974,11 +974,11 @@ class CloudwatchLogsOutputTest < Test::Unit::TestCase
|
|
974
974
|
@log_level debug
|
975
975
|
EOC
|
976
976
|
d.run(default_tag: fluentd_tag) do
|
977
|
-
d.feed(time, {'message' => '*' *
|
977
|
+
d.feed(time, {'message' => '*' * 1024 * 1024})
|
978
978
|
end
|
979
979
|
|
980
980
|
logs = d.logs
|
981
|
-
assert(logs.any?{|log| log =~ /Log event in .* discarded because it is too large
|
981
|
+
assert(logs.any?{|log| log =~ /Log event in .* discarded because it is too large/})
|
982
982
|
end
|
983
983
|
|
984
984
|
def test_do_not_emit_empty_record
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-cloudwatch-logs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: fluentd
|
@@ -122,7 +121,6 @@ dependencies:
|
|
122
121
|
- - ">="
|
123
122
|
- !ruby/object:Gem::Version
|
124
123
|
version: '0'
|
125
|
-
description:
|
126
124
|
email:
|
127
125
|
- ryota.arai@gmail.com
|
128
126
|
executables: []
|
@@ -151,7 +149,6 @@ homepage: https://github.com/fluent-plugins-nursery/fluent-plugin-cloudwatch-log
|
|
151
149
|
licenses:
|
152
150
|
- MIT
|
153
151
|
metadata: {}
|
154
|
-
post_install_message:
|
155
152
|
rdoc_options: []
|
156
153
|
require_paths:
|
157
154
|
- lib
|
@@ -166,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
163
|
- !ruby/object:Gem::Version
|
167
164
|
version: '0'
|
168
165
|
requirements: []
|
169
|
-
rubygems_version: 3.
|
170
|
-
signing_key:
|
166
|
+
rubygems_version: 3.6.8
|
171
167
|
specification_version: 4
|
172
168
|
summary: CloudWatch Logs Plugin for Fluentd
|
173
169
|
test_files:
|