fluent-plugin-parser-cloudfoundry-syslog 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ff07c83db3eb09a0d7558f467c23d61456138319964217939151c66356594b0
4
- data.tar.gz: 94ee8161810875c519bc36dbbe67664cf56684e81dbf103e21a97e18f09a1739
3
+ metadata.gz: 4e179065a01dd18c542f3ba79bac775c2847cc70a4ce215616159f7353c755e3
4
+ data.tar.gz: e57cb69414bb582eb17bee59f45a163f7dfe99a750349a5bab7441e226b92176
5
5
  SHA512:
6
- metadata.gz: 5eeee36d0cf7bd24922d0633fee62d1aa185639031db03834dc73b33465a52c65ed4f306d013733fe05112572cbc7c112ea312c11da65e4accb148cd616720f5
7
- data.tar.gz: 754d39b3d2e360877ac58aa713d7978868a80aa6832f2fa557fc29f9a297b5dea6bd501bb1954dea44887f932527f6f6c142281e2be0353d3f46da1383b1b207
6
+ metadata.gz: caba642dd6dcd56ea53cf287a5292736f6a61878fee33a07b5fd9501bf94ccb72eb3051e2f9fad744566a9a77a85a5635ffe9e83e38cbb661b17b03d429532da
7
+ data.tar.gz: 84a64db28e2778fbd7ae966009ec207e0520f6928d2a4eeabc51a4b78bb4a2129ce25f7f62df3914e717aea0ab0436d321be688510233f2bbd9a8ed41e5c547e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # fluent-plugin-parser-cloudfoundry-syslog
2
2
 
3
- A experimental, work-in-progress [fluentd](https://www.fluentd.org/) parser for CloudFoundry specific syslog drains - basically the opposite end of their [output formatter](https://github.com/cloudfoundry/fluent-plugin-syslog_rfc5424).
3
+ A [fluentd](https://www.fluentd.org/) parser for CloudFoundry specific syslog drains - basically the opposite end of their [output formatter](https://github.com/cloudfoundry/fluent-plugin-syslog_rfc5424).
4
4
 
5
5
  This plugin should make CF metrics more accessible than the current [syslog parser for fluent](https://docs.fluentd.org/parser/syslog) allows for.
6
6
 
@@ -86,18 +86,22 @@ An access log in the format
86
86
 
87
87
  ## Usage
88
88
 
89
+ Install the plugin:
90
+
91
+ ```sh
92
+ # See https://github.com/BitPatty/fluent-plugin-parser-cloudfoundry-syslog/releases for a list of valid versions
93
+ gem install fluent-plugin-parser-cloudfoundry-syslog --version "<desired version>"
94
+ ```
95
+
89
96
  Create a logdrain and update your fluent configuration:
90
97
 
91
98
  ```conf
92
99
  <source>
100
+ # Use TCP or HTTP, depending on what your logdrain is
101
+ # configured to use
93
102
  @type http
94
103
 
95
- # HTTP Ports are provided by the CF environment
96
- port "#{ENV['PORT']}"
97
- bind 0.0.0.0
98
-
99
- body_size_limit 32m
100
- keepalive_timeout 10s
104
+ # Your source configuration...
101
105
 
102
106
  <parse>
103
107
  @type cloudfoundry_syslog
@@ -115,9 +119,9 @@ Create a logdrain and update your fluent configuration:
115
119
 
116
120
  ## Limitations
117
121
 
118
- - Values in `STRUCTURED-DATA`, such as app names, may not contain quotes since they're not being escaped on CloudFoundry's side. See https://github.com/cloudfoundry/loggregator-agent-release/issues/69
122
+ - ~~Values in `STRUCTURED-DATA`, such as app names, may not contain quotes since they're not being escaped on CloudFoundry's side. See https://github.com/cloudfoundry/loggregator-agent-release/issues/69~~ => should be fixed with https://github.com/cloudfoundry/loggregator-agent-release/releases/tag/v6.3.7
119
123
 
120
124
  ## Credit
121
125
 
122
126
  - [fluent-plugin-elasticsearch](https://github.com/uken/fluent-plugin-elasticsearch) used as reference for boilerplating the codebase and GH workflows
123
- - [fluentd/parser_syslog](https://github.com/fluent/fluentd/blob/master/lib/fluent/plugin/parser_syslog.rb) used as reference on the current builtin syslog parser
127
+ - [fluentd/parser_syslog](https://github.com/fluent/fluentd/blob/master/lib/fluent/plugin/parser_syslog.rb) used as reference on the current builtin syslog parser
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-parser-cloudfoundry-syslog"
6
- spec.version = "0.1.1"
6
+ spec.version = "1.0.0"
7
7
  spec.authors = ["Matteias Collet"]
8
8
  spec.email = ["matteias.collet@bluewin.ch"]
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-parser-cloudfoundry-syslog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteias Collet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-29 00:00:00.000000000 Z
11
+ date: 2022-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler