fluent-plugin-fortigate-logs-parser 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING +15 -0
- data/README +53 -0
- data/fortigate-logs-parser.gemspec +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e304d94f31aa9794e82b914fac6decb39de67a65e15d9b077980e704d9ea4414
|
4
|
+
data.tar.gz: 39d72a61f9af287f065b405e4ce4a61c26d30458ac965d2dfc5062d5e93b7da4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60c3a415e7e352808e878f030e0c5e023e9862e9fcaf16808e8d8ed74612f743e937e49d3b4cfb35859b6dc7ca5d9a814d23dcc2502602b889e847e7f8d62eab
|
7
|
+
data.tar.gz: d35aabf7453910efae0a8d610180e15cf3ffbaf5b13644fb3de2a1808311ecf4ed686819dbf9a24cc7a9bed5d3e0a15ea2bdd5aad74650422315cfa3e84034e3
|
data/CONTRIBUTING
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# How to Contribute
|
2
|
+
|
3
|
+
## Open an Issue
|
4
|
+
|
5
|
+
If you see something you would like to change, but don't know how to change it
|
6
|
+
then submit a issue describing what you'd' like to see.
|
7
|
+
|
8
|
+
## Local Development
|
9
|
+
|
10
|
+
Before committing your contribution, install rake and write your own unit tests. Ensure a positive result of the tests `bundle exec rake test`.
|
11
|
+
|
12
|
+
## Pull Request
|
13
|
+
|
14
|
+
For more details how to fork and to create a pull request, see the [Creating a pull request from a fork](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) and [How to create a pull request in GitHub](https://opensource.com/article/19/7/create-pull-request-github) documentations.
|
15
|
+
|
data/README
CHANGED
@@ -0,0 +1,53 @@
|
|
1
|
+
# Fortigate Log Parser for Fluentd
|
2
|
+
|
3
|
+
[![Unit Tests](https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser/actions/workflows/unit-test.yml/badge.svg?branch=main)](https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser/actions/workflows/unit-test.yml)
|
4
|
+
|
5
|
+
This is a Fluentd plugin to parse the proprietary syslog messages from FortiOS (Fortigate). The plugin is based on a fork, with special thanks to
|
6
|
+
[iliecz](https://github.com/iliecz/fluent-plugin-fortigate-syslog-parser).
|
7
|
+
|
8
|
+
## Requirements
|
9
|
+
|
10
|
+
| fluent-plugin-grok-parser | fluentd | ruby |
|
11
|
+
|---------------------------|------------|--------|
|
12
|
+
| >= 1.0.0 | >= v0.15.0 | >= 3.1 |
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
```bash
|
17
|
+
gem install fluent-plugin-fortigate-logs-parser
|
18
|
+
```
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
Create a generic UDP input and use the `fortigate_logs` parser.
|
23
|
+
```aconf
|
24
|
+
<source>
|
25
|
+
@type udp
|
26
|
+
port 9910
|
27
|
+
bind 0.0.0.0
|
28
|
+
<parse>
|
29
|
+
@type fortigate_logs
|
30
|
+
</parse>
|
31
|
+
</source>
|
32
|
+
```
|
33
|
+
## Development
|
34
|
+
|
35
|
+
```bash
|
36
|
+
bin/setup
|
37
|
+
```
|
38
|
+
|
39
|
+
```bash
|
40
|
+
bundle exec rake test
|
41
|
+
```
|
42
|
+
|
43
|
+
## Contributing
|
44
|
+
|
45
|
+
We welcome community contributions to this collection.
|
46
|
+
If you find bugs, then please open an [issue](https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser/issues) or create a [pull request](https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser/pulls).
|
47
|
+
|
48
|
+
More information about contributing can be found in the [Contribution Guidelines](https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser/CONTRIBUTING).
|
49
|
+
|
50
|
+
## License
|
51
|
+
|
52
|
+
[MIT License](https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser/blob/main/LICENSE)
|
53
|
+
|
@@ -3,11 +3,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "fluent-plugin-fortigate-logs-parser"
|
6
|
-
spec.version = "1.0.
|
6
|
+
spec.version = "1.0.1"
|
7
7
|
spec.authors = ["Rene Lehmann"]
|
8
8
|
spec.email = ["contact@gebit.de"]
|
9
9
|
spec.summary = %q{Parser for Fortigate logs.}
|
10
|
-
spec.homepage = "https://github.com/
|
10
|
+
spec.homepage = "https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser"
|
11
11
|
spec.license = "MIT"
|
12
12
|
|
13
13
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-fortigate-logs-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rene Lehmann
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- ".github/dependabot.yml"
|
85
85
|
- ".github/workflows/unit-test.yml"
|
86
86
|
- ".gitignore"
|
87
|
+
- CONTRIBUTING
|
87
88
|
- Gemfile
|
88
89
|
- LICENSE
|
89
90
|
- README
|
@@ -93,14 +94,14 @@ files:
|
|
93
94
|
- fortigate-logs-parser.gemspec
|
94
95
|
- lib/fluent/plugin/parser_fortigate_logs.rb
|
95
96
|
- test/testModule.rb
|
96
|
-
homepage: https://github.com/
|
97
|
+
homepage: https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser
|
97
98
|
licenses:
|
98
99
|
- MIT
|
99
100
|
metadata:
|
100
101
|
allowed_push_host: https://rubygems.org
|
101
|
-
homepage_uri: https://github.com/
|
102
|
-
source_code_uri: https://github.com/
|
103
|
-
changelog_uri: https://github.com/
|
102
|
+
homepage_uri: https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser
|
103
|
+
source_code_uri: https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser
|
104
|
+
changelog_uri: https://github.com/GEBITSolutions/fluent-plugin-fortigate-logs-parser
|
104
105
|
post_install_message:
|
105
106
|
rdoc_options: []
|
106
107
|
require_paths:
|