logstash-input-google_cloud_storage 0.10.0-java → 0.12.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/CONTRIBUTORS +1 -0
  4. data/LICENSE +200 -9
  5. data/docs/index.asciidoc +31 -0
  6. data/lib/logstash/inputs/cloud_storage/file_reader.rb +3 -1
  7. data/lib/logstash-input-google_cloud_storage_jars.rb +35 -38
  8. data/logstash-input-google_cloud_storage.gemspec +6 -4
  9. data/spec/fixtures/gzip/simple.gz +0 -0
  10. data/spec/fixtures/gzip/simple.gz.log +2 -0
  11. data/spec/fixtures/gzip/simple.gzip +0 -0
  12. data/spec/fixtures/gzip/simple.log +2 -0
  13. data/spec/fixtures/gzip/simple.log.gz +0 -0
  14. data/spec/fixtures/gzip/simple.tgz +0 -0
  15. data/spec/fixtures/gzip/simpledir.gz/log +2 -0
  16. data/spec/fixtures/gzip/simplegz +0 -0
  17. data/spec/inputs/cloud_storage/file_reader_spec.rb +12 -11
  18. data/vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.12.4/jackson-core-2.12.4.jar +0 -0
  19. data/vendor/jar-dependencies/com/google/api/api-common/2.0.0/api-common-2.0.0.jar +0 -0
  20. data/vendor/jar-dependencies/com/google/api/gax/2.0.0/gax-2.0.0.jar +0 -0
  21. data/vendor/jar-dependencies/com/google/api/gax-httpjson/0.85.0/gax-httpjson-0.85.0.jar +0 -0
  22. data/vendor/jar-dependencies/com/google/api/grpc/proto-google-common-protos/2.3.2/proto-google-common-protos-2.3.2.jar +0 -0
  23. data/vendor/jar-dependencies/com/google/api/grpc/proto-google-iam-v1/1.0.14/proto-google-iam-v1-1.0.14.jar +0 -0
  24. data/vendor/jar-dependencies/com/google/api-client/google-api-client/1.32.1/google-api-client-1.32.1.jar +0 -0
  25. data/vendor/jar-dependencies/com/google/apis/google-api-services-storage/v1-rev20210127-1.32.1/google-api-services-storage-v1-rev20210127-1.32.1.jar +0 -0
  26. data/vendor/jar-dependencies/com/google/auth/google-auth-library-credentials/1.0.0/google-auth-library-credentials-1.0.0.jar +0 -0
  27. data/vendor/jar-dependencies/com/google/auth/google-auth-library-oauth2-http/1.0.0/google-auth-library-oauth2-http-1.0.0.jar +0 -0
  28. data/vendor/jar-dependencies/com/google/auto/value/auto-value-annotations/1.8.2/auto-value-annotations-1.8.2.jar +0 -0
  29. data/vendor/jar-dependencies/com/google/cloud/google-cloud-core/2.0.2/google-cloud-core-2.0.2.jar +0 -0
  30. data/vendor/jar-dependencies/com/google/cloud/google-cloud-core-http/2.0.2/google-cloud-core-http-2.0.2.jar +0 -0
  31. data/vendor/jar-dependencies/com/google/cloud/google-cloud-storage/1.118.1/google-cloud-storage-1.118.1.jar +0 -0
  32. data/vendor/jar-dependencies/com/google/code/gson/gson/2.8.7/gson-2.8.7.jar +0 -0
  33. data/vendor/jar-dependencies/com/google/errorprone/error_prone_annotations/2.8.1/error_prone_annotations-2.8.1.jar +0 -0
  34. data/vendor/jar-dependencies/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar +0 -0
  35. data/vendor/jar-dependencies/com/google/guava/guava/30.1.1-jre/guava-30.1.1-jre.jar +0 -0
  36. data/vendor/jar-dependencies/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar +0 -0
  37. data/vendor/jar-dependencies/com/google/http-client/google-http-client/1.39.2/google-http-client-1.39.2.jar +0 -0
  38. data/vendor/jar-dependencies/com/google/http-client/google-http-client-apache-v2/1.39.2/google-http-client-apache-v2-1.39.2.jar +0 -0
  39. data/vendor/jar-dependencies/com/google/http-client/google-http-client-appengine/1.39.2/google-http-client-appengine-1.39.2.jar +0 -0
  40. data/vendor/jar-dependencies/com/google/http-client/google-http-client-gson/1.39.2/google-http-client-gson-1.39.2.jar +0 -0
  41. data/vendor/jar-dependencies/com/google/http-client/google-http-client-jackson2/1.39.2/google-http-client-jackson2-1.39.2.jar +0 -0
  42. data/vendor/jar-dependencies/com/google/j2objc/j2objc-annotations/{1.1/j2objc-annotations-1.1.jar → 1.3/j2objc-annotations-1.3.jar} +0 -0
  43. data/vendor/jar-dependencies/com/google/oauth-client/google-oauth-client/1.31.5/google-oauth-client-1.31.5.jar +0 -0
  44. data/vendor/jar-dependencies/com/google/protobuf/protobuf-java/3.17.3/protobuf-java-3.17.3.jar +0 -0
  45. data/vendor/jar-dependencies/com/google/protobuf/protobuf-java-util/3.17.3/protobuf-java-util-3.17.3.jar +0 -0
  46. data/vendor/jar-dependencies/io/grpc/grpc-context/1.39.0/grpc-context-1.39.0.jar +0 -0
  47. data/vendor/jar-dependencies/io/opencensus/opencensus-api/0.28.0/opencensus-api-0.28.0.jar +0 -0
  48. data/vendor/jar-dependencies/io/opencensus/opencensus-contrib-http-util/0.28.0/opencensus-contrib-http-util-0.28.0.jar +0 -0
  49. data/vendor/jar-dependencies/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar +0 -0
  50. data/vendor/jar-dependencies/org/checkerframework/checker-qual/3.8.0/checker-qual-3.8.0.jar +0 -0
  51. data/vendor/jar-dependencies/org/logstash/inputs/plugin/0.12.0/plugin-0.12.0.jar +0 -0
  52. data/vendor/jar-dependencies/org/threeten/threetenbp/1.5.1/threetenbp-1.5.1.jar +0 -0
  53. data/version +1 -0
  54. metadata +87 -46
  55. data/vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.9.6/jackson-core-2.9.6.jar +0 -0
  56. data/vendor/jar-dependencies/com/google/api/api-common/1.7.0/api-common-1.7.0.jar +0 -0
  57. data/vendor/jar-dependencies/com/google/api/gax/1.38.0/gax-1.38.0.jar +0 -0
  58. data/vendor/jar-dependencies/com/google/api/gax-httpjson/0.55.0/gax-httpjson-0.55.0.jar +0 -0
  59. data/vendor/jar-dependencies/com/google/api/grpc/proto-google-common-protos/1.12.0/proto-google-common-protos-1.12.0.jar +0 -0
  60. data/vendor/jar-dependencies/com/google/api/grpc/proto-google-iam-v1/0.12.0/proto-google-iam-v1-0.12.0.jar +0 -0
  61. data/vendor/jar-dependencies/com/google/api-client/google-api-client/1.27.0/google-api-client-1.27.0.jar +0 -0
  62. data/vendor/jar-dependencies/com/google/apis/google-api-services-storage/v1-rev20181109-1.27.0/google-api-services-storage-v1-rev20181109-1.27.0.jar +0 -0
  63. data/vendor/jar-dependencies/com/google/auth/google-auth-library-credentials/0.12.0/google-auth-library-credentials-0.12.0.jar +0 -0
  64. data/vendor/jar-dependencies/com/google/auth/google-auth-library-oauth2-http/0.12.0/google-auth-library-oauth2-http-0.12.0.jar +0 -0
  65. data/vendor/jar-dependencies/com/google/cloud/google-cloud-core/1.62.0/google-cloud-core-1.62.0.jar +0 -0
  66. data/vendor/jar-dependencies/com/google/cloud/google-cloud-core-http/1.62.0/google-cloud-core-http-1.62.0.jar +0 -0
  67. data/vendor/jar-dependencies/com/google/cloud/google-cloud-storage/1.62.0/google-cloud-storage-1.62.0.jar +0 -0
  68. data/vendor/jar-dependencies/com/google/code/gson/gson/2.7/gson-2.7.jar +0 -0
  69. data/vendor/jar-dependencies/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar +0 -0
  70. data/vendor/jar-dependencies/com/google/guava/guava/26.0-android/guava-26.0-android.jar +0 -0
  71. data/vendor/jar-dependencies/com/google/guava/guava-jdk5/17.0/guava-jdk5-17.0.jar +0 -0
  72. data/vendor/jar-dependencies/com/google/http-client/google-http-client/1.27.0/google-http-client-1.27.0.jar +0 -0
  73. data/vendor/jar-dependencies/com/google/http-client/google-http-client-appengine/1.27.0/google-http-client-appengine-1.27.0.jar +0 -0
  74. data/vendor/jar-dependencies/com/google/http-client/google-http-client-jackson/1.23.0/google-http-client-jackson-1.23.0.jar +0 -0
  75. data/vendor/jar-dependencies/com/google/http-client/google-http-client-jackson2/1.27.0/google-http-client-jackson2-1.27.0.jar +0 -0
  76. data/vendor/jar-dependencies/com/google/oauth-client/google-oauth-client/1.27.0/google-oauth-client-1.27.0.jar +0 -0
  77. data/vendor/jar-dependencies/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1.jar +0 -0
  78. data/vendor/jar-dependencies/com/google/protobuf/protobuf-java-util/3.6.1/protobuf-java-util-3.6.1.jar +0 -0
  79. data/vendor/jar-dependencies/commons-codec/commons-codec/1.10/commons-codec-1.10.jar +0 -0
  80. data/vendor/jar-dependencies/commons-logging/commons-logging/1.2/commons-logging-1.2.jar +0 -0
  81. data/vendor/jar-dependencies/io/grpc/grpc-context/1.14.0/grpc-context-1.14.0.jar +0 -0
  82. data/vendor/jar-dependencies/io/opencensus/opencensus-api/0.17.0/opencensus-api-0.17.0.jar +0 -0
  83. data/vendor/jar-dependencies/io/opencensus/opencensus-contrib-http-util/0.17.0/opencensus-contrib-http-util-0.17.0.jar +0 -0
  84. data/vendor/jar-dependencies/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar +0 -0
  85. data/vendor/jar-dependencies/joda-time/joda-time/2.9.2/joda-time-2.9.2.jar +0 -0
  86. data/vendor/jar-dependencies/org/apache/httpcomponents/httpclient/4.5.5/httpclient-4.5.5.jar +0 -0
  87. data/vendor/jar-dependencies/org/apache/httpcomponents/httpcore/4.4.9/httpcore-4.4.9.jar +0 -0
  88. data/vendor/jar-dependencies/org/checkerframework/checker-compat-qual/2.5.2/checker-compat-qual-2.5.2.jar +0 -0
  89. data/vendor/jar-dependencies/org/codehaus/jackson/jackson-core-asl/1.9.11/jackson-core-asl-1.9.11.jar +0 -0
  90. data/vendor/jar-dependencies/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar +0 -0
  91. data/vendor/jar-dependencies/org/threeten/threetenbp/1.3.3/threetenbp-1.3.3.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e78557c8bf094bfd04130b57015071baadd85453f4f697589352da83e40fdeb6
4
- data.tar.gz: 0320d090a6bf8dc24676ab59ea59c401cb6aa18c8d4206a1df69017de7901617
3
+ metadata.gz: 32368da3607b542514c07135118a2ac728807663d043026f1a16b83ab7ab8572
4
+ data.tar.gz: eb51485cd0d3de22909be15ef8c5ed27ee79633c7fa0b47a2be4133ed60bd2d8
5
5
  SHA512:
6
- metadata.gz: c9fd651ea1779ec2e824f11975ff95e3f3b3d3be809c150e590d60e2d500ab2fc78d4f1058326ba7c7058f75a1be3d693bb7f0317ab3de4f9ad30cd8e8a73188
7
- data.tar.gz: 5935af6d43c06e4c766fed2b64e5d5c01ebed026edfb157ab1f27ff06af3111a5dff83df35a6f36f8fa4b0304fb04c1edc4bdfefe12de3598f3539ab24b4b2de
6
+ metadata.gz: 0add9d92e3794ca0aa8872ac5dc7a340ece9c49a01b480537ef40768dff1db69ace6ce95d7929de606ddf61a92a8913950cebcb3e9e988333c8d8b7d2242b18b
7
+ data.tar.gz: feb07220ba68ec36951ab0dd68284ac5f04b718c355477c6c23315ab41cea628c5f6a2b8aec14bbd357b16898b6443304091396377c4f3dad4658ab36e8ed8c9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.12.0
2
+ - Updated Google Cloud Storage client library, needs Logstash `>= 8.3.0` to run [#20](https://github.com/logstash-plugins/logstash-input-google_cloud_storage/pull/20)
3
+
4
+ ## 0.11.0
5
+
6
+ - Change gzip file detection to use mime type instead of extension
7
+
1
8
  ## 0.10.0
2
9
 
3
10
  - Updated JAR dependencies.
data/CONTRIBUTORS CHANGED
@@ -4,6 +4,7 @@ reports, or in general have helped logstash along its way.
4
4
  Contributors:
5
5
  * Google LLC.
6
6
  * Joseph Lewis III - jlewisiii@google.com
7
+ * Claus Strommer - Green Brick Labs
7
8
 
8
9
  Note: If you've sent us patches, bug reports, or otherwise contributed to
9
10
  Logstash, and you aren't on the list above and want to be, please let us know
data/LICENSE CHANGED
@@ -1,11 +1,202 @@
1
- Licensed under the Apache License, Version 2.0 (the "License");
2
- you may not use this file except in compliance with the License.
3
- You may obtain a copy of the License at
4
1
 
5
- http://www.apache.org/licenses/LICENSE-2.0
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
6
5
 
7
- Unless required by applicable law or agreed to in writing, software
8
- distributed under the License is distributed on an "AS IS" BASIS,
9
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- See the License for the specific language governing permissions and
11
- limitations under the License.
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2020 Elastic and contributors
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/docs/index.asciidoc CHANGED
@@ -33,6 +33,37 @@ Example use-cases:
33
33
 
34
34
  Note: While this project is partially maintained by Google, this is not an official Google product.
35
35
 
36
+ .Installation Note
37
+ [NOTE]
38
+ ================================================================================
39
+ Attempting to install this plugin may result in an error:
40
+ [source,bash]
41
+ ----------------------------------
42
+ Bundler::VersionConflict: Bundler could not find compatible versions for gem "mimemagic":
43
+ In Gemfile:
44
+ logstash-input-google_cloud_storage (= 0.11.0) was resolved to 0.11.0, which depends on
45
+ mimemagic (>= 0.3.7)
46
+
47
+ Could not find gem 'mimemagic (>= 0.3.7)', which is required by gem 'logstash-input-google_cloud_storage (= 0.11.0)', in any of the sources or in gems cached in vendor/cache
48
+ ----------------------------------
49
+ If this error occurs, you can fix it by manually installing the "mimemagic" dependency directly into the
50
+ Logstash's internal Ruby Gems cache, which is present at `vendor/bundle/jruby/<ruby_version>/gems/`. This could be done using
51
+ the bundled Ruby gem's instance inside the Logstash's installation `bin/` folder.
52
+
53
+ To manually install the "mimemagic" gem into Logstash use:
54
+ [source,bash]
55
+ ----------------------------------
56
+ bin/ruby -S gem install mimemagic -v '>= 0.3.7'
57
+ ----------------------------------
58
+
59
+ Then install the plugin as usual with:
60
+ [source,bash]
61
+ ----------------------------------
62
+ bin/logstash-plugin install logstash-input-google_cloud_storage
63
+ ----------------------------------
64
+
65
+ ================================================================================
66
+
36
67
  [id="plugins-{type}s-{plugin}-metadata-attributes"]
37
68
  ==== Metadata Attributes
38
69
 
@@ -1,6 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require 'zlib'
4
+ require 'mimemagic'
4
5
 
5
6
  module LogStash
6
7
  module Inputs
@@ -22,7 +23,8 @@ module LogStash
22
23
 
23
24
  # gzip? returns true if the given filename has a gzip file extension.
24
25
  def self.gzip?(filename)
25
- filename.end_with? '.gz'
26
+ magic = MimeMagic.by_magic(::File.open(filename))
27
+ magic ? magic.subtype == "gzip" : false
26
28
  end
27
29
 
28
30
  def self.read_plain_lines(filename, &block)
@@ -1,42 +1,39 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
2
2
 
3
3
  require 'jar_dependencies'
4
- require_jar('com.google.cloud', 'google-cloud-storage', '1.62.0')
5
- require_jar('com.fasterxml.jackson.core', 'jackson-core', '2.9.6')
6
- require_jar('com.google.api', 'api-common', '1.7.0')
7
- require_jar('com.google.api-client', 'google-api-client', '1.27.0')
8
- require_jar('com.google.api', 'gax', '1.38.0')
9
- require_jar('com.google.api', 'gax-httpjson', '0.55.0')
10
- require_jar('com.google.api.grpc', 'proto-google-common-protos', '1.12.0')
11
- require_jar('com.google.api.grpc', 'proto-google-iam-v1', '0.12.0')
12
- require_jar('com.google.apis', 'google-api-services-storage', 'v1-rev20181109-1.27.0')
13
- require_jar('com.google.auth', 'google-auth-library-credentials', '0.12.0')
14
- require_jar('com.google.auth', 'google-auth-library-oauth2-http', '0.12.0')
15
- require_jar('com.google.cloud', 'google-cloud-core', '1.62.0')
16
- require_jar('com.google.cloud', 'google-cloud-core-http', '1.62.0')
4
+ require_jar('com.google.cloud', 'google-cloud-storage', '1.118.1')
5
+ require_jar('com.google.guava', 'guava', '30.1.1-jre')
6
+ require_jar('com.google.guava', 'failureaccess', '1.0.1')
7
+ require_jar('com.google.guava', 'listenablefuture', '9999.0-empty-to-avoid-conflict-with-guava')
17
8
  require_jar('com.google.code.findbugs', 'jsr305', '3.0.2')
18
- require_jar('com.google.code.gson', 'gson', '2.7')
19
- require_jar('com.google.errorprone', 'error_prone_annotations', '2.2.0')
20
- require_jar('com.google.guava', 'guava', '26.0-android')
21
- require_jar('com.google.guava', 'guava-jdk5', '17.0')
22
- require_jar('com.google.http-client', 'google-http-client', '1.27.0')
23
- require_jar('com.google.http-client', 'google-http-client-appengine', '1.27.0')
24
- require_jar('com.google.http-client', 'google-http-client-jackson', '1.23.0')
25
- require_jar('com.google.http-client', 'google-http-client-jackson2', '1.27.0')
26
- require_jar('com.google.j2objc', 'j2objc-annotations', '1.1')
27
- require_jar('com.google.oauth-client', 'google-oauth-client', '1.27.0')
28
- require_jar('com.google.protobuf', 'protobuf-java', '3.6.1')
29
- require_jar('com.google.protobuf', 'protobuf-java-util', '3.6.1')
30
- require_jar('commons-codec', 'commons-codec', '1.10')
31
- require_jar('commons-logging', 'commons-logging', '1.2')
32
- require_jar('io.grpc', 'grpc-context', '1.14.0')
33
- require_jar('io.opencensus', 'opencensus-api', '0.17.0')
34
- require_jar('io.opencensus', 'opencensus-contrib-http-util', '0.17.0')
35
- require_jar('javax.annotation', 'javax.annotation-api', '1.2')
36
- require_jar('joda-time', 'joda-time', '2.9.2')
37
- require_jar('org.apache.httpcomponents', 'httpclient', '4.5.5')
38
- require_jar('org.apache.httpcomponents', 'httpcore', '4.4.9')
39
- require_jar('org.checkerframework', 'checker-compat-qual', '2.5.2')
40
- require_jar('org.codehaus.jackson', 'jackson-core-asl', '1.9.11')
41
- require_jar('org.codehaus.mojo', 'animal-sniffer-annotations', '1.14')
42
- require_jar('org.threeten', 'threetenbp', '1.3.3')
9
+ require_jar('org.checkerframework', 'checker-qual', '3.8.0')
10
+ require_jar('com.google.errorprone', 'error_prone_annotations', '2.8.1')
11
+ require_jar('com.google.j2objc', 'j2objc-annotations', '1.3')
12
+ require_jar('com.google.http-client', 'google-http-client', '1.39.2')
13
+ require_jar('io.opencensus', 'opencensus-contrib-http-util', '0.28.0')
14
+ require_jar('com.google.http-client', 'google-http-client-jackson2', '1.39.2')
15
+ require_jar('com.fasterxml.jackson.core', 'jackson-core', '2.12.4')
16
+ require_jar('com.google.api-client', 'google-api-client', '1.32.1')
17
+ require_jar('com.google.oauth-client', 'google-oauth-client', '1.31.5')
18
+ require_jar('com.google.http-client', 'google-http-client-gson', '1.39.2')
19
+ require_jar('com.google.http-client', 'google-http-client-apache-v2', '1.39.2')
20
+ require_jar('com.google.apis', 'google-api-services-storage', 'v1-rev20210127-1.32.1')
21
+ require_jar('com.google.code.gson', 'gson', '2.8.7')
22
+ require_jar('com.google.cloud', 'google-cloud-core', '2.0.2')
23
+ require_jar('com.google.auto.value', 'auto-value-annotations', '1.8.2')
24
+ require_jar('com.google.api.grpc', 'proto-google-common-protos', '2.3.2')
25
+ require_jar('com.google.cloud', 'google-cloud-core-http', '2.0.2')
26
+ require_jar('com.google.http-client', 'google-http-client-appengine', '1.39.2')
27
+ require_jar('com.google.api', 'gax-httpjson', '0.85.0')
28
+ require_jar('com.google.api', 'gax', '2.0.0')
29
+ require_jar('com.google.auth', 'google-auth-library-credentials', '1.0.0')
30
+ require_jar('com.google.auth', 'google-auth-library-oauth2-http', '1.0.0')
31
+ require_jar('com.google.api', 'api-common', '2.0.0')
32
+ require_jar('javax.annotation', 'javax.annotation-api', '1.3.2')
33
+ require_jar('io.opencensus', 'opencensus-api', '0.28.0')
34
+ require_jar('io.grpc', 'grpc-context', '1.39.0')
35
+ require_jar('com.google.api.grpc', 'proto-google-iam-v1', '1.0.14')
36
+ require_jar('com.google.protobuf', 'protobuf-java', '3.17.3')
37
+ require_jar('com.google.protobuf', 'protobuf-java-util', '3.17.3')
38
+ require_jar('org.threeten', 'threetenbp', '1.5.1')
39
+ require_jar('org.logstash.inputs', 'plugin', '0.12.0')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-google_cloud_storage'
3
- s.version = '0.10.0'
3
+ s.version = ::File.read('version').split("\n").first
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Plugin to import log data from Google Cloud Storage (GCS).'
6
6
  s.description = 'This gem is a Logstash plugin required to be installed on top of the '\
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  'CONTRIBUTORS',
28
28
  'LICENSE',
29
29
  'NOTICE.TXT',
30
- 'VERSION',
30
+ 'version',
31
31
  'docs/**/*']
32
32
 
33
33
  # Tests
@@ -37,13 +37,15 @@ Gem::Specification.new do |s|
37
37
  s.metadata = { 'logstash_plugin' => 'true', 'logstash_group' => 'input' }
38
38
 
39
39
  # Gem dependencies
40
+ s.add_runtime_dependency 'logstash-core', '>= 8.3.0'
40
41
  s.add_runtime_dependency 'logstash-codec-plain'
41
42
  s.add_runtime_dependency 'logstash-core-plugin-api', '~> 2.0'
42
43
  s.add_runtime_dependency 'stud', '>= 0.0.22'
44
+ s.add_runtime_dependency 'mimemagic', '>= 0.3.7'
43
45
 
44
- s.add_development_dependency 'logstash-devutils', '>= 0.0.16'
46
+ s.add_development_dependency 'logstash-devutils', '>= 1.0.0'
45
47
 
46
48
  # Java
47
- s.add_development_dependency 'jar-dependencies', '~> 0.3.4'
49
+ s.add_development_dependency 'jar-dependencies', '~> 0.4'
48
50
  s.platform = 'java'
49
51
  end
Binary file
@@ -0,0 +1,2 @@
1
+ hello
2
+ world
Binary file
@@ -0,0 +1,2 @@
1
+ hello
2
+ world
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ hello
2
+ world
Binary file
@@ -8,18 +8,19 @@ describe LogStash::Inputs::CloudStorage::FileReader do
8
8
  describe '#gzip?' do
9
9
  GzipTest = Struct.new('GzipTest', :path, :expected)
10
10
 
11
- it 'is true when the file ends with .gz' do
11
+ it 'is true when the file has .gz mimetype' do
12
12
  cases = [
13
- GzipTest.new('simple.gz', true),
14
- GzipTest.new('subdir/simple.gz', true),
15
- GzipTest.new('/abs/path.gz', true),
16
- GzipTest.new('path.log.gz', true),
17
-
18
- GzipTest.new('path.log.gzip', false),
19
- GzipTest.new('simple.log', false),
20
- GzipTest.new('simple.gz/foo', false),
21
- GzipTest.new('simple.gz.log', false),
22
- GzipTest.new('foo.tgz', false)
13
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.gz'), true),
14
+ GzipTest.new(::File.join(::Dir.pwd, 'spec', 'fixtures', 'gzip', 'simple.gz'), true),
15
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.log.gz'), true),
16
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.gzip'), true),
17
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simplegz'), true),
18
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.tgz'), true),
19
+
20
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.log'), false),
21
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simpledir.gz/log'), false),
22
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.gz.log'), false),
23
+ GzipTest.new(::File.join('.', 'spec', 'fixtures', 'gzip', 'simple.log'), false),
23
24
  ]
24
25
 
25
26
  cases.each do |test|
data/version ADDED
@@ -0,0 +1 @@
1
+ 0.12.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-google_cloud_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.12.0
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
@@ -9,8 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-28 00:00:00.000000000 Z
12
+ date: 2022-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 8.3.0
20
+ name: logstash-core
21
+ prerelease: false
22
+ type: :runtime
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: 8.3.0
14
28
  - !ruby/object:Gem::Dependency
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
@@ -58,7 +72,21 @@ dependencies:
58
72
  requirements:
59
73
  - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: 0.0.16
75
+ version: 0.3.7
76
+ name: mimemagic
77
+ prerelease: false
78
+ type: :runtime
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 0.3.7
84
+ - !ruby/object:Gem::Dependency
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.0
62
90
  name: logstash-devutils
63
91
  prerelease: false
64
92
  type: :development
@@ -66,13 +94,13 @@ dependencies:
66
94
  requirements:
67
95
  - - ">="
68
96
  - !ruby/object:Gem::Version
69
- version: 0.0.16
97
+ version: 1.0.0
70
98
  - !ruby/object:Gem::Dependency
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: 0.3.4
103
+ version: '0.4'
76
104
  name: jar-dependencies
77
105
  prerelease: false
78
106
  type: :development
@@ -80,7 +108,7 @@ dependencies:
80
108
  requirements:
81
109
  - - "~>"
82
110
  - !ruby/object:Gem::Version
83
- version: 0.3.4
111
+ version: '0.4'
84
112
  description: This gem is a Logstash plugin required to be installed on top of the
85
113
  Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
86
114
  gem is not a stand-alone program
@@ -105,6 +133,14 @@ files:
105
133
  - lib/logstash/inputs/google_cloud_storage.rb
106
134
  - logstash-input-google_cloud_storage.gemspec
107
135
  - spec/fixtures/credentials.json
136
+ - spec/fixtures/gzip/simple.gz
137
+ - spec/fixtures/gzip/simple.gz.log
138
+ - spec/fixtures/gzip/simple.gzip
139
+ - spec/fixtures/gzip/simple.log
140
+ - spec/fixtures/gzip/simple.log.gz
141
+ - spec/fixtures/gzip/simple.tgz
142
+ - spec/fixtures/gzip/simpledir.gz/log
143
+ - spec/fixtures/gzip/simplegz
108
144
  - spec/fixtures/helloworld.log
109
145
  - spec/fixtures/helloworld.log.gz
110
146
  - spec/inputs/cloud_storage/blob_adapter_spec.rb
@@ -113,45 +149,43 @@ files:
113
149
  - spec/inputs/cloud_storage/file_reader_spec.rb
114
150
  - spec/inputs/cloud_storage/processed_db_spec.rb
115
151
  - spec/inputs/google_cloud_storage_spec.rb
116
- - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.9.6/jackson-core-2.9.6.jar
117
- - vendor/jar-dependencies/com/google/api-client/google-api-client/1.27.0/google-api-client-1.27.0.jar
118
- - vendor/jar-dependencies/com/google/api/api-common/1.7.0/api-common-1.7.0.jar
119
- - vendor/jar-dependencies/com/google/api/gax-httpjson/0.55.0/gax-httpjson-0.55.0.jar
120
- - vendor/jar-dependencies/com/google/api/gax/1.38.0/gax-1.38.0.jar
121
- - vendor/jar-dependencies/com/google/api/grpc/proto-google-common-protos/1.12.0/proto-google-common-protos-1.12.0.jar
122
- - vendor/jar-dependencies/com/google/api/grpc/proto-google-iam-v1/0.12.0/proto-google-iam-v1-0.12.0.jar
123
- - vendor/jar-dependencies/com/google/apis/google-api-services-storage/v1-rev20181109-1.27.0/google-api-services-storage-v1-rev20181109-1.27.0.jar
124
- - vendor/jar-dependencies/com/google/auth/google-auth-library-credentials/0.12.0/google-auth-library-credentials-0.12.0.jar
125
- - vendor/jar-dependencies/com/google/auth/google-auth-library-oauth2-http/0.12.0/google-auth-library-oauth2-http-0.12.0.jar
126
- - vendor/jar-dependencies/com/google/cloud/google-cloud-core-http/1.62.0/google-cloud-core-http-1.62.0.jar
127
- - vendor/jar-dependencies/com/google/cloud/google-cloud-core/1.62.0/google-cloud-core-1.62.0.jar
128
- - vendor/jar-dependencies/com/google/cloud/google-cloud-storage/1.62.0/google-cloud-storage-1.62.0.jar
152
+ - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.12.4/jackson-core-2.12.4.jar
153
+ - vendor/jar-dependencies/com/google/api-client/google-api-client/1.32.1/google-api-client-1.32.1.jar
154
+ - vendor/jar-dependencies/com/google/api/api-common/2.0.0/api-common-2.0.0.jar
155
+ - vendor/jar-dependencies/com/google/api/gax-httpjson/0.85.0/gax-httpjson-0.85.0.jar
156
+ - vendor/jar-dependencies/com/google/api/gax/2.0.0/gax-2.0.0.jar
157
+ - vendor/jar-dependencies/com/google/api/grpc/proto-google-common-protos/2.3.2/proto-google-common-protos-2.3.2.jar
158
+ - vendor/jar-dependencies/com/google/api/grpc/proto-google-iam-v1/1.0.14/proto-google-iam-v1-1.0.14.jar
159
+ - vendor/jar-dependencies/com/google/apis/google-api-services-storage/v1-rev20210127-1.32.1/google-api-services-storage-v1-rev20210127-1.32.1.jar
160
+ - vendor/jar-dependencies/com/google/auth/google-auth-library-credentials/1.0.0/google-auth-library-credentials-1.0.0.jar
161
+ - vendor/jar-dependencies/com/google/auth/google-auth-library-oauth2-http/1.0.0/google-auth-library-oauth2-http-1.0.0.jar
162
+ - vendor/jar-dependencies/com/google/auto/value/auto-value-annotations/1.8.2/auto-value-annotations-1.8.2.jar
163
+ - vendor/jar-dependencies/com/google/cloud/google-cloud-core-http/2.0.2/google-cloud-core-http-2.0.2.jar
164
+ - vendor/jar-dependencies/com/google/cloud/google-cloud-core/2.0.2/google-cloud-core-2.0.2.jar
165
+ - vendor/jar-dependencies/com/google/cloud/google-cloud-storage/1.118.1/google-cloud-storage-1.118.1.jar
129
166
  - vendor/jar-dependencies/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
130
- - vendor/jar-dependencies/com/google/code/gson/gson/2.7/gson-2.7.jar
131
- - vendor/jar-dependencies/com/google/errorprone/error_prone_annotations/2.2.0/error_prone_annotations-2.2.0.jar
132
- - vendor/jar-dependencies/com/google/guava/guava-jdk5/17.0/guava-jdk5-17.0.jar
133
- - vendor/jar-dependencies/com/google/guava/guava/26.0-android/guava-26.0-android.jar
134
- - vendor/jar-dependencies/com/google/http-client/google-http-client-appengine/1.27.0/google-http-client-appengine-1.27.0.jar
135
- - vendor/jar-dependencies/com/google/http-client/google-http-client-jackson/1.23.0/google-http-client-jackson-1.23.0.jar
136
- - vendor/jar-dependencies/com/google/http-client/google-http-client-jackson2/1.27.0/google-http-client-jackson2-1.27.0.jar
137
- - vendor/jar-dependencies/com/google/http-client/google-http-client/1.27.0/google-http-client-1.27.0.jar
138
- - vendor/jar-dependencies/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
139
- - vendor/jar-dependencies/com/google/oauth-client/google-oauth-client/1.27.0/google-oauth-client-1.27.0.jar
140
- - vendor/jar-dependencies/com/google/protobuf/protobuf-java-util/3.6.1/protobuf-java-util-3.6.1.jar
141
- - vendor/jar-dependencies/com/google/protobuf/protobuf-java/3.6.1/protobuf-java-3.6.1.jar
142
- - vendor/jar-dependencies/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
143
- - vendor/jar-dependencies/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
144
- - vendor/jar-dependencies/io/grpc/grpc-context/1.14.0/grpc-context-1.14.0.jar
145
- - vendor/jar-dependencies/io/opencensus/opencensus-api/0.17.0/opencensus-api-0.17.0.jar
146
- - vendor/jar-dependencies/io/opencensus/opencensus-contrib-http-util/0.17.0/opencensus-contrib-http-util-0.17.0.jar
147
- - vendor/jar-dependencies/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar
148
- - vendor/jar-dependencies/joda-time/joda-time/2.9.2/joda-time-2.9.2.jar
149
- - vendor/jar-dependencies/org/apache/httpcomponents/httpclient/4.5.5/httpclient-4.5.5.jar
150
- - vendor/jar-dependencies/org/apache/httpcomponents/httpcore/4.4.9/httpcore-4.4.9.jar
151
- - vendor/jar-dependencies/org/checkerframework/checker-compat-qual/2.5.2/checker-compat-qual-2.5.2.jar
152
- - vendor/jar-dependencies/org/codehaus/jackson/jackson-core-asl/1.9.11/jackson-core-asl-1.9.11.jar
153
- - vendor/jar-dependencies/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
154
- - vendor/jar-dependencies/org/threeten/threetenbp/1.3.3/threetenbp-1.3.3.jar
167
+ - vendor/jar-dependencies/com/google/code/gson/gson/2.8.7/gson-2.8.7.jar
168
+ - vendor/jar-dependencies/com/google/errorprone/error_prone_annotations/2.8.1/error_prone_annotations-2.8.1.jar
169
+ - vendor/jar-dependencies/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
170
+ - vendor/jar-dependencies/com/google/guava/guava/30.1.1-jre/guava-30.1.1-jre.jar
171
+ - vendor/jar-dependencies/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
172
+ - vendor/jar-dependencies/com/google/http-client/google-http-client-apache-v2/1.39.2/google-http-client-apache-v2-1.39.2.jar
173
+ - vendor/jar-dependencies/com/google/http-client/google-http-client-appengine/1.39.2/google-http-client-appengine-1.39.2.jar
174
+ - vendor/jar-dependencies/com/google/http-client/google-http-client-gson/1.39.2/google-http-client-gson-1.39.2.jar
175
+ - vendor/jar-dependencies/com/google/http-client/google-http-client-jackson2/1.39.2/google-http-client-jackson2-1.39.2.jar
176
+ - vendor/jar-dependencies/com/google/http-client/google-http-client/1.39.2/google-http-client-1.39.2.jar
177
+ - vendor/jar-dependencies/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar
178
+ - vendor/jar-dependencies/com/google/oauth-client/google-oauth-client/1.31.5/google-oauth-client-1.31.5.jar
179
+ - vendor/jar-dependencies/com/google/protobuf/protobuf-java-util/3.17.3/protobuf-java-util-3.17.3.jar
180
+ - vendor/jar-dependencies/com/google/protobuf/protobuf-java/3.17.3/protobuf-java-3.17.3.jar
181
+ - vendor/jar-dependencies/io/grpc/grpc-context/1.39.0/grpc-context-1.39.0.jar
182
+ - vendor/jar-dependencies/io/opencensus/opencensus-api/0.28.0/opencensus-api-0.28.0.jar
183
+ - vendor/jar-dependencies/io/opencensus/opencensus-contrib-http-util/0.28.0/opencensus-contrib-http-util-0.28.0.jar
184
+ - vendor/jar-dependencies/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar
185
+ - vendor/jar-dependencies/org/checkerframework/checker-qual/3.8.0/checker-qual-3.8.0.jar
186
+ - vendor/jar-dependencies/org/logstash/inputs/plugin/0.12.0/plugin-0.12.0.jar
187
+ - vendor/jar-dependencies/org/threeten/threetenbp/1.5.1/threetenbp-1.5.1.jar
188
+ - version
155
189
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
156
190
  licenses:
157
191
  - Apache-2.0
@@ -174,13 +208,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
208
  - !ruby/object:Gem::Version
175
209
  version: '0'
176
210
  requirements: []
177
- rubyforge_project:
178
- rubygems_version: 2.6.13
211
+ rubygems_version: 3.1.6
179
212
  signing_key:
180
213
  specification_version: 4
181
214
  summary: Plugin to import log data from Google Cloud Storage (GCS).
182
215
  test_files:
183
216
  - spec/fixtures/credentials.json
217
+ - spec/fixtures/gzip/simple.gz
218
+ - spec/fixtures/gzip/simple.gz.log
219
+ - spec/fixtures/gzip/simple.gzip
220
+ - spec/fixtures/gzip/simple.log
221
+ - spec/fixtures/gzip/simple.log.gz
222
+ - spec/fixtures/gzip/simple.tgz
223
+ - spec/fixtures/gzip/simpledir.gz/log
224
+ - spec/fixtures/gzip/simplegz
184
225
  - spec/fixtures/helloworld.log
185
226
  - spec/fixtures/helloworld.log.gz
186
227
  - spec/inputs/cloud_storage/blob_adapter_spec.rb