Skip to content

Commit

Permalink
[Doc]Fix default value for index and bump to v.10.4.0 (#927)
Browse files Browse the repository at this point in the history
* Fix index default value

* Fix implementation and bump version
  • Loading branch information
karenzone committed Mar 26, 2020
1 parent 1990db6 commit 7dcc6bb
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 @@
## 10.4.0
- Fixed default index value [#927](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/927)

## 10.3.3
- [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)

Expand Down
2 changes: 1 addition & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ NOTE: `ilm_rollover_alias` does NOT support dynamic variable substitution as `in
===== `index`

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

The index to write events to. This can be dynamic using the `%{foo}` syntax.
The default value will partition your indices by day so you can more easily
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/outputs/elasticsearch/common_configs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module LogStash; module Outputs; class ElasticSearch
module CommonConfigs

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

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 = '10.3.3'
s.version = '10.4.0'
s.licenses = ['apache-2.0']
s.summary = "Stores logs in Elasticsearch"
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"
Expand Down

0 comments on commit 7dcc6bb

Please sign in to comment.