fluent-plugin-syslog_rfc5424 0.8.0 → 0.9.0.rc.7

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: '009a1a4ccbd3c13697a59f12a11e4d73cabc42f94952039d008b8cd603d9027b'
4
- data.tar.gz: 5fd2d64072fedf505368ea06aafaf890e8a9a306e3b624d45bb4c4ec7445d5f5
3
+ metadata.gz: a4bca88817d426059aa13afd64302df819ce3f18f80f1e47d68668921d85a3a5
4
+ data.tar.gz: 6c9a496a4b7e2d91236c4e8417eaf16eb0565e8936b7f0e58a8f2cf90d8102a8
5
5
  SHA512:
6
- metadata.gz: 010cab1c657e5355c56e588892314110c203c3825b5df65b695beb772e7246d92470d98f48f7d53bdd1b98a080724bb94d5df48e76a9618ef523a4ebd80a4626
7
- data.tar.gz: 893db812e15131e839c386d4d5b8fddaf001eb17e4242c038084ed108e438181ba2dd2f2e1c9c7b0f07d6e98f9f288ca790e040efbb035463b8d4f4873e96d53
6
+ metadata.gz: eed1799f6699361c23ee1930202a937b63aa7e048dfb1776b6aa90438c2482a37f039883403aaca0cebcca1d460cb58e5b963848b92c1075474d750968e91a87
7
+ data.tar.gz: c771bc0c020bfb8348b31b065b88954f3ad50389423aad95fb23b63437052d8746e6dfd1f992e57d4651fe7c6608a8fb3ae3625703ab1ec5e2fadbc34245a8c5
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
1
  # FluentD Output & Formatter Plugins: Syslog RFC5424
2
2
 
3
- [![Build Status](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424.svg?branch=master)](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424)
3
+ [![Build Status](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424.svg?branch=main)](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424)
4
4
 
5
-
6
- Formatter plugin adheres to [RFC5424](https://tools.ietf.org/html/rfc5424).
5
+ Formatter plugin adheres to [RFC5424](https://tools.ietf.org/html/rfc5424).
7
6
 
8
7
  Output plugin adheres to [RFC6587](https://tools.ietf.org/html/rfc6587) and [RFC5424](https://tools.ietf.org/html/rfc5424).
9
8
 
@@ -54,9 +53,12 @@ Defaults to `syslog_rfc5424`
54
53
  | name |type | description |
55
54
  | -------------- | ------- | ------- |
56
55
  | rfc6587_message_size | boolean | prepends message length for syslog transmission (true by default) |
56
+ | hostname_field | string | sets host name in syslog from field in fluentd, delimited by '.' (default hostname) |
57
57
  | app_name_field | string | sets app name in syslog from field in fluentd, delimited by '.' (default app_name) |
58
58
  | proc_id_field | string | sets proc id in syslog from field in fluentd, delimited by '.' (default proc_id) |
59
-
59
+ | message_id_field | string | sets msg id in syslog from field in fluentd, delimited by '.' (default message_id) |
60
+ | structured_data_field | string | sets structured data in syslog from field in fluentd, delimited by '.' (default structured_data) |
61
+ | log_field | string | sets log in syslog from field in fluentd, delimited by '.' (default log) |
60
62
 
61
63
  ## Formatter Usage
62
64
 
@@ -71,7 +73,6 @@ Defaults to `syslog_rfc5424`
71
73
  </match>
72
74
  ```
73
75
 
74
-
75
76
  ## Development
76
77
 
77
78
  After checking out the repo, run `bundle install` to install dependencies. Then, run `bundle exec rake` to run the tests. You can also run `bundle console` for an interactive prompt that will allow you to experiment.
@@ -84,6 +85,8 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/cloudf
84
85
 
85
86
  ## Publishing
86
87
 
88
+ (these steps happen automatically in this pipeline: https://release-integration.ci.cf-app.com/teams/main/pipelines/cf-k8s-logging-validation)
89
+
87
90
  1. Run tests `bundle exec rake`
88
91
  1. Push changes
89
92
  1. Create & push git tag with version
@@ -1,3 +1,3 @@
1
1
  module FluentSyslog5424OutputPlugin
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0.rc.7"
3
3
  end
@@ -23,6 +23,10 @@ module Fluent
23
23
  @formatter = formatter_create
24
24
  end
25
25
 
26
+ def multi_workers_ready?
27
+ true
28
+ end
29
+
26
30
  def write(chunk)
27
31
  socket = find_or_create_socket(@transport.to_sym, @host, @port)
28
32
  tag = chunk.metadata.tag
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog_rfc5424
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0.rc.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -146,12 +146,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ">="
149
+ - - ">"
150
150
  - !ruby/object:Gem::Version
151
- version: '0'
151
+ version: 1.3.1
152
152
  requirements: []
153
- rubyforge_project:
154
- rubygems_version: 2.7.6.2
153
+ rubygems_version: 3.1.4
155
154
  signing_key:
156
155
  specification_version: 4
157
156
  summary: FluentD output plugin to send messages via rfc5424