logstash-output-elasticsearch_java-shield 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dcb1efd086479467913aa3fa09a1d6397494e4a0
4
+ data.tar.gz: 3c768ccfbdf2a0235e17f8fb255f993bb471e345
5
+ SHA512:
6
+ metadata.gz: e14355e28f19f3f8c7437b7942a971e899eb11b485529dcd8006acfa6053e45e47487877ca2904adb6964790af8d26ab3e70a78ee9ee94266cb2b3073a6fa74b
7
+ data.tar.gz: 2133d64fa88095fc94eb23fa83e5238ba22d2a27fe37d8a9673e6a818851426144db29581946c5da238bfc6cee7fc956ccae11eacfc3c5327e310ef71eb92a42
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # 2.0.0.beta1
2
+ - Update Shield jars to 2.0.0-rc1
3
+ - Changes to make Elasticsearch 2.0.0 compatible
4
+ # 1.0.1
5
+ - Update Shield jars to 1.3.0
6
+ - Update dependencies on `logstash-output-elasticsearch` ~> 1.0.0
7
+ - Clean the Gemfile
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,416 @@
1
+ SHIELD SOFTWARE LICENSE AGREEMENT
2
+
3
+ READ THIS AGREEMENT CAREFULLY, WHICH CONSTITUTES A LEGALLY BINDING AGREEMENT AND GOVERNS YOUR USE OF ELASTICSEARCH'S
4
+ SHIELD SOFTWARE. BY INSTALLING AND/OR USING THE SHIELD SOFTWARE, YOU ARE INDICATING THAT YOU AGREE TO THE TERMS AND
5
+ CONDITIONS SET FORTH IN THIS AGREEMENT. IF YOU DO NOT AGREE WITH SUCH TERMS AND CONDITIONS, YOU MAY NOT INSTALL OR USE
6
+ THE SHIELD SOFTWARE.
7
+
8
+ This SHIELD SOFTWARE LICENSE AGREEMENT (this "Agreement") is entered into by and between the applicable Elasticsearch
9
+ entity referred to in Attachment 1 below ("Elasticsearch") and the person or entity ("You") that has downloaded
10
+ Elasticsearch's Shield software to which this Agreement is attached ("Shield Software"). This Agreement is effective as
11
+ of the date an applicable ordering document ("Order Form") is entered into by Elasticsearch and You (the "Effective
12
+ Date").
13
+
14
+ 1. SOFTWARE LICENSE AND RESTRICTIONS
15
+
16
+ 1.1 License Grants.
17
+
18
+ (a) 30 Day Free Trial License. Subject to the terms and conditions of this Agreement, Elasticsearch agrees to grant,
19
+ and does hereby grant to You for a period of thirty (30) days from the Effective Date (the "Trial Term"), solely for
20
+ Your internal business operations, a limited, non-exclusive, non-transferable, fully paid up, right and license
21
+ (without the right to grant or authorize sublicenses) to: (i) install and use the object code version of the Shield
22
+ Software; (ii) use, and distribute internally a reasonable number of copies of the documentation, if any, provided with
23
+ the Shield Software ("Documentation"), provided that You must include on such copies all Elasticsearch trademarks, trade
24
+ names, logos and notices present on the Documentation as originally provided to You by Elasticsearch; (iii) permit third
25
+ party contractors performing services on Your behalf to use the Shield Software and Documentation as set forth in (i)
26
+ and (ii) above, provided that such use must be solely for Your benefit, and You shall be responsible for all acts and
27
+ omissions of such contractors in connection with their use of the Shield Software. For the avoidance of doubt, You
28
+ understand and agree that upon the expiration of the Trial Term, Your license to use the Shield Software will terminate,
29
+ unless you purchase a Qualifying Subscription (as defined below) for Elasticsearch support services.
30
+
31
+ (b) Fee-Bearing Production License. Subject to the terms and conditions of this Agreement and complete payment of any
32
+ and all applicable fees for a Gold or Platinum production subscription for support services for Elasticsearch open
33
+ source software (in each case, a "Qualifying Subscription"), Elasticsearch agrees to grant, and does hereby grant to You
34
+ during the term of the applicable Qualifying Subscription, and for the restricted scope of this Agreement, solely for
35
+ Your internal business operations, a limited, non-exclusive, non-transferable right and license (without the right to
36
+ grant or authorize sublicenses) to: (i) install and use the object code version of the Shield Software, subject to any
37
+ applicable quantitative limitations set forth in the applicable Order Form; (ii) use, and distribute internally a
38
+ reasonable number of copies of the Documentation, if any, provided with the Shield Software, provided that You must
39
+ include on such copies all Elasticsearch trademarks, trade names, logos and notices present on the Documentation as
40
+ originally provided to You by Elasticsearch; (iii) permit third party contractors performing services on Your behalf to
41
+ use the Shield Software and Documentation as set forth in (i) and (ii) above, provided that such use must be solely for
42
+ Your benefit, and You shall be responsible for all acts and omissions of such contractors in connection with their use
43
+ of the Shield Software.
44
+
45
+ 1.2 Reservation of Rights; Restrictions. As between Elasticsearch and You, Elasticsearch owns all right title and
46
+ interest in and to the Shield Software and any derivative works thereof, and except as expressly set forth in Section
47
+ 1.1 above, no other license to the Shield Software is granted to You by implication, estoppel or otherwise. You agree
48
+ not to: (i) prepare derivative works from, modify, copy or use the Shield Software in any manner except as expressly
49
+ permitted in this Agreement or applicable law; (ii) transfer, sell, rent, lease, distribute, sublicense, loan or
50
+ otherwise transfer the Shield Software in whole or in part to any third party; (iii) use the Shield Software for
51
+ providing time-sharing services, any software-as-a-service offering ("SaaS"), service bureau services or as part of an
52
+ application services provider or other service offering; (iv) alter or remove any proprietary notices in the Shield
53
+ Software; or (v) make available to any third party any analysis of the results of operation of the Shield Software,
54
+ including benchmarking results, without the prior written consent of Elasticsearch. The Shield Software may contain or
55
+ be provided with open source libraries, components, utilities and other open source software (collectively, "Open Source
56
+ Software"), which Open Source Software may have applicable license terms as identified on a website designated by
57
+ Elasticsearch or otherwise provided with the Shield Software or Documentation. Notwithstanding anything to the contrary
58
+ herein, use of the Open Source Software shall be subject to the license terms and conditions applicable to such Open
59
+ Source Software, to the extent required by the applicable licensor (which terms shall not restrict the license rights
60
+ granted to You hereunder, but may contain additional rights).
61
+
62
+ 1.3 Open Source. The Shield Software may contain or be provided with open source libraries, components, utilities and
63
+ other open source software (collectively, "Open Source"), which Open Source may have applicable license terms as
64
+ identified on a website designated by Elasticsearch or otherwise provided with the applicable Software or Documentation.
65
+ Notwithstanding anything to the contrary herein, use of the Open Source shall be subject to the applicable Open Source
66
+ license terms and conditions to the extent required by the applicable licensor (which terms shall not restrict the
67
+ license rights granted to You hereunder but may contain additional rights).
68
+
69
+ 1.4 Audit Rights. You agree that Elasticsearch shall have the right, upon five (5) business days' notice to You, to
70
+ audit Your use of the Shield Software for compliance with any quantitative limitations on Your use of the Shield
71
+ Software that are set forth in the applicable Order Form. You agree to provide Elasticsearch with the necessary access
72
+ to the Shield Software to conduct such an audit either (i) remotely, or (ii) if remote performance is not possible, at
73
+ Your facilities, during normal business hours and no more than one (1) time in any twelve (12) month period. In the
74
+ event any such audit reveals that You have used the Shield Software in excess of the applicable quantitative
75
+ limitations, You agree to promptly pay to Elasticsearch an amount equal to the difference between the fees actually paid
76
+ and the fees that You should have paid to remain in compliance with such quantitative limitations. This Section 1.3
77
+ shall survive for a period of two (2) years from the termination or expiration of this Agreement.
78
+
79
+ 2. TERM AND TERMINATION
80
+
81
+ 2.1 Term. This Agreement shall commence on the Effective Date, and shall continue in force for the license term set
82
+ forth in the applicable Order Form, unless earlier terminated under Section 2.2 below, provided, however, that if You do
83
+ not purchase a Qualifying Subscription prior to the expiration of the Trial Term, this Agreement will expire at the end
84
+ of the Trial Term.
85
+
86
+ 2.2 Termination. Either party may, upon written notice to the other party, terminate this Agreement for material
87
+ breach by the other party automatically and without any other formality, if such party has failed to cure such material
88
+ breach within thirty (30) days of receiving written notice of such material breach from the non-breaching party.
89
+ Notwithstanding the foregoing, this Agreement shall automatically terminate in the event that You intentionally breach
90
+ the scope of the license granted in Section 1.1 of this Agreement.
91
+
92
+ 2.3 Post Termination or Expiration. Upon termination or expiration of this Agreement, for any reason, You shall
93
+ promptly cease the use of the Shield Software and Documentation and destroy (and certify to Elasticsearch in writing the
94
+ fact of such destruction), or return to Elasticsearch, all copies of the Shield Software and Documentation then in Your
95
+ possession or under Your control.
96
+
97
+ 2.4 Survival. Sections 2.3, 2.4, 3, 4 and 5 shall survive any termination or expiration of this Agreement.
98
+
99
+ 3. DISCLAIMER OF WARRANTIES
100
+
101
+ TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, THE SHIELD SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
102
+ KIND, AND ELASTICSEARCH AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR STATUTORY REGARDING OR
103
+ RELATING TO THE SHIELD SOFTWARE OR DOCUMENTATION. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, ELASTICSEARCH
104
+ AND ITS LICENSORS SPECIFICALLY DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
105
+ NON-INFRINGEMENT WITH RESPECT TO THE SHIELD SOFTWARE AND DOCUMENTATION, AND WITH RESPECT TO THE USE OF THE FOREGOING.
106
+ FURTHER, ELASTICSEARCH DOES NOT WARRANT RESULTS OF USE OR THAT THE SHIELD SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF
107
+ THE SHIELD SOFTWARE WILL BE UNINTERRUPTED.
108
+
109
+ 4. LIMITATION OF LIABILITY
110
+
111
+ 4.1 Disclaimer of Certain Damages. IN NO EVENT SHALL YOU OR ELASTICSEARCH OR ITS LICENSORS BE LIABLE FOR ANY LOSS OF
112
+ PROFITS, LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
113
+ SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH OR ARISING OUT OF THE USE OR INABILITY TO
114
+ USE THE SHIELD SOFTWARE, OR THE PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A BREACH OF
115
+ CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF THE RESPONSIBLE PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
116
+ SUCH DAMAGES. THE LIMITATIONS OF LIABILITY SET FORTH IN THIS SECTION 4.1 SHALL NOT APPLY TO A BREACH THROUGH GROSS
117
+ NEGLIGENCE OR INTENTIONAL MISCONDUCT BY YOU OF THE SCOPE OF THE LICENSE GRANTED IN SECTION 1.1 OR TO ANY OTHER LIABILITY
118
+ THAT CANNOT BE EXCLUDED OR LIMITED UNDER APPLICABLE LAW.
119
+
120
+ 4.2 Damages Cap. IN NO EVENT SHALL ELASTICSEARCH'S OR ITS LICENSORS' AGGREGATE, CUMULATIVE LIABILITY UNDER THIS
121
+ AGREEMENT EXCEED THE AMOUNT YOU PAID, IN THE TWELVE (12) MONTHS IMMEDIATELY PRIOR TO THE EVENT GIVING RISE TO LIABILITY,
122
+ UNDER THE ELASTICSEARCH SUPPORT SERVICES AGREEMENT PURSUANT TO WHICH YOU PURCHASED THE QUALIFYING SUBSCRIPTION, PROVIDED
123
+ THAT IF YOU ARE USING THE SHIELD SOFTWARE UNDER A TRIAL LICENSE PURSUANT TO SECTION 1.1(a), IN NO EVENT SHALL
124
+ ELASTICSEARCH'S AGGREGATE, CUMULATIVE LIABILITY UNDER THIS AGREEMENT EXCEED ONE THOUSAND DOLLARS ($1,000).
125
+
126
+ 4.3 YOU AGREE THAT THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS ARE A REASONABLE ALLOCATION OF THE RISK
127
+ BETWEEN THE PARTIES AND WILL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS IN ITS
128
+ ESSENTIAL PURPOSE.
129
+
130
+ 5. MISCELLANEOUS
131
+
132
+ This Agreement, including Attachment 1 hereto, which is hereby incorporated herein by this reference, completely and
133
+ exclusively states the entire agreement of the parties regarding the subject matter herein, and it supersedes, and its
134
+ terms govern, all prior proposals, agreements, or other communications between the parties, oral or written, regarding
135
+ such subject matter. For the avoidance of doubt, the parties hereby expressly acknowledge and agree that if You issue
136
+ any purchase order or similar document in connection with its purchase of a license to the Shield Software, You will do
137
+ so only for Your internal, administrative purposes and not with the intent to provide any contractual terms. This
138
+ Agreement may not be modified except by a subsequently dated, written amendment that expressly amends this Agreement and
139
+ which is signed on behalf of Elasticsearch and You, by duly authorized representatives. If any provision(s) hereof is
140
+ held unenforceable, this Agreement will continue without said provision and be interpreted to reflect the original
141
+ intent of the parties.
142
+
143
+
144
+ ATTACHMENT 1
145
+
146
+ ADDITIONAL TERMS AND CONDITIONS
147
+
148
+ A. The following additional terms and conditions apply to all Customers with principal offices in the United States of
149
+ America:
150
+
151
+ (1) Applicable Elasticsearch Entity. The entity providing the license is Elasticsearch, Inc., a Delaware corporation.
152
+
153
+ (2) Government Rights. The Shield Software product is "Commercial Computer Software," as that term is defined in 48
154
+ (C.F.R. 2.101, and as the term is used in 48 C.F.R. Part 12, and is a Commercial Item comprised of "commercial computer
155
+ (software" and "commercial computer software documentation". If acquired by or on behalf of a civilian agency, the U.S.
156
+ (Government acquires this commercial computer software and/or commercial computer software documentation subject to the
157
+ (terms of this Agreement, as specified in 48 C.F.R. 12.212 Computer Software) and 12.211 Technical Data) of the Federal
158
+ (Acquisition Regulation "FAR") and its successors. If acquired by or on behalf of any agency within the Department of
159
+ (Defense "DOD"), the U.S. Government acquires this commercial computer software and/or commercial computer software
160
+ (documentation subject to the terms of the Elasticsearch Software License Agreement as specified in 48 C.F.R. 227.7202-3
161
+ (and 48 C.F.R. 227.7202-4 of the DOD FAR Supplement "DFARS") and its successors, and consistent with 48 C.F.R. 227.7202.
162
+ (This U.S. Government Rights clause, consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202 is in lieu of, and
163
+ (supersedes, any other FAR, DFARS, or other clause or provision that addresses Government rights in computer software,
164
+ (computer software documentation or technical data related to the Shield Software under this Agreement and in any
165
+ (Subcontract under which this commercial computer software and commercial computer software documentation is acquired or
166
+ (licensed.
167
+
168
+ (3) Export Control. You acknowledge that the goods, software and technology acquired from Elasticsearch are subject to
169
+ (U.S. export control laws and regulations, including but not limited to the International Traffic In Arms Regulations
170
+ ("ITAR") 22 C.F.R. Parts 120-130 2010)); the Export Administration Regulations "EAR") 15 C.F.R. Parts 730-774 2010));
171
+ (the U.S. antiboycott regulations in the EAR and U.S. Department of the Treasury regulations; the economic sanctions
172
+ (regulations and guidelines of the U.S. Department of the Treasury, Office of Foreign Assets Control, and the USA
173
+ (Patriot Act Title III of Pub. L. 107-56, signed into law October 26, 2001), as amended. You are now and will remain in
174
+ (the future compliant with all such export control laws and regulations, and will not export, re-export, otherwise
175
+ (transfer any Elasticsearch goods, software or technology or disclose any Elasticsearch software or technology to any
176
+ (person contrary to such laws or regulations. You acknowledge that remote access to the Shield Software may in certain
177
+ (circumstances be considered a re-export of Shield Software, and accordingly, may not be granted in contravention of
178
+ (U.S. export control laws and regulations.
179
+
180
+ (4) Governing Law. This Agreement will be governed by the laws of the State of California, without regard to its
181
+ (conflict of laws principles. This Agreement shall not be governed by the 1980 UN Convention on Contracts for the
182
+ (International Sale of Goods. All suits hereunder will be brought solely in Federal Court for the Northern District of
183
+ (California, or if that court lacks subject matter jurisdiction, in any California State Court located in Santa Clara
184
+ (County. The parties hereby irrevocably waive any and all claims and defenses either might otherwise have in any such
185
+ (action or proceeding in any of such courts based upon any alleged lack of personal jurisdiction, improper venue, forum
186
+ (non conveniens or any similar claim or defense.
187
+
188
+ B. The following additional terms and conditions apply to all Customers with principal offices in Canada:
189
+
190
+ (1) Applicable Elasticsearch Entity. The entity providing the license is Elasticsearch B.C. Ltd., a corporation
191
+ (incorporated under laws of the Province of British Columbia.
192
+
193
+ (2) Export Control. You acknowledge that the goods, software and technology acquired from Elasticsearch are subject to
194
+ the restrictions and controls set out in Section A(3) above as well as those imposed by the Export and Import Permits
195
+ Act (Canada) and the regulations thereunder and that you will comply with all applicable laws and regulations. Without
196
+ limitation, You acknowledge that the Marvel Software, or any portion thereof, will not be exported: (a) to any country
197
+ on Canada's Area Control List; (b) to any country subject to UN Security Council embargo or action; or (c) contrary to
198
+ Canada's Export Control List Item 5505. You are now and will remain in the future compliant with all such export control
199
+ laws and regulations, and will not export, re-export, otherwise transfer any Elasticsearch goods, software or technology
200
+ or disclose any Elasticsearch software or technology to any person contrary to such laws or regulations. You will not
201
+ export or re-export the Marvel Software, or any portion thereof, directly or indirectly, in violation of the Canadian
202
+ export administration laws and regulations to any country or end user, or to any end user who you know or have reason to
203
+ know will utilize them in the design, development or production of nuclear, chemical or biological weapons. You further
204
+ acknowledge that the Marvel Software product may include technical data subject to such Canadian export regulations.
205
+ Elasticsearch does not represent that the Marvel Software is appropriate or available for use in all countries.
206
+ Elasticsearch prohibits accessing materials from countries or states where contents are illegal. You are using the
207
+ Marvel Software on your own initiative and you are responsible for compliance with all applicable laws. You hereby agree
208
+ to indemnify Elasticsearch and its affiliates from any claims, actions, liability or expenses (including reasonable
209
+ lawyers' fees) resulting from Your failure to act in accordance with the acknowledgements, agreements, and
210
+ representations in this Section B(2).
211
+
212
+ (3) Governing Law and Dispute Resolution. This Agreement shall be governed by the Province of Ontario and the federal
213
+ laws of Canada applicable therein without regard to conflict of laws provisions. The parties hereby irrevocably waive
214
+ any and all claims and defenses either might otherwise have in any such action or proceeding in any of such courts based
215
+ upon any alleged lack of personal jurisdiction, improper venue, forum non conveniens or any similar claim or defense.
216
+ Any dispute, claim or controversy arising out of or relating to this Agreement or the existence, breach, termination,
217
+ enforcement, interpretation or validity thereof, including the determination of the scope or applicability of this
218
+ agreement to arbitrate, (each, a "Dispute"), which the parties are unable to resolve after good faith negotiations,
219
+ shall be submitted first to the upper management level of the parties. The parties, through their upper management level
220
+ representatives shall meet within thirty (30) days of the Dispute being referred to them and if the parties are unable
221
+ to resolve such Dispute within thirty (30) days of meeting, the parties agree to seek to resolve the Dispute through
222
+ mediation with ADR Chambers in the City of Toronto, Ontario, Canada before pursuing any other proceedings. The costs of
223
+ the mediator shall be shared equally by the parties. If the Dispute has not been resolved within thirty (30) days of the
224
+ notice to desire to mediate, any party may terminate the mediation and proceed to arbitration and the matter shall be
225
+ referred to and finally resolved by arbitration at ADR Chambers pursuant to the general ADR Chambers Rules for
226
+ Arbitration in the City of Toronto, Ontario, Canada. The arbitration shall proceed in accordance with the provisions of
227
+ the Arbitration Act (Ontario). The arbitral panel shall consist of three (3) arbitrators, selected as follows: each
228
+ party shall appoint one (1) arbitrator; and those two (2) arbitrators shall discuss and select a chairman. If the two
229
+ (2) party-appointed arbitrators are unable to agree on the chairman, the chairman shall be selected in accordance with
230
+ the applicable rules of the arbitration body. Each arbitrator shall be independent of each of the parties. The
231
+ arbitrators shall have the authority to grant specific performance and to allocate between the parties the costs of
232
+ arbitration (including service fees, arbitrator fees and all other fees related to the arbitration) in such equitable
233
+ manner as the arbitrators may determine. The prevailing party in any arbitration shall be entitled to receive
234
+ reimbursement of its reasonable expenses incurred in connection therewith. Judgment upon the award so rendered may be
235
+ entered in a court having jurisdiction or application may be made to such court for judicial acceptance of any award and
236
+ an order of enforcement, as the case may be. Notwithstanding the foregoing, Elasticsearch shall have the right to
237
+ institute an action in a court of proper jurisdiction for preliminary injunctive relief pending a final decision by the
238
+ arbitrator, provided that a permanent injunction and damages shall only be awarded by the arbitrator. The language to
239
+ be used in the arbitral proceedings shall be English.
240
+
241
+ (4) Language. Any translation of this Agreement is done for local requirements and in the event of a dispute between
242
+ (the English and any non-English version, the English version of this Agreement shall govern. At the request of the
243
+ (parties, the official language of this Agreement and all communications and documents relating hereto is the English
244
+ (language, and the English-language version shall govern all interpretation of the Agreement. Ë la demande des parties,
245
+ (la langue officielle de la prŽsente convention ainsi que toutes communications et tous documents s'y rapportant est la
246
+ (langue anglaise, et la version anglaise est celle qui rŽgit toute interprŽtation de la prŽsente convention.
247
+
248
+ (5) Disclaimer of Warranties. For Customers with principal offices in the Province of QuŽbec, the following new
249
+ (sentence is to be added to the end of Section 3: "SOME JURISDICTIONS DO NOT ALLOW LIMITATIONS OR EXCLUSIONS OF CERTAIN
250
+ (TYPES OF DAMAGES AND/OR WARRANTIES AND CONDITIONS. THE LIMITATIONS, EXCLUSIONS AND DISCLAIMERS SET FORTH IN THIS
251
+ (AGREEMENT SHALL NOT APPLY IF AND ONLY IF AND TO THE EXTENT THAT THE LAWS OF A COMPETENT JURISDICTION REQUIRE
252
+ (LIABILITIES BEYOND AND DESPITE THESE LIMITATIONS, EXCLUSIONS AND DISCLAIMERS."
253
+
254
+ (6) Limitation of Liability. For Customers with principal offices in the Province of QuŽbec, the following new
255
+ (sentence is to be added to the end of Section 4.1: "SOME JURISDICTIONS DO NOT ALLOW LIMITATIONS OR EXCLUSIONS OF
256
+ (CERTAIN TYPES OF DAMAGES AND/OR WARRANTIES AND CONDITIONS. THE LIMITATIONS, EXCLUSIONS AND DISCLAIMERS SET FORTH IN
257
+ (THIS AGREEMENT SHALL NOT APPLY IF AND ONLY IF AND TO THE EXTENT THAT THE LAWS OF A COMPETENT JURISDICTION REQUIRE
258
+ (LIABILITIES BEYOND AND DESPITE THESE LIMITATIONS, EXCLUSIONS AND DISCLAIMERS."
259
+
260
+ C. The following additional terms and conditions apply to all Customers with principal offices outside of the United
261
+ States of America and Canada:
262
+
263
+ (1) Applicable Elasticsearch Entity. The entity providing the license in Germany is Elasticsearch Gmbh; in France is
264
+ (Elasticsearch SARL, in the United Kingdom is Elasticsearch Ltd, in Australia is Elasticsearch Pty Ltd., in Japan is
265
+ (Elasticsearch KK, and in all other countries is Elasticsearch BV.
266
+
267
+ (2) Choice of Law. This Agreement shall be governed by and construed in accordance with the laws of the State of New
268
+ (York, without reference to or application of choice of law rules or principles. Notwithstanding any choice of law
269
+ (provision or otherwise, the Uniform Computer Information Transactions Act UCITA) and the United Nations Convention on
270
+ (the International Sale of Goods shall not apply.
271
+
272
+ (3) Arbitration. Any dispute, claim or controversy arising out of or relating to this Agreement or the existence,
273
+ (breach, termination, enforcement, interpretation or validity thereof, including the determination of the scope or
274
+ (applicability of this agreement to arbitrate, each, a "Dispute") shall be referred to and finally resolved by
275
+ (arbitration under the rules and at the location identified below. The arbitral panel shall consist of three 3)
276
+ (arbitrators, selected as follows: each party shall appoint one 1) arbitrator; and those two 2) arbitrators shall
277
+ (discuss and select a chairman. If the two party-appointed arbitrators are unable to agree on the chairman, the chairman
278
+ (shall be selected in accordance with the applicable rules of the arbitration body. Each arbitrator shall be independent
279
+ (of each of the parties. The arbitrators shall have the authority to grant specific performance and to allocate between
280
+ (the parties the costs of arbitration including service fees, arbitrator fees and all other fees related to the
281
+ (arbitration) in such equitable manner as the arbitrators may determine. The prevailing party in any arbitration shall
282
+ (be entitled to receive reimbursement of its reasonable expenses incurred in connection therewith. Judgment upon the
283
+ (award so rendered may be entered in a court having jurisdiction or application may be made to such court for judicial
284
+ (acceptance of any award and an order of enforcement, as the case may be. Notwithstanding the foregoing, Elasticsearch
285
+ (shall have the right to institute an action in a court of proper jurisdiction for preliminary injunctive relief pending
286
+ (a final decision by the arbitrator, provided that a permanent injunction and damages shall only be awarded by the
287
+ (arbitrator. The language to be used in the arbitral proceedings shall be English.
288
+
289
+ (a) In addition, the following terms only apply to Customers with principal offices within Europe, the Middle East or
290
+ (Africa EMEA):
291
+
292
+ Arbitration Rules and Location. Any Dispute shall be referred to and finally resolved by arbitration under the London
293
+ Court of International Arbitration ("LCIA") Rules (which Rules are deemed to be incorporated by reference into this
294
+ clause) on the basis that the governing law is the law of the State of New York, USA. The seat, or legal place, of
295
+ arbitration shall be London, England.
296
+
297
+ (b) In addition, the following terms only apply to Customers with principal offices within Asia Pacific, Australia &
298
+ (New Zealand:
299
+
300
+ Arbitration Rules and Location. Any Dispute shall be referred to and finally resolved by arbitration under the Rules of
301
+ Conciliation and Arbitration of the International Chamber of Commerce ("ICC") in force on the date when the notice of
302
+ arbitration is submitted in accordance with such Rules (which Rules are deemed to be incorporated by reference into this
303
+ clause) on the basis that the governing law is the law of the State of New York, USA. The seat, or legal place, of
304
+ arbitration shall be Singapore.
305
+
306
+ (c) In addition, the following terms only apply to Customers with principal offices within the Americas excluding North
307
+ (America):
308
+
309
+ Arbitration Rules and Location. Any Dispute shall be referred to and finally resolved by arbitration under
310
+ International Dispute Resolution Procedures of the American Arbitration Association ("AAA") in force on the date when
311
+ the notice of arbitration is submitted in accordance with such Procedures (which Procedures are deemed to be
312
+ incorporated by reference into this clause) on the basis that the governing law is the law of the State of New York,
313
+ USA. The seat, or legal place, of arbitration shall be New York, New York, USA.
314
+
315
+ (4) In addition, for Customers with principal offices within the UK, the following new sentence is added to the end of
316
+ (Section 4.1:
317
+
318
+ Nothing in this Agreement shall have effect so as to limit or exclude a party's liability for death or personal injury
319
+ caused by negligence or for fraud including fraudulent misrepresentation and this Section 4.1 shall take effect subject
320
+ to this provision.
321
+
322
+ (5) In addition, for Customers with principal offices within France, Sections 1.2, 3 and 4.1 of the Agreement are
323
+ (deleted and replaced with the following new Sections 1.2, 3 and 4.1:
324
+
325
+ 1.2 Reservation of Rights; Restrictions. Elasticsearch owns all right title and interest in and to the Shield Software
326
+ and any derivative works thereof, and except as expressly set forth in Section 1.1 above, no other license to the Shield
327
+ Software is granted to You by implication, or otherwise. You agree not to prepare derivative works from, modify, copy or
328
+ use the Shield Software in any manner except as expressly permitted in this Agreement; provided that You may copy the
329
+ Shield Software for archival purposes, only where such software is provided on a non-durable medium; and You may
330
+ decompile the Shield Software, where necessary for interoperability purposes and where necessary for the correction of
331
+ errors making the software unfit for its intended purpose, if such right is not reserved by Elasticsearch as editor of
332
+ the Shield Software. Pursuant to article L122-6-1 of the French intellectual property code, Elasticsearch reserves the
333
+ right to correct any bugs as necessary for the Shield Software to serve its intended purpose. You agree not to: (i)
334
+ transfer, sell, rent, lease, distribute, sublicense, loan or otherwise transfer the Shield Software in whole or in part
335
+ to any third party; (ii) use the Shield Software for providing time-sharing services, any software-as-a-service
336
+ offering ("SaaS"), service bureau services or as part of an application services provider or other service offering;
337
+ (iii) alter or remove any proprietary notices in the Shield Software; or (iv) make available to any third party any
338
+ analysis of the results of operation of the Shield Software, including benchmarking results, without the prior written
339
+ consent of Elasticsearch.
340
+
341
+ 3. DISCLAIMER OF WARRANTIES
342
+
343
+ TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, THE SHIELD SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
344
+ KIND, AND ELASTICSEARCH AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR STATUTORY REGARDING OR
345
+ RELATING TO THE SHIELD SOFTWARE OR DOCUMENTATION. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, ELASTICSEARCH
346
+ AND ITS LICENSORS SPECIFICALLY DISCLAIM ALL IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE
347
+ SHIELD SOFTWARE AND DOCUMENTATION, AND WITH RESPECT TO THE USE OF THE FOREGOING. FURTHER, ELASTICSEARCH DOES NOT
348
+ WARRANT RESULTS OF USE OR THAT THE SHIELD SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF THE SHIELD SOFTWARE WILL BE
349
+ UNINTERRUPTED.
350
+
351
+ 4.1 Disclaimer of Certain Damages. IN NO EVENT SHALL YOU OR ELASTICSEARCH OR ITS LICENSORS BE LIABLE FOR ANY LOSS OF
352
+ PROFITS, LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT OR
353
+ UNFORESEEABLE DAMAGES OF ANY KIND IN CONNECTION WITH OR ARISING OUT OF THE USE OR INABILITY TO USE THE SHIELD SOFTWARE,
354
+ OR THE PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A BREACH OF CONTRACT OR TORTIOUS CONDUCT,
355
+ INCLUDING NEGLIGENCE. THE LIMITATIONS OF LIABILITY SET FORTH IN THIS SECTION 4.1 SHALL NOT APPLY TO A BREACH, THROUGH
356
+ GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT BY YOU, OF THE SCOPE OF THE LICENSE GRANTED IN SECTION 1.1, OR IN CASE OF
357
+ DEATH OR PERSONAL INJURY.
358
+
359
+ (6) In addition, for Customers with principal offices within Australia, Sections 4.1, 4.2 and 4.3 of the Agreement are
360
+ (deleted and replaced with the following new Sections 4.1, 4.2 and 4.3:
361
+
362
+ 4.1 Disclaimer of Certain Damages. Subject to clause 4.3, a party is not liable for Consequential Loss however caused
363
+ (including by the negligence of that party) suffered or incurred by the other party in connection with this agreement.
364
+ "Consequential Loss" means loss of revenues, loss of reputation, indirect loss, loss of profits, consequential loss,
365
+ loss of actual or anticipated savings, indirect loss, lost opportunities, including opportunities to enter into
366
+ arrangements with third parties, loss or damage in connection with claims against by third parties, or loss or
367
+ corruption or data.
368
+
369
+ 4.2 Damages Cap. SUBJECT TO CLAUSES 4.1 AND 4.3, ANY LIABILITY OF ELASTICSEARCH FOR ANY LOSS OR DAMAGE, HOWEVER CAUSED
370
+ (INCLUDING BY THE NEGLIGENCE OF ELASTICSEARCH), SUFFERED BY YOU IN CONNECTION WITH THIS AGREEMENT IS LIMITED TO THE
371
+ AMOUNT YOU PAID, IN THE TWELVE (12) MONTHS IMMEDIATELY PRIOR TO THE EVENT GIVING RISE TO LIABILITY, UNDER THE
372
+ ELASTICSEARCH SUPPORT SERVICES AGREEMENT IN CONNECTION WITH WHICH YOU OBTAINED THE LICENSE TO USE THE SHIELD SOFTWARE.
373
+ THE LIMITATION SET OUT IN THIS SECTION 4.2 IS AN AGGREGATE LIMIT FOR ALL CLAIMS, WHENEVER MADE.
374
+
375
+ 4.3 Limitation and Disclaimer Exceptions. If the Competition and Consumer Act 2010 (Cth) or any other legislation or
376
+ any other legislation states that there is a guarantee in relation to any good or service supplied by Elasticsearch in
377
+ connection with this agreement, and Elasticsearch's liability for failing to comply with that guarantee cannot be
378
+ excluded but may be limited, Sections 4.1 and 4.2 do not apply to that liability and instead Elasticsearch's liability
379
+ for such failure is limited (at Elasticsearch's election) to, in the case of a supply of goods, the Elasticsearch
380
+ replacing the goods or supplying equivalent goods or repairing the goods, or in the case of a supply of services,
381
+ Elasticsearch supplying the services again or paying the cost of having the services supplied again.
382
+
383
+ (7) In addition, for Customers with principal offices within Japan, Sections 1.2, 3 and 4.1 of the Agreement are
384
+ (deleted and replaced with the following new Sections 1.2, 3 and 4.1:
385
+
386
+ 1.2 Reservation of Rights; Restrictions. As between Elasticsearch and You, Elasticsearch owns all right title and
387
+ interest in and to the Shield Software and any derivative works thereof, and except as expressly set forth in Section
388
+ 1.1 above, no other license to the Shield Software is granted to You by implication or otherwise. You agree not to: (i)
389
+ prepare derivative works from, modify, copy or use the Shield Software in any manner except as expressly permitted in
390
+ this Agreement or applicable law; (ii) transfer, sell, rent, lease, distribute, sublicense, loan or otherwise transfer
391
+ the Shield Software in whole or in part to any third party; (iii) use the Shield Software for providing time-sharing
392
+ services, any software-as-a-service offering ("SaaS"), service bureau services or as part of an application services
393
+ provider or other service offering; (iv) alter or remove any proprietary notices in the Shield Software; or (v) make
394
+ available to any third party any analysis of the results of operation of the Shield Software, including benchmarking
395
+ results, without the prior written consent of Elasticsearch.
396
+
397
+ 3. DISCLAIMER OF WARRANTIES TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, THE SHIELD SOFTWARE IS PROVIDED "AS
398
+ IS" WITHOUT WARRANTY OF ANY KIND, AND ELASTICSEARCH AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR
399
+ STATUTORY REGARDING OR RELATING TO THE SHIELD SOFTWARE OR DOCUMENTATION. TO THE MAXIMUM EXTENT PERMITTED UNDER
400
+ APPLICABLE LAW, ELASTICSEARCH AND ITS LICENSORS SPECIFICALLY DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
401
+ FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE SHIELD SOFTWARE AND DOCUMENTATION, AND WITH RESPECT TO
402
+ THE USE OF THE FOREGOING. FURTHER, ELASTICSEARCH DOES NOT WARRANT RESULTS OF USE OR THAT THE SHIELD SOFTWARE WILL BE
403
+ ERROR FREE OR THAT THE USE OF THE SHIELD SOFTWARE WILL BE UNINTERRUPTED.
404
+
405
+ 4.1 Disclaimer of Certain Damages. IN NO EVENT SHALL YOU OR ELASTICSEARCH OR ITS LICENSORS BE LIABLE FOR ANY LOSS OF
406
+ PROFITS, LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY
407
+ SPECIALINDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH OR ARISING OUT OF THE USE
408
+ OR INABILITY TO USE THE SHIELD SOFTWARE, OR THE PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS
409
+ A BREACH OF CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF THE RESPONSIBLE PARTY HAS BEEN ADVISED OF THE
410
+ POSSIBILITY OF SUCH DAMAGES. THE LIMITATIONS OF LIABILITY SET FORTH IN THIS SECTION 4.1 SHALL NOT APPLY TO A BREACH
411
+ THROUGH GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT BY YOU OF THE SCOPE OF THE LICENSE GRANTED IN SECTION 1.1 OR TO ANY
412
+ OTHER LIABILITY THAT CANNOT BE EXCLUDED OR LIMITED UNDER APPLICABLE LAW.
413
+
414
+
415
+
416
+
data/README.md ADDED
@@ -0,0 +1,50 @@
1
+ ## Using transport client to connect to Shield
2
+
3
+ 1. build gem:
4
+
5
+ `gem build logstash-output-elasticsearch-shield.gemspec`
6
+
7
+ 2. clone logstash:
8
+
9
+ `git clone https://github.com/elasticsearch/logstash.git`
10
+
11
+ 3. install gem and other plugins in the logstash dir:
12
+
13
+ ```
14
+ cd logstash
15
+ rake bootstrap
16
+ bin/plugin install logstash-output-elasticsearch
17
+ bin/plugin install /tmp/logstash-output-elasticsearch-shield-0.1.5.gem
18
+ # install other needed plugins
19
+ bin/plugin install logstash-input-generator
20
+ bin/plugin install logstash-output-stdout
21
+ bin/plugin install logstash-codec-rubydebug
22
+ ```
23
+
24
+ 4. create a config file
25
+
26
+ ```
27
+ input {
28
+ generator { count => 1 }
29
+ }
30
+ output {
31
+ elasticsearch {
32
+ host => "node01"
33
+ protocol => "transport"
34
+ node_name => "logstash"
35
+ cluster => "themess"
36
+ user => "logstash"
37
+ password => "lsdata"
38
+ ssl => true
39
+ truststore => "/tmp/truststore.jks"
40
+ truststore_password => "test"
41
+ keystore => "/tmp/node02keystore.jks"
42
+ keystore_password => "test"
43
+ }
44
+ stdout { codec => rubydebug }
45
+ }
46
+ ```
47
+
48
+ 5. run logstash
49
+
50
+ `bin/logstash -f shield.conf`
@@ -0,0 +1,5 @@
1
+ # encoding: utf-8
2
+ require 'logstash/environment'
3
+
4
+ root_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
5
+ LogStash::Environment.load_jars! File.join(root_dir, "vendor/*.jar")
@@ -0,0 +1,68 @@
1
+ require "logstash/outputs/elasticsearch_java"
2
+ require "logstash-output-elasticsearch_java-shield_jars"
3
+
4
+ module LogStash::Outputs::ElasticSearchJava::Shield
5
+ def self.included(base)
6
+ base.extend(ClassMethods)
7
+ base.create_options
8
+ base.branch_client_options
9
+ end
10
+
11
+ def self.create_client_config(arg); {}; end
12
+
13
+ module ClassMethods
14
+ def create_options
15
+ # Enable shield SSL
16
+ config :ssl, :validate => :boolean, :default => false
17
+
18
+ # Use the specified JKS keystore
19
+ config :keystore, :validate => :path
20
+
21
+ # Set the keystore password
22
+ config :keystore_password, :validate => :password
23
+
24
+ # Set the truststore path
25
+ config :truststore, :validate => :path
26
+
27
+ # Set the truststore password
28
+ config :truststore_password, :validate => :password
29
+
30
+ # Shield user
31
+ config :user, :validate => :string
32
+
33
+ # Shield password
34
+ config :password, :validate => :password
35
+ end
36
+
37
+ def branch_client_options
38
+ alias_method :original_client_options, :client_options
39
+ define_method(:client_options) do
40
+ shield_settings = { }
41
+
42
+ if @ssl
43
+ shield_settings['shield.transport.ssl'] = "true"
44
+
45
+ if @keystore
46
+ shield_settings['shield.ssl.keystore.path'] = @keystore if @keystore
47
+ shield_settings['shield.ssl.keystore.password'] = @keystore_password.value if @keystore_password
48
+ end
49
+
50
+ if @truststore
51
+ shield_settings['shield.transport.ssl.truststore.path'] = @truststore if @truststore
52
+ shield_settings['shield.transport.ssl.truststore.password'] = @truststore_password.value if @truststore_password
53
+ end
54
+ end
55
+
56
+ if @user && @password
57
+ shield_settings["shield.user"] = "#{@user}:#{@password.value}"
58
+ end
59
+
60
+ new_client_options = original_client_options
61
+ new_client_options[:client_settings].merge!(shield_settings)
62
+ new_client_options
63
+ end
64
+ end
65
+ end
66
+ end
67
+
68
+ LogStash::Outputs::ElasticSearchJava.instance_eval{ include LogStash::Outputs::ElasticSearchJava::Shield }
@@ -0,0 +1,27 @@
1
+ Gem::Specification.new do |s|
2
+
3
+ s.name = 'logstash-output-elasticsearch_java-shield'
4
+ s.version = '1.0.0.rc1'
5
+ s.licenses = ['SHIELD SOFTWARE LICENSE AGREEMENT']
6
+ s.summary = "Shield plugin for the Elasticsearch Output"
7
+ s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
8
+ s.authors = ["Elastic"]
9
+ s.email = 'info@elastic.co'
10
+ s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
11
+ s.require_paths = ["lib"]
12
+
13
+ # Files
14
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
15
+
16
+ # Tests
17
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
+
19
+ # Special flag to let us know this is actually a logstash plugin
20
+ s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
+
22
+ # Gem dependencies
23
+ s.add_runtime_dependency 'logstash-output-elasticsearch_java', ['>= 1.0.0', "< 2.0.0"]
24
+
25
+ s.add_development_dependency 'logstash-devutils', '~> 0.0.18'
26
+ s.add_development_dependency 'logstash-codec-plain'
27
+ end
@@ -0,0 +1,9 @@
1
+ shield.http.ssl: true
2
+ shield.transport.ssl.truststore.path: /Users/andrewvc/Downloads/elasticsearch-2.0.0-beta2-shield/config/truststore.jks
3
+ shield.transport.ssl.truststore.password: testeteste
4
+ shield.ssl.keystore.path: /Users/andrewvc/Downloads/elasticsearch-2.0.0-beta2-shield/config/keystore.jks
5
+ shield.ssl.keystore.password: testeteste
6
+
7
+ shield.audit.enabled: true
8
+ transport.profiles.client.shield.ssl.client.auth: false
9
+ shield.transport.filter.enabled: false
@@ -0,0 +1,44 @@
1
+ require "logstash/devutils/rspec/spec_helper"
2
+ require "logstash/plugin"
3
+ require "logstash/outputs/elasticsearch/shield"
4
+
5
+ ssl_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", "ssl"))
6
+
7
+ describe LogStash::Outputs::ElasticSearchJava::Shield do
8
+ describe "integrations", :integration do
9
+ let(:event) { LogStash::Event.new("message" => "some message") }
10
+ subject { LogStash::Outputs::ElasticSearchJava.new(config) }
11
+ let(:es_client) { subject.client.send(:client) }
12
+
13
+ before do
14
+ subject.register
15
+ end
16
+
17
+ shared_examples "a connected client" do
18
+ it "should be able to execute an api action against the cluster without error" do
19
+ subject.client.send(:client).admin.cluster.prepareNodesInfo.execute.actionGet.nodes_map
20
+ expect do
21
+
22
+ end.not_to raise_error
23
+ end
24
+ end
25
+
26
+ context "with password auth" do
27
+ let(:config) do
28
+ {
29
+ "hosts" => ["127.0.0.1"],
30
+ "network_host" => "127.0.0.1",
31
+ "ssl" => true,
32
+ "user" => "bobbytables",
33
+ "password" => "abc123",
34
+ "keystore" => "#{ssl_dir}/keystore.jks",
35
+ "keystore_password" => "testeteste",
36
+ #"keystore" => "keystore.jks",
37
+ #"keystore_password" => "testeteste"
38
+ }
39
+ end
40
+
41
+ include_examples("a connected client")
42
+ end
43
+ end
44
+ end
Binary file
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDcjCCAtugAwIBAgIJAKEMahwWILoNMA0GCSqGSIb3DQEBBQUAMIGDMR8wHQYD
3
+ VQQKExZFbGFzdGljc2VhcmNoI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NvotQEcmxV9EPkwUD
19
+ BlViqwcjQEkO7+rNIK28x4TIFXCUdirlp8UqG5+zJu7CeOImOLTDZbNnc3rPG9dn
20
+ ORILJeJS33Hve4ZaYHGsi/+IUz2nUA==
21
+ -----END CERTIFICATE-----
Binary file
@@ -0,0 +1,48 @@
1
+ Certificate:
2
+ Data:
3
+ Version: 1 (0x0)
4
+ Serial Number: 3 (0x3)
5
+ Signature Algorithm: sha1WithRSAEncryption
6
+ Issuer: O=Elasticsearch Test Org/emailAddress=joaoduarte@elastic.co, L=Amsterdam, ST=Amsterdam, C=NL
7
+ Validity
8
+ Not Before: Jan 8 18:07:52 2015 GMT
9
+ Not After : Jan 8 18:07:52 2016 GMT
10
+ Subject: C=NL, ST=Amsterdam, O=Elasticsearch Test Org, CN=localhost
11
+ Subject Public Key Info:
12
+ Public Key Algorithm: rsaEncryption
13
+ RSA Public Key: (1024 bit)
14
+ Modulus (1024 bit):
15
+ 00:9c:93:0f:af:83:88:06:3a:3c:46:77:f9:76:ce:
16
+ f5:e2:ec:1b:9b:9e:bc:90:99:99:76:0f:c9:d8:56:
17
+ f0:25:93:ba:0f:29:4c:52:e4:0e:c0:82:04:7d:ca:
18
+ fd:27:98:24:fa:25:51:d5:7b:84:73:8e:29:fe:28:
19
+ 2f:b1:e7:a2:1b:14:64:c0:ac:2f:9c:72:29:ee:1f:
20
+ b6:06:dd:73:1b:36:6e:62:a0:c6:df:52:52:da:c9:
21
+ 8f:ea:83:61:25:41:25:8e:5d:28:bc:ea:0e:44:d5:
22
+ 01:d7:12:03:ea:e2:ab:8e:2b:4b:4a:4b:16:0f:cc:
23
+ 53:b5:bf:b1:94:97:71:67:27
24
+ Exponent: 65537 (0x10001)
25
+ Signature Algorithm: sha1WithRSAEncryption
26
+ 09:ab:e4:d1:ac:37:18:16:e1:ee:d0:00:b8:be:b0:57:b7:0b:
27
+ f4:ca:ac:c2:fa:f1:d7:a4:63:58:e4:60:68:4d:4e:d6:a5:08:
28
+ d9:2b:5b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file
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: logstash-output-elasticsearch_java-shield
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.rc1
5
+ platform: ruby
6
+ authors:
7
+ - Elastic
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '>='
17
+ - !ruby/object:Gem::Version
18
+ version: 1.0.0
19
+ - - <
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0
22
+ name: logstash-output-elasticsearch_java
23
+ prerelease: false
24
+ type: :runtime
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 2.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ~>
37
+ - !ruby/object:Gem::Version
38
+ version: 0.0.18
39
+ name: logstash-devutils
40
+ prerelease: false
41
+ type: :development
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 0.0.18
47
+ - !ruby/object:Gem::Dependency
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ name: logstash-codec-plain
54
+ prerelease: false
55
+ type: :development
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
62
+ email: info@elastic.co
63
+ executables: []
64
+ extensions: []
65
+ extra_rdoc_files: []
66
+ files:
67
+ - CHANGELOG.md
68
+ - Gemfile
69
+ - LICENSE
70
+ - README.md
71
+ - lib/logstash-output-elasticsearch_java-shield_jars.rb
72
+ - lib/logstash/outputs/elasticsearch_java/shield.rb
73
+ - logstash-output-elasticsearch_java-shield.gemspec
74
+ - spec/elasticsearch.yml
75
+ - spec/outputs/shield_spec.rb
76
+ - spec/ssl/alttruststore.jks
77
+ - spec/ssl/cacert.pem
78
+ - spec/ssl/keystore.jks
79
+ - spec/ssl/localhost.cert.pem
80
+ - spec/ssl/localhost.key.pem
81
+ - spec/ssl/localhost.pkcs12
82
+ - spec/ssl/truststore.jks
83
+ - vendor/elasticsearch-shield-1.3.2.jar
84
+ homepage: http://www.elastic.co/guide/en/logstash/current/index.html
85
+ licenses:
86
+ - SHIELD SOFTWARE LICENSE AGREEMENT
87
+ metadata:
88
+ logstash_plugin: 'true'
89
+ logstash_group: output
90
+ post_install_message:
91
+ rdoc_options: []
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>'
102
+ - !ruby/object:Gem::Version
103
+ version: 1.3.1
104
+ requirements: []
105
+ rubyforge_project:
106
+ rubygems_version: 2.4.8
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: Shield plugin for the Elasticsearch Output
110
+ test_files:
111
+ - spec/elasticsearch.yml
112
+ - spec/outputs/shield_spec.rb
113
+ - spec/ssl/alttruststore.jks
114
+ - spec/ssl/cacert.pem
115
+ - spec/ssl/keystore.jks
116
+ - spec/ssl/localhost.cert.pem
117
+ - spec/ssl/localhost.key.pem
118
+ - spec/ssl/localhost.pkcs12
119
+ - spec/ssl/truststore.jks