Commit graph

14 commits

Author SHA1 Message Date
Ry Biesemeyer
ddb1ed17c2
Product origin headers to Logstash-controlled Elasticsearch clients (#13563) (#13623)
* add product origin header to license checks

* add origin header to Central Management config fetcher

* add origin header to ES output for Monitoring pipeline

(cherry picked from commit 2892964ba1)
2022-01-14 08:10:28 -08:00
kaisecheng
aba562e887
[backport 7x] hash function of pipeline config with metadata (#12425)
add metadata in the hash function

Fixed #12387
2020-11-09 15:36:50 +01:00
kaisecheng
958ffa71f0
add wildcard support in xpack pipeline id (#12370) (#12407)
add wildcard support in xpack pipeline id
do the pattern matching with glob
add warning msg to wildcard with legacy api
check invalid pipeline in bootstrap
test cases for invalid checking

Fixed: #10558
2020-11-03 18:51:52 +01:00
kaisecheng
a93d454688 replace direct access of hidden indices with system indices api (#12279)
* replace direct hidden indices access with system indices api

* fulfill backward compatibility

* fix log msg, rename class, simplify response handling

* modularise fetcher
2020-10-06 21:27:28 +02:00
andsel
c6795731f1 Backport to 7.x of PR #11824
Refactor: move PipelineConfig from Ruby to Java

Reimplement the Ruby class PipelinceConfig in Java trying to keep the method signatures to limit the changes in client code, this is a step of other that intend to move all the configuration code in Java language.
Having all that code in Java unlock some reasoning about how to better implement it and probably an improvement in performance during process startup.
Moved also the spec into a JUnit and fixed here and there the failing tests

Closes: #11824
2020-06-26 00:20:43 -07:00
Colin Surprenant
5e62c96c19
add support for api_key authentication in xpack management and monitoring. (#11953)
7.x backport of #11864
2020-06-03 10:57:36 -04:00
Karol Bucek
3a1194edc5
Feat: x-pack cloud id/auth for monitoring/management (#11496)
resolves #11488
2020-01-14 21:35:32 +01:00
Joao Duarte
df3abef89f introduce enterprise license level
Fixes #11407
2019-12-10 12:31:16 +00:00
Jake Landis
7ca98d3410 Central management typeless API
This commit adopts Elasticsearch's typeless API for central management.

Relates: https://github.com/elastic/elasticsearch/issues/3863

Fixes #10421
2019-03-07 16:19:17 +00:00
João Duarte
fe7607abd4
only start monitoring pipeline after valid license (#10106)
Avoid unecessary logging errors and resource usage by only starting
the monitoring pipeline if we can validate the license.
2018-11-07 17:28:48 +00:00
Shaunak Kashyap
6a895a417e
Revert "[X-Pack Monitoring] Report pipeline protocol (#9516)" (#9568)
This reverts commit dc168a10b5.
2018-05-14 07:51:54 -07:00
Shaunak Kashyap
dc168a10b5
[X-Pack Monitoring] Report pipeline protocol (#9516)
* Add getter for pipeline protocol

* Refactoring: extract bare string into constant

* Report pipeline protocol to Monitoring as part of logstash_state docs

* Report all protocols, not just first one

* Refactoring: rename constant to be more descriptive

* De-dupe protocols list before sending to monitoring

* Checking for single protocol

* Adding missing require

This was being masked and was uncovered when this test suite was run by itself

* Raising error if multiple protocols are specified

* Adding back comma
2018-05-11 13:30:42 -07:00
Dan Hermann
5b576f96d4 Port Logger and SlowLogger to Java
Fixes #9520
2018-05-03 22:21:32 +00:00
Jenkins CI
93cad10da1 Migrate x-pack-logstash source to logstash 2018-04-24 10:46:15 -05:00