fluent-plugin-vmware-loginsight 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Dockerfile +3 -3
- data/Gemfile +1 -1
- data/LICENSE +2 -2
- data/README.md +8 -8
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/examples/fluent.conf +6 -6
- data/examples/fluentd-vrli-plugin-debian.dockerfile +1 -1
- data/examples/fluentd-vrli-plugin-photon-tdnf.dockerfile +2 -2
- data/examples/fluentd-vrli-plugin-photon.dockerfile +2 -2
- data/examples/k8s-log-collector-ds.yaml +4 -4
- data/fluent-plugin-vmware-loginsight.gemspec +2 -2
- data/lib/fluent/plugin/out_vmware_loginsight.rb +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 198031c3139a6f62c7fff502b82487c3f113cb9e0fc77540c9ac08635b3c9a09
|
4
|
+
data.tar.gz: f4f0b05c508be86e532c2d11a3a77523021b795a02478b68659e9f211ca22e81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c47fedca8aeb8945d089b0ba347fd5c304ed099f543954caa1def1daf6545eedff1ecf443b30799a75bdd5b5a9577e67fe591c236c65999ac7cd830c29eb51ee
|
7
|
+
data.tar.gz: 6c9184bb6e8092f7995a078424995a94b92a417141dc15be5ececb639e7cd6a3432de1d4fd8fbfc1a6d73343c291f38311c002bd9c30bbd50b331bc65db10b15
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v1.4.0 - Mar 07, 2023
|
4
|
+
|
5
|
+
* Base Photon image has been updated to photon:4.0-20230227
|
6
|
+
* Log Insight has been changed to VMware Aria Operations For Logs
|
7
|
+
|
3
8
|
## v1.3.1 - Nov 01, 2022
|
4
9
|
|
5
10
|
* Based Photon image has been updated to photon:4.0-20221029
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2019 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -14,7 +14,7 @@
|
|
14
14
|
# Fluentd is configured with the default configuration that gets produced by the `fluentd --setup` command. For an example of
|
15
15
|
# a configuration that uses the fluent-plugin-vmware-loginsight plugin check fluent.conf under the examples dir:
|
16
16
|
# https://github.com/vmware/fluent-plugin-vmware-loginsight/blob/master/examples/fluent.conf
|
17
|
-
FROM photon:4.0-
|
17
|
+
FROM photon:4.0-20230227
|
18
18
|
|
19
19
|
USER root
|
20
20
|
|
@@ -45,7 +45,7 @@ RUN buildDeps="\
|
|
45
45
|
&& gem install --norc --no-document fluent-plugin-kubernetes_metadata_filter \
|
46
46
|
#
|
47
47
|
# Install Log Insight plugin
|
48
|
-
&& gem install --norc --no-document -v 1.
|
48
|
+
&& gem install --norc --no-document -v 1.4.0 fluent-plugin-vmware-loginsight \
|
49
49
|
#
|
50
50
|
# Install jemalloc 5.3.0
|
51
51
|
&& curl -L --output /tmp/jemalloc-5.3.0.tar.bz2 https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 \
|
data/Gemfile
CHANGED
data/LICENSE
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
Fluentd plugin for VMware
|
1
|
+
Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
|
3
3
|
Copyright 2018 VMware, Inc. All rights reserved
|
4
4
|
|
5
|
-
The MIT license (the ìLicenseî) set forth below applies to all parts of the Fluentd plugin for VMware
|
5
|
+
The MIT license (the ìLicenseî) set forth below applies to all parts of the Fluentd plugin for VMware Aria Operations For Logs. You may not use this file except in compliance with the License.†
|
6
6
|
|
7
7
|
MIT License
|
8
8
|
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/fluent-plugin-vmware-loginsight.svg)](https://badge.fury.io/rb/fluent-plugin-vmware-loginsight)
|
4
4
|
|
5
5
|
## Overview
|
6
|
-
output plugin to do forward logs to VMware
|
6
|
+
output plugin to do forward logs to VMware Aria Operations for Logs
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -72,13 +72,13 @@ $ bundle
|
|
72
72
|
@id out_vmw_li_all_container_logs
|
73
73
|
scheme https
|
74
74
|
ssl_verify true
|
75
|
-
#
|
75
|
+
# VMware Aria Operations For Logs host: One may use IP address or cname
|
76
76
|
#host X.X.X.X
|
77
77
|
host MY_LOGINSIGHT_HOST
|
78
78
|
port 9543
|
79
79
|
agent_id XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
80
80
|
# Keys from log event whose values should be added as log message/text to
|
81
|
-
#
|
81
|
+
# VMware Aria Operations For Logs. Note these key/value pairs won't be added as metadata/fields
|
82
82
|
log_text_keys ["log","msg","message"]
|
83
83
|
# Use this flag if you want to enable http debug logs
|
84
84
|
http_conn_debug false
|
@@ -92,13 +92,13 @@ For more examples look at [examples](./examples/)
|
|
92
92
|
```
|
93
93
|
scheme, :string, :default => 'http' :: Valid Values: http/https
|
94
94
|
|
95
|
-
#
|
95
|
+
# VMware Aria Operations For Logs Host ex. localhost
|
96
96
|
host, :string, :default => 'localhost' :: Valid Values: loginsight_url | loginsight_ip
|
97
97
|
|
98
|
-
#
|
98
|
+
# VMware Aria Operations For Logs port ex. 9000
|
99
99
|
port, :integer, :default => 80
|
100
100
|
|
101
|
-
#
|
101
|
+
# VMware Aria Operations For Logs ingestion api path ex. 'api/v1/events/ingest'
|
102
102
|
path, :string, :default => 'api/v1/events/ingest'
|
103
103
|
|
104
104
|
# agent_id generated by your LI
|
@@ -139,7 +139,7 @@ rate_limit_msec, :integer, :default => 0
|
|
139
139
|
# Raise errors that were rescued during HTTP requests?
|
140
140
|
raise_on_error, :bool, :default => false :: Valid Value: true | false
|
141
141
|
|
142
|
-
# Keys from log event whose values should be added as log message/text to
|
142
|
+
# Keys from log event whose values should be added as log message/text to VMware Aria Operations For Logs.
|
143
143
|
# These key/value pairs won't expanded/flattened and won't be added as metadata/fields.
|
144
144
|
log_text_keys, :array, :default => ["log", "message", "msg"] :: Valid Value: Array of strings
|
145
145
|
|
@@ -183,7 +183,7 @@ shorten_keys, :hash, value_type: :string, default:
|
|
183
183
|
The fluent-plugin-vmware-loginsight project team welcomes contributions from the community. Before you start working with fluent-plugin-vmware-loginsight, please read our [Developer Certificate of Origin](https://cla.vmware.com/dco). All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to [CONTRIBUTING.md](CONTRIBUTING.md).
|
184
184
|
|
185
185
|
## License
|
186
|
-
Fluentd plugin for VMware
|
186
|
+
Fluentd plugin for VMware Aria Operations For Logs
|
187
187
|
|
188
188
|
Copyright 2018 VMware, Inc. All Rights Reserved.
|
189
189
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
data/examples/fluent.conf
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2018 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</parse>
|
101
101
|
</source>
|
102
102
|
|
103
|
-
#
|
103
|
+
# VMware Aria Operations For Logs doesn't support ingesting `source` as a field name, get rid of it
|
104
104
|
<filter kube-audit>
|
105
105
|
@type record_transformer
|
106
106
|
@id filter_kube_audit_logs
|
@@ -117,13 +117,13 @@
|
|
117
117
|
@id out_vmw_li_my_namespace_logs
|
118
118
|
scheme http
|
119
119
|
ssl_verify false
|
120
|
-
#
|
120
|
+
# VMware Aria Operations For Logs host: One may use IP address or cname
|
121
121
|
#host X.X.X.X
|
122
122
|
host MY_LOGINSIGHT_HOST
|
123
123
|
port 9000
|
124
124
|
agent_id XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
125
125
|
# Keys from log event whose values should be added as log message/text to
|
126
|
-
#
|
126
|
+
# VMware Aria Operations For Logs. Note these key/value pairs won't be added as metadata/fields
|
127
127
|
log_text_keys ["log","msg","message"]
|
128
128
|
# Use this flag if you want to enable http debug logs
|
129
129
|
http_conn_debug false
|
@@ -137,13 +137,13 @@
|
|
137
137
|
@id out_vmw_li_all_container_logs
|
138
138
|
scheme https
|
139
139
|
ssl_verify true
|
140
|
-
#
|
140
|
+
# VMware Aria Operations For Logs host: One may use IP address or cname
|
141
141
|
#host X.X.X.X
|
142
142
|
host MY_LOGINSIGHT_HOST
|
143
143
|
port 9543
|
144
144
|
agent_id XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
145
145
|
# Keys from log event whose values should be added as log message/text to
|
146
|
-
#
|
146
|
+
# VMware Aria Operations For Logs. Note these key/value pairs won't be added as metadata/fields
|
147
147
|
log_text_keys ["log","msg","message"]
|
148
148
|
# Use this flag if you want to enable http debug logs
|
149
149
|
http_conn_debug false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2019 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -30,7 +30,7 @@ RUN tdnf distro-sync --refresh -y \
|
|
30
30
|
rubygem-async-http-0.48.2 \
|
31
31
|
jemalloc-4.5.0 \
|
32
32
|
#
|
33
|
-
# Install
|
33
|
+
# Install VMware Aria Operations For Logs plugin
|
34
34
|
rubygem-fluent-plugin-vmware-loginsight-0.1.5
|
35
35
|
|
36
36
|
RUN ln -s /usr/lib/ruby/gems/2.5.0/bin/fluentd /usr/bin/fluentd \
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2019 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -38,7 +38,7 @@ RUN buildDeps="\
|
|
38
38
|
&& gem install --norc --no-document fluentd -v 1.6.3 \
|
39
39
|
&& mkdir -p /fluentd/etc /fluentd/plugins \
|
40
40
|
#
|
41
|
-
# Install
|
41
|
+
# Install VMware Aria Operations For Logs plugin
|
42
42
|
&& gem install --norc --no-document -v 0.1.5 fluent-plugin-vmware-loginsight \
|
43
43
|
#
|
44
44
|
# Install jemalloc 4.5.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2018 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -121,7 +121,7 @@ data:
|
|
121
121
|
time_format %Y-%m-%dT%H:%M:%SZ
|
122
122
|
</parse>
|
123
123
|
</source>
|
124
|
-
#
|
124
|
+
# VMware Aria Operations For Logs doesn't support ingesting `source` as a field name, get rid of it
|
125
125
|
<filter kube-audit>
|
126
126
|
@type record_transformer
|
127
127
|
@id filter_kube_audit_logs
|
@@ -145,13 +145,13 @@ data:
|
|
145
145
|
@id out_vmw_li_all_container_logs
|
146
146
|
scheme https
|
147
147
|
ssl_verify true
|
148
|
-
#
|
148
|
+
# VMware Aria Operations For Logs host: One may use IP address or cname
|
149
149
|
#host X.X.X.X
|
150
150
|
host MY_LOGINSIGHT_HOST
|
151
151
|
port 9543
|
152
152
|
agent_id XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
153
153
|
# Keys from log event whose values should be added as log message/text to
|
154
|
-
#
|
154
|
+
# VMware Aria Operations For Logs. Note these key/value pairs won't be added as metadata/fields
|
155
155
|
log_text_keys ["log","msg","message"]
|
156
156
|
# Use this flag if you want to enable http debug logs
|
157
157
|
http_conn_debug false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2018 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.authors = ["Vishal Mohite", "Chris Todd", "Samvel Israelyan"]
|
19
19
|
spec.email = ["vmohite@vmware.com", "toddc@vmware.com", "sisraelyan@vmware.com"]
|
20
20
|
|
21
|
-
spec.summary = %q{Fluend output plugin to forward logs to VMware
|
21
|
+
spec.summary = %q{Fluend output plugin to forward logs to VMware Aria Operations For Logs}
|
22
22
|
spec.description = spec.summary
|
23
23
|
spec.homepage = "https://github.com/vmware/fluent-plugin-vmware-loginsight"
|
24
24
|
spec.license = "MIT"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fluentd plugin for VMware
|
1
|
+
# Fluentd plugin for VMware Aria Operations For Logs
|
2
2
|
#
|
3
3
|
# Copyright 2018 VMware, Inc. All Rights Reserved.
|
4
4
|
#
|
@@ -20,13 +20,13 @@ module Fluent::Plugin
|
|
20
20
|
|
21
21
|
### Connection Params ###
|
22
22
|
config_param :scheme, :string, :default => 'http'
|
23
|
-
#
|
23
|
+
# VMware Aria Operations For Logs Host ex. localhost
|
24
24
|
config_param :host, :string, :default => 'localhost'
|
25
25
|
# In case we want to post to multiple hosts. This is futuristic, Fluentd copy plugin can support this as is
|
26
26
|
#config_param :hosts, :string, :default => nil
|
27
|
-
#
|
27
|
+
# VMware Aria Operations For Logs port ex. 9000. Default 80
|
28
28
|
config_param :port, :integer, :default => 80
|
29
|
-
#
|
29
|
+
# VMware Aria Operations For Logs ingestion api path ex. 'api/v1/events/ingest'
|
30
30
|
config_param :path, :string, :default => 'api/v1/events/ingest'
|
31
31
|
# agent_id generated by your LI
|
32
32
|
config_param :agent_id, :string, :default => '0'
|
@@ -58,7 +58,7 @@ module Fluent::Plugin
|
|
58
58
|
# Raise errors that were rescued during HTTP requests?
|
59
59
|
config_param :raise_on_error, :bool, :default => false
|
60
60
|
# Keys from log event whose values should be added as log message/text
|
61
|
-
# to
|
61
|
+
# to VMware Aria Operations For Logs. Note these key/value pairs won't be added as metadata/fields
|
62
62
|
config_param :log_text_keys, :array, default: ["log", "message", "msg"], value_type: :string
|
63
63
|
# Flatten hashes to create one key/val pair w/o losing log data
|
64
64
|
config_param :flatten_hashes, :bool, :default => true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-vmware-loginsight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vishal Mohite
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '2'
|
77
|
-
description: Fluend output plugin to forward logs to VMware
|
77
|
+
description: Fluend output plugin to forward logs to VMware Aria Operations For Logs
|
78
78
|
email:
|
79
79
|
- vmohite@vmware.com
|
80
80
|
- toddc@vmware.com
|
@@ -125,7 +125,7 @@ rubyforge_project:
|
|
125
125
|
rubygems_version: 2.7.6
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
|
-
summary: Fluend output plugin to forward logs to VMware
|
128
|
+
summary: Fluend output plugin to forward logs to VMware Aria Operations For Logs
|
129
129
|
test_files:
|
130
130
|
- test/helper.rb
|
131
131
|
- test/plugin/test_out_vmware_loginsight.rb
|