logstash-output-otlp 0.3.0-java → 0.4.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b45418815bd93907d6a20f57c7ed6930a922a3059fc1f1b518d5596ef6327489
4
- data.tar.gz: b206a084850614cc87e633124e649c0cbf21626386be854d853673e76f4c2b70
3
+ metadata.gz: b24e513890928f71eca2dcd570375a9fcf6068dc65fcfa30b0f03136db4dadf9
4
+ data.tar.gz: 5d78f24d3dd7aa36b4b8f22e7c11ad39cdba10f93b50792e3999729e6415b396
5
5
  SHA512:
6
- metadata.gz: 506856dffe5803af7a0e6b5080837fc2cd593664636b3edf8f18825ad1ccb3ef85ff00dfe9a61edeae5110ed89a08db2d4e1f7369319ea32915a2617d7d1099e
7
- data.tar.gz: 0fa4b96687b2645ab213ecb2f91ac9a5f2a3e703b0d11d3eeb28c667f8d6cfb52bd9674287c307a7be907be9423fa671007fddd44298b1b3025f6a0b57c25e47
6
+ metadata.gz: 2e4cf1cdd065ebce38b2348a534ef454cccd101f6985b3ce1b0884e1523345f1f3d9434827c633f3ba0a11a36f0a0e320d04b2458af75898c0d9fe80d8168f7a
7
+ data.tar.gz: 026055dbf4da1c1058b487f76acb4527569e123aeee389d483ea1e67cb66328cd357e6371f975fd0bb15e599d76f98bfa15d15d7b27f702c58cb85c73b5d0d47
data/README.md CHANGED
@@ -24,7 +24,7 @@ All other fields are attached as Attributes.
24
24
  `logstash-plugin install logstash-output-otlp`
25
25
 
26
26
  ## Usage
27
-
27
+ ### Basic
28
28
  ```
29
29
  input {
30
30
  generator {
@@ -45,21 +45,69 @@ output {
45
45
  }
46
46
  ```
47
47
 
48
+ ### TLS with Otel Collector + SelfSigned Certificate
49
+ ```
50
+ input {
51
+ generator {
52
+ count => 10
53
+ add_field => {
54
+ "log.level" => "WARN"
55
+ "trace.id" => "5b8aa5a2d2c872e8321cf37308d69df2"
56
+ "span.id" => "051581bf3cb55c13"
57
+ }
58
+ }
59
+ }
60
+ output {
61
+ otlp {
62
+ endpoint => "https://otel:4317"
63
+ protocol => "grpc"
64
+ compression => "none"
65
+ ssl_certificate_authorities => "/etc/otel/ca.crt"
66
+ }
67
+ }
68
+ ```
69
+
70
+ ### TLS with Tls Verification Disabled
71
+ ```
72
+ input {
73
+ generator {
74
+ count => 10
75
+ add_field => {
76
+ "log.level" => "WARN"
77
+ "trace.id" => "5b8aa5a2d2c872e8321cf37308d69df2"
78
+ "span.id" => "051581bf3cb55c13"
79
+ }
80
+ }
81
+ }
82
+ output {
83
+ otlp {
84
+ endpoint => "https://otel:4317"
85
+ protocol => "grpc"
86
+ compression => "none"
87
+ ssl_disable_tls_verification => true
88
+ }
89
+ }
90
+ ```
91
+
48
92
  ## Options
49
93
 
50
- | Setting | Input Type | Required |
51
- |:--|:--|:--|
52
- | endpoint | [uri](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#uri) | Yes |
53
- | endpoint_type | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string) | No (Deprecated) |
54
- | protocol | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string), one of ["grpc", "http"] | No |
55
- | compression | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string), one of ["gzip", "none"] | No |
56
- | resource | [Hash](https://www.elastic.co/guide/en/logstash/latest/configuration-file-structure.html#hash) | No |
57
- | body | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
58
- | name | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
59
- | severity_text | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
60
- | trace_id | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
61
- | span_id | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
62
- | trace_flags | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
94
+ | Setting | Input Type | Required |
95
+ |:-----------------------------|:--------------------------------------------------------------------------------------------------------------------------|:--|
96
+ | endpoint | [uri](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#uri) | Yes |
97
+ | endpoint_type | [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string) | No (Deprecated) |
98
+ | protocol | [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string), one of ["grpc", "http"] | No |
99
+ | compression | [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string), one of ["gzip", "none"] | No |
100
+ | connect_timeout | [long](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#number) | No |
101
+ | timeout | [long](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#number) | No |
102
+ | ssl_disable_tls_verification | [boolean](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string) | No |
103
+ | ssl_certificate_authorities | [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string) | No |
104
+ | resource | [Hash](https://www.elastic.co/guide/en/logstash/latest/configuration-file-structure.html#hash) | No |
105
+ | body | [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference) | No |
106
+ | name | [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference) | No |
107
+ | severity_text | [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference) | No |
108
+ | trace_id | [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference) | No |
109
+ | span_id | [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference) | No |
110
+ | trace_flags | [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference) | No |
63
111
 
64
112
  `endpoint`
65
113
 
@@ -73,20 +121,46 @@ An endpoint that supports otlp to which logs are sent.
73
121
 
74
122
  - Deprecated. Replaced with `protocol`.
75
123
 
124
+ `connect_timeout`
125
+
126
+ - Value type is [long](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#number)
127
+ - Default is: `10` (seconds)
128
+
129
+ `timeout`
130
+
131
+ - Value type is [long](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#number)
132
+ - Default is: `10` (seconds)
133
+
76
134
  `protocol`
77
135
 
78
- - Value type is [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string)
136
+ - Value type is [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string)
79
137
  - Default is: `grpc`
80
138
 
81
139
  Possible values are `grpc` or `http`
82
140
 
83
141
  `compression`
84
142
 
85
- - Value type is [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string)
143
+ - Value type is [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string)
86
144
  - Default is: `none`
87
145
 
88
146
  Possible values are `gzip` or `none`
89
147
 
148
+ `ssl_disable_tls_verification`
149
+
150
+ - Value type is [boolean](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string)
151
+ - Default is: `false`
152
+
153
+ Use this field when you want to disable tls certificate verification.
154
+ The `ssl_certificate_authorities` field is ignored.
155
+
156
+ `ssl_certificate_authorities`
157
+
158
+ - Value type is [string](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#string)
159
+ - Default is: `null`
160
+
161
+ Use this field when you want to add a CA certificate.
162
+ This field is ignored when `ssl_disable_tls_verification => true` is set.
163
+
90
164
  `resource`
91
165
 
92
166
  - Value type is [hash](https://www.elastic.co/guide/en/logstash/latest/configuration-file-structure.html#hash)
@@ -97,32 +171,32 @@ Hash values must be strings.
97
171
 
98
172
  `body`
99
173
 
100
- - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
174
+ - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference)
101
175
  - Default is `message`
102
176
 
103
177
  The field to reference as the [Otel Body field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-body).
104
178
 
105
179
  `severity_text`
106
180
 
107
- - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
181
+ - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference)
108
182
 
109
183
  The field to reference as the [Otel Severity Text field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-severitytext).
110
184
 
111
185
  `trace_id`
112
186
 
113
- - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
187
+ - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference)
114
188
 
115
189
  The field to reference as the [Otel Trace ID field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-traceid).
116
190
 
117
191
  `span_id`
118
192
 
119
- - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
193
+ - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference)
120
194
 
121
195
  The field to reference as the [Otel Span ID field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-spanid).
122
196
 
123
197
  `trace_flags`
124
198
 
125
- - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
199
+ - Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/8.12/configuration-file-structure.html#field-reference)
126
200
 
127
201
  The field to reference as the [Otel Trace Flags field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-traceflags).
128
202
 
@@ -136,4 +210,4 @@ The field to reference as the [Otel Trace Flags field](https://opentelemetry.io/
136
210
 
137
211
  ## Notes
138
212
 
139
- **Warning** This plugin depends on OpenTelemetry logging libraries are that are alpha quality.
213
+ **Warning** This plugin depends on OpenTelemetry logging libraries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.4.0
@@ -2,4 +2,4 @@
2
2
  # encoding: utf-8
3
3
 
4
4
  require 'jar_dependencies'
5
- require_jar('org.otlp', 'logstash-output-otlp', '0.3.0')
5
+ require_jar('org.otlp', 'logstash-output-otlp', '0.4.0')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-otlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: java
6
6
  authors:
7
7
  - Willian Marchan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-15 00:00:00.000000000 Z
11
+ date: 2025-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ files:
74
74
  - lib/logstash-output-otlp_jars.rb
75
75
  - lib/logstash/outputs/otlp.rb
76
76
  - logstash-output-otlp.gemspec
77
- - vendor/jar-dependencies/org/otlp/logstash-output-otlp/0.3.0/logstash-output-otlp-0.3.0.jar
77
+ - vendor/jar-dependencies/org/otlp/logstash-output-otlp/0.4.0/logstash-output-otlp-0.4.0.jar
78
78
  homepage: https://github.com/wjma90/logstash-output-otlp
79
79
  licenses:
80
80
  - Apache-2.0