logstash-output-otlp 0.3.1-java → 0.4.1-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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0b4ae29dd86f905523f1006a3905b8ad070561c15f6e22182f2d491c8514f21
|
|
4
|
+
data.tar.gz: 7a478ccd5900321a808e70d376f2b195a55cfdf7b3b098bd6981809e01aba013
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9bebda4830993cb9d8e0a6c016d66926122d1248e4a9fabf1174e012de7d65f575390b8f74dee702e15fb7a977e5081134a56f0d830bf878ae4ae9e38e74851
|
|
7
|
+
data.tar.gz: 11cf466c4149fee2adad4d24f128ee59908a479a568bfec63caebd52ee3172db74517c96058e108ca378910d277d06f6d226c010c50f572099c0a4bea9439db9
|
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
|
|
51
|
-
|
|
52
|
-
| endpoint
|
|
53
|
-
| endpoint_type
|
|
54
|
-
| protocol
|
|
55
|
-
| compression
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|
|
213
|
+
**Warning** This plugin depends on OpenTelemetry logging libraries.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.4.1
|
|
Binary file
|
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.
|
|
4
|
+
version: 0.4.1
|
|
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-
|
|
11
|
+
date: 2025-10-30 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.
|
|
77
|
+
- vendor/jar-dependencies/org/otlp/logstash-output-otlp/0.4.1/logstash-output-otlp-0.4.1.jar
|
|
78
78
|
homepage: https://github.com/wjma90/logstash-output-otlp
|
|
79
79
|
licenses:
|
|
80
80
|
- Apache-2.0
|