Subject: CVS commit: pkgsrc/sysutils/beats
From: Filip Hajny
Date: 2017-03-30 17:37:12
Message id: 20170330153712.52EB9FBE4@cvs.NetBSD.org

Log Message:
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.

Files:
RevisionActionfile
1.6modifypkgsrc/sysutils/beats/Makefile
1.6modifypkgsrc/sysutils/beats/distinfo