fluent-plugin-windows-eventlog 0.8.1 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/unit-test.yml +36 -34
- data/.gitignore +14 -14
- data/CHANGELOG.md +80 -74
- data/Gemfile +4 -4
- data/LICENSE.txt +203 -203
- data/README.md +387 -387
- data/Rakefile +10 -10
- data/fluent-plugin-winevtlog.gemspec +28 -28
- data/lib/fluent/plugin/bookmark_sax_parser.rb +30 -30
- data/lib/fluent/plugin/in_windows_eventlog.rb +241 -241
- data/lib/fluent/plugin/in_windows_eventlog2.rb +410 -406
- data/test/generate-windows-event.rb +47 -47
- data/test/helper.rb +34 -34
- data/test/plugin/test_bookmark_sax_parser.rb +41 -41
- data/test/plugin/test_in_windows_eventlog2.rb +619 -600
- data/test/plugin/test_in_winevtlog.rb +48 -48
- metadata +11 -11
- data/appveyor.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d253822f3e13ee264e9ad58b1d25c0e1e91460a417aa3ab1c21a6e45acb795a
|
4
|
+
data.tar.gz: ae2c835ac4bb63b9544c5ddab3f732fa7d0fd2d33606cf0b1456c5a5875e90eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e259db40fe86886390b797cbbf3580427da285126fccfde89aab5867900c9600a9e01544a42e994de695ec67c65f525e6113ecb8aa2900de7508e4185c6e1d5
|
7
|
+
data.tar.gz: b2753c7604157cfd598a63726bba34d1001dae4702bd895fc3d4afaaf1d57ee1dfad41d064a70b3514b2f6a3242cde4e4ef72bbb746ea5fb05f729672629215a
|
@@ -1,34 +1,36 @@
|
|
1
|
-
name:
|
2
|
-
on:
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
1
|
+
name: Test
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: [master]
|
5
|
+
pull_request:
|
6
|
+
branches: [master]
|
7
|
+
jobs:
|
8
|
+
test:
|
9
|
+
runs-on: ${{ matrix.os }}
|
10
|
+
continue-on-error: ${{ matrix.experimental }}
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
ruby: [ '3.2', '3.1', '3.0', '2.7' ]
|
15
|
+
os:
|
16
|
+
- windows-latest
|
17
|
+
experimental: [false]
|
18
|
+
include:
|
19
|
+
- ruby: 'head'
|
20
|
+
os: windows-latest
|
21
|
+
experimental: true
|
22
|
+
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
|
23
|
+
steps:
|
24
|
+
- uses: actions/checkout@v3
|
25
|
+
- uses: ruby/setup-ruby@v1
|
26
|
+
with:
|
27
|
+
ruby-version: ${{ matrix.ruby }}
|
28
|
+
- name: Install
|
29
|
+
run: |
|
30
|
+
ruby --version
|
31
|
+
gem --version
|
32
|
+
gem install bundler rake
|
33
|
+
ridk exec bundle install --jobs 4 --retry 3
|
34
|
+
- name: Unit Test
|
35
|
+
run: |
|
36
|
+
bundle exec rake test
|
data/.gitignore
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
/.bundle/
|
2
|
-
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
|
-
/_yardoc/
|
5
|
-
/coverage/
|
6
|
-
/doc/
|
7
|
-
/spec/reports/
|
8
|
-
pkg/*
|
9
|
-
/tmp/
|
10
|
-
*.bundle
|
11
|
-
*.so
|
12
|
-
*.o
|
13
|
-
*.a
|
14
|
-
mkmf.log
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/spec/reports/
|
8
|
+
pkg/*
|
9
|
+
/tmp/
|
10
|
+
*.bundle
|
11
|
+
*.so
|
12
|
+
*.o
|
13
|
+
*.a
|
14
|
+
mkmf.log
|
data/CHANGELOG.md
CHANGED
@@ -1,74 +1,80 @@
|
|
1
|
-
# Release v0.8.
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
* in_windows_eventlog2:
|
10
|
-
|
11
|
-
# Release v0.
|
12
|
-
* in_windows_eventlog2: Support
|
13
|
-
|
14
|
-
# Release
|
15
|
-
*
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
* in_windows_eventlog2:
|
23
|
-
|
24
|
-
# Release v0.5.
|
25
|
-
*
|
26
|
-
|
27
|
-
# Release v0.5.
|
28
|
-
* in_windows_eventlog2: Add
|
29
|
-
|
30
|
-
# Release v0.5.
|
31
|
-
* in_windows_eventlog2:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
* in_windows_eventlog2:
|
39
|
-
|
40
|
-
# Release v0.4.
|
41
|
-
*
|
42
|
-
|
43
|
-
# Release v0.4.
|
44
|
-
* in_windows_eventlog2: Handle
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
* in_windows_eventlog2:
|
52
|
-
|
53
|
-
# Release v0.4.
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
*
|
58
|
-
|
59
|
-
# Release v0.
|
60
|
-
|
61
|
-
* Add new `
|
62
|
-
*
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
1
|
+
# Release v0.8.3 - 2023/01/19
|
2
|
+
* Permit using nokogiri 1.14.0
|
3
|
+
|
4
|
+
# Release v0.8.2 - 2022/09/26
|
5
|
+
* in_windows_eventlog2: Skip to subscribe non existent channels, not to stop Fluentd
|
6
|
+
|
7
|
+
# Release v0.8.1 - 2021/09/16
|
8
|
+
* in_windows_eventlog2: Add trace logs for debugging
|
9
|
+
* in_windows_eventlog2: Support event query parameter on Windows EventLog channel subscriptions
|
10
|
+
|
11
|
+
# Release v0.8.0 - 2020/09/16
|
12
|
+
* in_windows_eventlog2: Support remoting access
|
13
|
+
|
14
|
+
# Release v.0.7.1.rc1 - 2020/06/23
|
15
|
+
* in_windows_eventlog2: Depends on nokogiri 1.11 series
|
16
|
+
|
17
|
+
# Release v0.7.0 - 2020/05/22
|
18
|
+
* in_windows_eventlog2: Support multilingual description
|
19
|
+
|
20
|
+
# Release v0.6.0 - 2020/04/15
|
21
|
+
* Make fluent-plugin-parser-winevt_xml plugin as optional dependency
|
22
|
+
* in_windows_eventlog2: Render Ruby hash object directly by default
|
23
|
+
|
24
|
+
# Release v0.5.4 - 2020/04/10
|
25
|
+
* Permit using nokogiri 1.11.0
|
26
|
+
|
27
|
+
# Release v0.5.3 - 2020/03/17
|
28
|
+
* in_windows_eventlog2: Add Qualifiers key handling options
|
29
|
+
|
30
|
+
# Release v0.5.2 - 2020/02/28
|
31
|
+
* in_windows_eventlog2: Add parameter to read from all channels shortcut
|
32
|
+
|
33
|
+
# Release v0.5.1 - 2020/02/26
|
34
|
+
* in_windows_eventlog2: Add empty bookmark checking mechanism
|
35
|
+
|
36
|
+
# Release v0.5.0 - 2020/02/17
|
37
|
+
* in_windows_eventlog2: Support subscribe directive to handle read_existing_events paratemer each of channels.
|
38
|
+
* in_windows_eventlog2: Depends on winevt_c v0.7.0 or later.
|
39
|
+
|
40
|
+
# Release v0.4.6 - 2020/02/15
|
41
|
+
* Fix winevt_c dependency to prevent fetching winevt_c v0.7.0 or later.
|
42
|
+
|
43
|
+
# Release v0.4.5 - 2020/01/28
|
44
|
+
* in_windows_eventlog2: Handle empty key case in parsing description method.
|
45
|
+
|
46
|
+
# Release v0.4.4 - 2019/11/07
|
47
|
+
* in_windows_eventlog: Improve error handling and logging when failed to open Windows Event Log.
|
48
|
+
|
49
|
+
# Release v0.4.3 - 2019/10/31
|
50
|
+
* in_windows_eventlog2: Handle privileges record on #parse_desc
|
51
|
+
* in_windows_eventlog2: Raise error when handling invalid bookmark xml
|
52
|
+
|
53
|
+
# Release v0.4.2 - 2019/10/16
|
54
|
+
* in_windows_eventlog2: Handle invalid data error from `Winevt::EventLog::Query::Error`
|
55
|
+
|
56
|
+
# Release v0.4.1 - 2019/10/11
|
57
|
+
* in_windows_eventlog2: Add a missing ProcessID record
|
58
|
+
|
59
|
+
# Release v0.4.0 - 2019/10/10
|
60
|
+
|
61
|
+
* in_windows_eventlog2: Add new `render_as_xml` parameter to switch rendering as XML or Ruby Hash object
|
62
|
+
* in_windows_eventlog2: Support rate limit with `rate_limit` option
|
63
|
+
* parser_winevt_xml: Separate `parser_winevt_xml` plugin to other repository and published as Fluentd parser plugin
|
64
|
+
|
65
|
+
# Release v0.3.0 - 2019/07/08
|
66
|
+
|
67
|
+
* Add new `in_windows_eventlog2` plugin. This plugin uses newer windows event logging API.
|
68
|
+
* Add `winevt_c` and `nokogiri` gem dependency for `in_windows_eventlog2`
|
69
|
+
|
70
|
+
# Release v0.2.2 - 2017/09/08
|
71
|
+
|
72
|
+
* in_windows_eventlog: Add `parse_description` parameter
|
73
|
+
|
74
|
+
# Release v0.2.1 - 2017/06/06
|
75
|
+
|
76
|
+
* in_windows_eventlog: Add `string_inserts` to the resulting record
|
77
|
+
|
78
|
+
# Release v0.2.0 - 2017/03/08
|
79
|
+
|
80
|
+
* in_windows_eventlog: Use v1 API
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in fluent-plugin-winevtlog.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in fluent-plugin-winevtlog.gemspec
|
4
|
+
gemspec
|