logstash/x-pack
Andrea Selva d4fb06e498
Introduce a new flag to explicitly permit legacy monitoring (#16586)
Introduce a new flag setting `xpack.monitoring.allow_legacy_collection` which eventually enable the legacy monitoring collector.

Update the method to test if monitoring is enabled so that consider also `xpack.monitoring.allow_legacy_collection` to determine if `monitoring.*` settings are valid or not.
By default it's false, the user has to intentionally enable it to continue to use the legacy monitoring settings.


---------

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-11-19 08:52:28 +01:00
..
ci Clean up left over scripts after CI migration (#15926) 2024-02-12 11:26:28 +02:00
lib Introduce a new flag to explicitly permit legacy monitoring (#16586) 2024-11-19 08:52:28 +01:00
modules remove deprecated modules netflow, fb_apache and azure (#16514) 2024-10-15 14:03:53 +01:00
qa/integration Introduce a new flag to explicitly permit legacy monitoring (#16586) 2024-11-19 08:52:28 +01:00
spec Introduce a new flag to explicitly permit legacy monitoring (#16586) 2024-11-19 08:52:28 +01:00
src/test/java/org/logstash/xpack/test Refactor: drop redundant (jruby-complete.jar) dependency (#13159) 2022-02-02 06:55:26 +01:00
build.gradle Update junit 4 13 (#16138) 2024-05-03 13:49:16 -07:00
CHANGELOG.md Migrate x-pack-logstash source to logstash 2018-04-24 10:46:15 -05:00
gradle.properties Defensively mark x-pack as a distributed artifact 2018-05-15 19:42:31 +00:00
README.md Migrate x-pack-logstash source to logstash 2018-04-24 10:46:15 -05:00
settings.gradle Load tests via JUnit 2018-05-15 16:15:39 +00:00

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.

Logstash X-Pack

Set of plugins that form Logstash X-Pack features.

Setup

Logstash X-Pack features are a default part of Logstash; as X-Pack features provide integrations with the rest of the Elastic Stack, they will need to be configured to point to an Elasticsearch instance in order to work.

Opting Out of X-Pack

If you are unable or unwilling to run the Elastic-Licensed X-Pack Features and Functions, OSS-only distributions are available from the downloads page; to run Logstash from source without X-Pack, ensure that your environment variable OSS is exported with a value of true:

export OSS=true

Configuration

To configure x-pack settings, you can edit config/logstash.yml and add xpack.* configs from the logstash x-pack settings.

Building documentation

This repo contains information that is used in the Logstash Reference.

To build the Logstash Reference on your local machine, use the docbldls or docbldlsx build commands defined in https://github.com/elastic/docs/blob/master/doc_build_aliases.sh