Skip to content

Commit

Permalink
Feat: add support for 'traces' data stream type (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrr committed Dec 27, 2021
1 parent fcb12ea commit 32db91b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 11.3.3
- Feat: add support for 'traces' data stream type [#1057](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1057)

## 11.3.2
- 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)
- Java causes on connection related exceptions will now be extra logged when plugin is logging at debug level
Expand Down
2 changes: 1 addition & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ overwritten with a warning.
* Default value is `logs`.

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

[id="plugins-{type}s-{plugin}-doc_as_upsert"]
===== `doc_as_upsert`
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/outputs/elasticsearch/data_stream_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def self.included(base)
# Defaults to `false` in Logstash 7.x and `auto` starting in Logstash 8.0.
base.config :data_stream, :validate => ['true', 'false', 'auto']

base.config :data_stream_type, :validate => ['logs', 'metrics', 'synthetics'], :default => 'logs'
base.config :data_stream_type, :validate => ['logs', 'metrics', 'synthetics', 'traces'], :default => 'logs'
base.config :data_stream_dataset, :validate => :dataset_identifier, :default => 'generic'
base.config :data_stream_namespace, :validate => :namespace_identifier, :default => 'default'

Expand Down
2 changes: 1 addition & 1 deletion logstash-output-elasticsearch.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'logstash-output-elasticsearch'
s.version = '11.3.2'
s.version = '11.3.3'

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

0 comments on commit 32db91b

Please sign in to comment.