Skip to content

Commit 7dcc6bb

Browse files
authored
[Doc]Fix default value for index and bump to v.10.4.0 (logstash-plugins#927)
* Fix index default value * Fix implementation and bump version
1 parent 1990db6 commit 7dcc6bb

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 10.4.0
2+
- Fixed default index value [#927](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/927)
3+
14
## 10.3.3
25
- [DOC] Replaced link to Elastic Cloud trial with attribute, and fixed a comma splice [#926](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/926)
36

docs/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ NOTE: `ilm_rollover_alias` does NOT support dynamic variable substitution as `in
501501
===== `index`
502502

503503
* Value type is <<string,string>>
504-
* Default value is `"logstash-%{+YYYY.MM.dd}"`
504+
* Default value is `"logstash-%{+yyyy.MM.dd}"`
505505

506506
The index to write events to. This can be dynamic using the `%{foo}` syntax.
507507
The default value will partition your indices by day so you can more easily

lib/logstash/outputs/elasticsearch/common_configs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module LogStash; module Outputs; class ElasticSearch
44
module CommonConfigs
55

6-
DEFAULT_INDEX_NAME = "logstash-%{+YYYY.MM.dd}"
6+
DEFAULT_INDEX_NAME = "logstash-%{+yyyy.MM.dd}"
77
DEFAULT_POLICY = "logstash-policy"
88
DEFAULT_ROLLOVER_ALIAS = 'logstash'
99

logstash-output-elasticsearch.gemspec

Lines changed: 1 addition & 1 deletion
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 = '10.3.3'
3+
s.version = '10.4.0'
44
s.licenses = ['apache-2.0']
55
s.summary = "Stores logs in Elasticsearch"
66
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)