sensu-plugins-elasticsearch 1.4.0 → 1.4.1

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
  SHA1:
3
- metadata.gz: 9b4b7956d75fed10e2ec31b024102d037cb8e43f
4
- data.tar.gz: 11881f4536d042ec379c0fb92f641cf370628da7
3
+ metadata.gz: 599c45c505813b0f4cedc04625d908997f1dd07f
4
+ data.tar.gz: f419a11fa51624afa6152ecf788aabb53abf1724
5
5
  SHA512:
6
- metadata.gz: 91e3c7d70b0794c9cb27ec934ccaf8e9428ef816f3deb790acb148f30f0c7da0ac0f2f2f410d23ffbc7f15eebf0249f1130ae67329663a2172d6cf16c2ae9f74
7
- data.tar.gz: b961e207fcb45f66ac6bbceb5a29054c988c620b9d8e9939dae7a63348fe31038545170a0e2d68e24fa19e805eaf9651781f272b0fbb11d37e77929eb5d76db0
6
+ metadata.gz: 3e0f1782b1a25fec8eda540e82136709503846d10940a7c12a64e0aa09359b519f80b57a1173ce615f2efd37c3723637f7fe0d0b9b2ab9a0fa6c2c4175ffa08e
7
+ data.tar.gz: e36e42d3c79b0000a1aaa96c6ea20153ab2386941c01c0a046ed69cf35b3f654a7950a816872bc9efea56c7ea93d090efc6d1102da9dba5429376ef0431a9666
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
6
  ## [Unreleased]
7
+
8
+ ## [1.4.1] - 2017-07-13
9
+ ### Fixed
10
+ - use timestamp_field from config for sorting in Kibana (@osgida)
11
+
7
12
  ## [1.4.0] - 2017-07-04
8
13
  ### Added
9
14
  - added ruby 2.4 testing (@majormoses)
@@ -159,7 +164,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
159
164
  ### Added
160
165
  - initial release
161
166
 
162
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.0...HEAD
167
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.1...HEAD
168
+ [1.4.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.0...1.4.1
163
169
  [1.4.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.1...1.4.0
164
170
  [1.3.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.0...1.3.1
165
171
  [1.3.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.2.0...1.3.0
@@ -240,7 +240,7 @@ class ESQueryRatio < Sensu::Plugin::Check::CLI
240
240
  "#{URI.escape(Time.at(start_time).utc.strftime kibana_date_format)}',mode:absolute,to:'" \
241
241
  "#{URI.escape(Time.at(end_time).utc.strftime kibana_date_format)}'))&_a=(columns:!(_source),index:" \
242
242
  "#{URI.escape(index)},interval:auto,query:(query_string:(analyze_wildcard:!t,query:'" \
243
- "#{URI.escape(config[:query])}')),sort:!('@timestamp',desc))&dummy"
243
+ "#{URI.escape(config[:query])}')),sort:!('#{config[:timestamp_field]}',desc))&dummy"
244
244
  end
245
245
  end
246
246
 
@@ -2,7 +2,7 @@ module SensuPluginsElasticsearch
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-04 00:00:00.000000000 Z
11
+ date: 2017-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client