Skip to content

Commit 32db91b

Browse files
authored
Feat: add support for 'traces' data stream type (#1057)
1 parent fcb12ea commit 32db91b

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 11.3.3
2+
- Feat: add support for 'traces' data stream type [#1057](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1057)
3+
14
## 11.3.2
25
- Refactor: review manticore error handling/logging, logging originating cause in case of connection related error when debug level is enabled [#1029](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1029)
36
- Java causes on connection related exceptions will now be extra logged when plugin is logging at debug level

docs/index.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ overwritten with a warning.
505505
* Default value is `logs`.
506506

507507
The data stream type used to construct the data stream at index time.
508-
Currently, only `logs`, `metrics` and `synthetics` are supported.
508+
Currently, only `logs`, `metrics`, `synthetics` and `traces` are supported.
509509

510510
[id="plugins-{type}s-{plugin}-doc_as_upsert"]
511511
===== `doc_as_upsert`

lib/logstash/outputs/elasticsearch/data_stream_support.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def self.included(base)
1818
# Defaults to `false` in Logstash 7.x and `auto` starting in Logstash 8.0.
1919
base.config :data_stream, :validate => ['true', 'false', 'auto']
2020

21-
base.config :data_stream_type, :validate => ['logs', 'metrics', 'synthetics'], :default => 'logs'
21+
base.config :data_stream_type, :validate => ['logs', 'metrics', 'synthetics', 'traces'], :default => 'logs'
2222
base.config :data_stream_dataset, :validate => :dataset_identifier, :default => 'generic'
2323
base.config :data_stream_namespace, :validate => :namespace_identifier, :default => 'default'
2424

logstash-output-elasticsearch.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-output-elasticsearch'
3-
s.version = '11.3.2'
3+
s.version = '11.3.3'
44

55
s.licenses = ['apache-2.0']
66
s.summary = "Stores logs in Elasticsearch"

0 commit comments

Comments
 (0)