fluent-plugin-syslog-d 0.0.4 → 0.0.5
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/CHANGELOG.md +0 -42
- data/README.md +62 -47
- data/lib/syslog_tls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbda3f74746804e9cc464ee22cd8b54486192576a6dcc66bdab93d57da44efe7
|
4
|
+
data.tar.gz: 386931989341f5f31c5e79ed744bb77963373d4b33e3b37744f2da8a4a6cf24b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95266817938517f9c4eb91a5cd13d543ebd9d95de5fa13def07d21eeff3fa26d1e92e45bcbdeacb196b35b6181e3084dc17ac0fed5ebe23dcfb41c076f18b6e5
|
7
|
+
data.tar.gz: c9197d95c5250b92a4775d6834178ce05bff6b75850fcebd473f9a2517c6600974129a6f0e5c691631db2acbe8e3bfa4e8f65d1ac46458f1d4714c139879db25
|
data/CHANGELOG.md
CHANGED
@@ -1,43 +1 @@
|
|
1
|
-
#### 2.0.0
|
2
|
-
|
3
|
-
* Require Ruby 2.4
|
4
|
-
* Support SNI and enable cert name verification by default. **This changes the default behavior** and may cause issues if the remote server's cert does not match the configured hostname.
|
5
|
-
* Add `verify_cert_name` to enable (default) or disable cert name verification.
|
6
|
-
Note: `ca_cert` verifies the certificate signing chain. `verify_cert_name` verifies the CN/SAN name on the cert.
|
7
|
-
|
8
|
-
|
9
|
-
#### 1.2.1
|
10
|
-
|
11
|
-
* Support Fluentd 1.0 (same API as 0.14).
|
12
|
-
|
13
|
-
|
14
|
-
#### 1.2.0
|
15
|
-
|
16
|
-
* Improve compliance with Fluentd 0.14 API.
|
17
|
-
* Eliminate excess Message#header object creation.
|
18
|
-
|
19
|
-
|
20
|
-
#### 1.1.0
|
21
|
-
|
22
|
-
* Renamed `cert` and `key` to `client_cert` and `client_key` respectively.
|
23
|
-
* Change to short timeouts on network calls so logging doesn't go dead for extended periods.
|
24
|
-
* Added `idle_timeout` to force upstream reconnection after a period of time with no traffic for a particular tag. Useful for low-traffic senders. Not recommended for high-traffic.
|
25
|
-
* Added `ca_cert` to validate the remote certificate. Defaults to 'system' which uses the system certificate store.
|
26
|
-
|
27
|
-
|
28
1
|
#### 1.0.0
|
29
|
-
|
30
|
-
* Standard fluent formatting plugins are supported. Json output remains the default.
|
31
|
-
* `token` (Structured Data in syslog terms) is now optional, for syslog hosts that don't require it.
|
32
|
-
* Message payload in the syslog packet no longer duplicates Time or includes Tag by default.
|
33
|
-
* Requires Fluent 0.14.
|
34
|
-
|
35
|
-
|
36
|
-
#### 0.5.0
|
37
|
-
|
38
|
-
Comparable to v1.0.0, but compatible with Fluent 0.12.
|
39
|
-
|
40
|
-
|
41
|
-
#### < 0.2.0
|
42
|
-
|
43
|
-
From [Fluent::Plugin::SumologicCloudSyslog](https://github.com/acquia/fluent-plugin-sumologic-cloud-syslog)
|
data/README.md
CHANGED
@@ -1,71 +1,86 @@
|
|
1
|
-
# Fluent::Plugin::
|
1
|
+
# Fluent::Plugin::D, a plugin for [Fluentd](http://fluentd.org)
|
2
2
|
|
3
|
-
[](http://badge.fury.io/rb/fluent-plugin-syslog-tls)
|
4
3
|
|
5
|
-
|
6
|
-
|
7
|
-
Tested with [Papertrail](https://papertrailapp.com) and should also work with [Sumologic](https://www.sumologic.com/) and likely others.
|
4
|
+
Fluent plugin to send messages to ID
|
8
5
|
|
9
6
|
|
10
7
|
## Installation
|
11
8
|
|
12
|
-
|
13
|
-
$ gem install fluent-plugin-syslog-tls
|
14
|
-
```
|
15
|
-
or
|
16
|
-
```sh
|
17
|
-
$ td-agent-gem install fluent-plugin-syslog-tls
|
18
|
-
```
|
19
|
-
|
20
|
-
Note: `fluent-plugin-syslog-tls` is compatible with Fluent 1.0 (and 0.14). For Fluent 0.12, see the `fluent-0.12` branch.
|
21
|
-
|
9
|
+
`$ fluent-gem install fluent-plugin-d`
|
22
10
|
|
23
11
|
## Configuration
|
24
12
|
|
25
|
-
|
13
|
+
### Example
|
26
14
|
|
27
|
-
Sumologic:
|
28
15
|
```
|
29
|
-
<
|
30
|
-
@type
|
31
|
-
host syslog.collection.us1.sumologic.com
|
16
|
+
<source>
|
17
|
+
@type tcp
|
32
18
|
port 6514
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
19
|
+
tag test.keep.free:
|
20
|
+
<parse>
|
21
|
+
@type "none"
|
22
|
+
</parse>
|
23
|
+
</source>
|
24
|
+
|
25
|
+
<match test.keep.free:>
|
26
|
+
@type devo
|
27
|
+
host devo_endpoint
|
28
|
+
port 443
|
29
|
+
ca_cert /path/to/chain.crt
|
30
|
+
client_cert /path/to/<domain>.crt
|
31
|
+
client_key /path/to/<domain>.key
|
32
|
+
verify_cert_name false
|
33
|
+
|
34
|
+
<format>
|
35
|
+
@type single_value
|
36
|
+
message_key message
|
37
|
+
</format>
|
45
38
|
</match>
|
46
39
|
```
|
47
40
|
|
48
|
-
|
41
|
+
### Parameters
|
49
42
|
|
43
|
+
#### host & port
|
50
44
|
|
51
|
-
|
45
|
+
to send data with fluent-plugin-d plugin, first choose the required endpoint depending on the region your are accessing from:
|
52
46
|
|
53
|
-
|
47
|
+
| Region | Endpoint | Port |
|
48
|
+
|-------- |--------------------------- |------ |
|
49
|
+
| USA | us.elb.relay.logtrust.net | 443 |
|
50
|
+
| Canada | ca.elb.relay.logtrust.net | 443 |
|
51
|
+
| Europe | eu.elb.relay.logtrust.net | 443 |
|
52
|
+
| VDC | es.elb.relay.logtrust.net | 443 |
|
54
53
|
|
54
|
+
#### ca_cert, client_cert & client_key
|
55
55
|
|
56
|
-
|
57
|
-
|
58
|
-
Except as otherwise noted this software is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
|
56
|
+
You need use a three files (Cert, key and chain) to secure send data to Devo.
|
57
|
+
Administrator users can find them in **Administration** → **Credentials**, in the X.509 tab.
|
59
58
|
|
60
|
-
|
61
|
-
|
62
|
-
You may obtain a copy of the License at
|
59
|
+
#### verify_cert_name
|
60
|
+
To enable (default) or disable cert name verification.
|
63
61
|
|
64
|
-
|
62
|
+
### Contact Us
|
65
63
|
|
66
|
-
|
67
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
68
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
69
|
-
See the License for the specific language governing permissions and
|
70
|
-
limitations under the License.
|
64
|
+
You can contact with us at _support@devo.com_.
|
71
65
|
|
66
|
+
## License
|
67
|
+
MIT License
|
68
|
+
|
69
|
+
(C) 2021 JMC.
|
70
|
+
|
71
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
72
|
+
this software and associated documentation files (the 'Software'), to deal in
|
73
|
+
the Software without restriction, including without limitation the rights to
|
74
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
75
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
76
|
+
subject to the following conditions:
|
77
|
+
|
78
|
+
The above copyright notice and this permission notice shall be included in all
|
79
|
+
copies or substantial portions of the Software.
|
80
|
+
|
81
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
82
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
83
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
84
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
85
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
86
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/syslog_tls/version.rb
CHANGED