Thu Mar 30 15:37:12 2017 UTC ()
Update sysutils/beats to 5.3.0.

==== Breaking changes

Affecting all Beats
- Configuration files must be owned by the user running the Beat or by
  root, and they must not be writable by others.
- Change Beat generator. Use
  `$GOPATH/src/github.com/elastic/beats/script/generate.py` to
  generate a beat.

Filebeat
- Always use absolute path for event and registry. This can lead to
  issues when relative paths were used before.

Metricbeat
- Linux cgroup metrics are now enabled by default for the system
  process metricset. The configuration option for the feature was
  renamed from `cgroups` to `process.cgroups.enabled`.
- Change field names `couchbase.node.couch.*.actual_disk_size.*` to
  `couchbase.node.couch.*.disk_size.*`

==== Bugfixes

Affecting all Beats
- Add `_id`, `_type`, `_index` and `_score` fields in the generated
  index pattern.

Filebeat
- Fix empty registry file on machine crash.

Metricbeat
- Add error handling to system process metricset for when Linux
  cgroups are missing from the kernel.
- Add labels to the Docker healthcheck metricset output.

Winlogbeat
- Fix handling of empty strings in event_data.

==== Added

Affecting all Beats
- Files created by Beats (logs, registry, file output) will have 0600
  permissions.
- RPM/deb packages will now install the config file with 0600
  permissions.
- Add the option to pass custom HTTP headers to the Elasticsearch
  output.
- Unify `regexp` and `contains` conditionals, for both to support
  array of strings and convert numbers to strings if required.
- Add the option to load the sample dashboards during the Beat startup
  phase.
- Disabled date detection in Elasticsearch index templates. Date
  fields must be explicitly defined in index templates.
- Using environment variables in the configuration file is now GA,
  instead of experimental.

Filebeat
- Add Filebeat modules for system, apache2, mysql, and nginx.
- Add the `pipeline` config option at the prospector level, for
  configuring the Ingest Node pipeline ID.
- Update regular expressions used for matching file names or lines
  (multiline, include/exclude functionality) to new matchers improving
  performance of simple string matches.
- The `symlinks` and `harverster_limit` settings are now GA, instead
  of experimental.
- close_timeout is also applied when the output is blocking.
- Improve handling of different path variants on Windows.

Metricbeat
- Add experimental dbstats metricset to MongoDB module.
- Use persistent, direct connections to the configured nodes for
  MongoDB module.
- Add dynamic configuration reloading for modules.
- Add docker health metricset
- Add docker image metricset
- System module uses new matchers for white-listing processes.
- Add Beta CEPH module with health metricset.
- Add Beta php_fpm module with pool metricset.
- The Docker, Kafka, and Prometheus modules are now Beta, instead of
  experimental.
- The HAProxy module is now GA, instead of experimental.
- Add the ability to collect the environment variables from system
  processes.

==== Deprecated

Affecting all Beats
- Usage of field `_type` is deprecated. It should not be used in
  queries or dashboards.

Filebeat
- The experimental `publish_async` option is now deprecated and is
  planned to be removed in 6.0.


(fhajny)
diff -r1.5 -r1.6 pkgsrc/sysutils/beats/Makefile
diff -r1.5 -r1.6 pkgsrc/sysutils/beats/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/sysutils/beats/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/beats/Makefile 2017/03/01 14:21:27 1.5
+++ pkgsrc/sysutils/beats/Makefile 2017/03/30 15:37:12 1.6
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.5 2017/03/01 14:21:27 fhajny Exp $ 1# $NetBSD: Makefile,v 1.6 2017/03/30 15:37:12 fhajny Exp $
2# 2#
3 3
4DISTNAME= beats-5.2.2 4DISTNAME= beats-5.3.0
5CATEGORIES= sysutils 5CATEGORIES= sysutils
6MASTER_SITES= ${MASTER_SITE_GITHUB:=elastic/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=elastic/}
7GITHUB_PROJECT= beats 7GITHUB_PROJECT= beats
8GITHUB_TAG= v${PKGVERSION_NOREV} 8GITHUB_TAG= v${PKGVERSION_NOREV}
9 9
10MAINTAINER= filip@joyent.com 10MAINTAINER= filip@joyent.com
11HOMEPAGE= https://www.elastic.co/products/beats 11HOMEPAGE= https://www.elastic.co/products/beats
12COMMENT= Data Shippers for Elasticsearch 12COMMENT= Data Shippers for Elasticsearch
13LICENSE= apache-2.0 13LICENSE= apache-2.0
14 14
15.include "../../lang/go/version.mk" 15.include "../../lang/go/version.mk"
16BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go 16BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go
17 17

cvs diff -r1.5 -r1.6 pkgsrc/sysutils/beats/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/beats/distinfo 2017/03/01 14:21:27 1.5
+++ pkgsrc/sysutils/beats/distinfo 2017/03/30 15:37:12 1.6
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.5 2017/03/01 14:21:27 fhajny Exp $ 1$NetBSD: distinfo,v 1.6 2017/03/30 15:37:12 fhajny Exp $
2 2
3SHA1 (beats-5.2.2.tar.gz) = 579eec6f2e8b99c70073e9719757c617fbc7130a 3SHA1 (beats-5.3.0.tar.gz) = ddb0078752db59d59096e269c90371eacafc403e
4RMD160 (beats-5.2.2.tar.gz) = f749832da0e55be4167471aa6cff5fee9e9df3fc 4RMD160 (beats-5.3.0.tar.gz) = 040079cd2cc12bac96d7fcfea5b53fdd090ef1b7
5SHA512 (beats-5.2.2.tar.gz) = 7cf54eb0b27d830e51bf97964f078874eae62e1d9642fb598cdd2f0a405db4a74e1f299c5e57e29a67cfea209b9b3c7f38bdcbe6b2e2885285b77615236971c1 5SHA512 (beats-5.3.0.tar.gz) = 898e7f885360377190daf916ff023abff61e28eaa536a155dd65a7cde076218e3252697bac476a31ff89ef9c38afa77549637731c10b7f3243e591258a88686d
6Size (beats-5.2.2.tar.gz) = 16489808 bytes 6Size (beats-5.3.0.tar.gz) = 17586311 bytes
7SHA1 (patch-vendor_github.com_tsg_gopacket_pcap_pcap.go) = 2ef13f84cbf2e1da428e7b08625ffa6111ebcdf5 7SHA1 (patch-vendor_github.com_tsg_gopacket_pcap_pcap.go) = 2ef13f84cbf2e1da428e7b08625ffa6111ebcdf5