logstash/x-pack
Ry Biesemeyer 8d5e4ffab0 x-pack monitoring: prevent failures to emit metrics events before agent started
Before the monitoring pipeline is started, it is not possible to emit events
from the metrics input; not only is the `agent` nil (resulting in a cryptic
`NoMethodError` when we attempt to get its `ephemeral_id`), but the `queue`
will also be `nil` until the `run` method is invoked.

Instead, start the poller once we are sent `run` and are guaranteed to have a
`queue` on which to put the events; when the snapshot poller is running, skip
any invocations before `agent` is available.

Resolves: elastic/logstash#9462

Fixes #9627
2018-07-05 20:57:02 +00:00
..
ci Migrate x-pack-logstash source to logstash 2018-04-24 10:45:08 -05:00
docs/en/release-notes [DOCS] Moves management folder to docs (#9680) 2018-05-30 09:29:15 -07:00
lib x-pack monitoring: prevent failures to emit metrics events before agent started 2018-07-05 20:57:02 +00:00
modules Migrate x-pack-logstash source to logstash 2018-04-24 10:45:08 -05:00
qa/integration Correctly start x-pack trial on ES 2018-05-16 14:25:57 +00:00
spec Load tests via JUnit (backport of 2ea154a2 to 6.3) (#9579) 2018-05-15 14:57:07 -05:00
src/test/java/org/logstash/xpack/test Load tests via JUnit (backport of 2ea154a2 to 6.3) (#9579) 2018-05-15 14:57:07 -05:00
build.gradle Load tests via JUnit (backport of 2ea154a2 to 6.3) (#9579) 2018-05-15 14:57:07 -05:00
CHANGELOG.md Migrate x-pack-logstash source to logstash 2018-04-24 10:45:08 -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:45:08 -05:00
settings.gradle Load tests via JUnit (backport of 2ea154a2 to 6.3) (#9579) 2018-05-15 14:57:07 -05: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