Martijn van Groningen
ad3eb997c6
reset me
...
Original commit: elastic/x-pack-elasticsearch@3d44c14cd9
2017-09-25 08:52:51 +02:00
Jason Tedor
b4f7d56c35
Whitelist global checkpoint sync actions
...
This commit whitelists the global checkpoint sync actions as otherwise
these actions do not have privileges to run as the system user and will
be denied as unauthorized.
Relates elastic/x-pack-elasticsearch#2604
Original commit: elastic/x-pack-elasticsearch@598ae1ff50
2017-09-22 16:27:51 -04:00
Tim Brooks
6b2e7fbed8
Add api to upgrade from basic to trial license ( elastic/x-pack-elasticsearch#2419 )
...
This is related to elastic/x-pack-elasticsearch#1941 .
Currently we support self-generating either a basic or trial license at
cluster startup. With the addition of the basic option, it is possible
that a user would choose to self-generate and eventually register a
basic license.
This commit allows a user to upgrade to a 30-day trial license if they
have not already utilized this 30-day trial license before. Additionally
it adds a get route to check if the user is eligible to upgrade. This
route will allow kibana to implement a cleaner UI.
Original commit: elastic/x-pack-elasticsearch@7f19b33a08
2017-09-22 14:18:07 -06:00
Lisa Cawley
b55ab98914
[DOCS] Formatted role mapping API ( elastic/x-pack-elasticsearch#2576 )
...
* [DOCS] Formatted role mapping API
* [DOCS] Addressed feedback in role mapping API
Original commit: elastic/x-pack-elasticsearch@baba26c8ed
2017-09-22 10:40:20 -07:00
Lisa Cawley
3a6cba7bc9
[DOCS] Formatted roles API ( elastic/x-pack-elasticsearch#2577 )
...
* [DOCS] Formatted roles API
* [DOCS] Addressed feedback about roles API
Original commit: elastic/x-pack-elasticsearch@414d06bc13
2017-09-22 10:24:20 -07:00
Lisa Cawley
445af3ecf5
[DOCS] Format the authenticate API ( elastic/x-pack-elasticsearch#2572 )
...
Original commit: elastic/x-pack-elasticsearch@bc486dc6be
2017-09-22 10:07:15 -07:00
Lisa Cawley
62fbd5a798
[DOCS] Format the clear cache API ( elastic/x-pack-elasticsearch#2574 )
...
* [DOCS] Format the clear cache API
* [DOCS] Fixed formatting in clear cache API
Original commit: elastic/x-pack-elasticsearch@705bd8e8cf
2017-09-22 10:04:38 -07:00
lcawley
85f7f9b2d1
[DOCS] Fix formatting in change password API
...
Original commit: elastic/x-pack-elasticsearch@acbe051abb
2017-09-22 10:01:49 -07:00
Lisa Cawley
3e68a89a45
[DOCS] Format change password API ( elastic/x-pack-elasticsearch#2573 )
...
Original commit: elastic/x-pack-elasticsearch@d1fc1a6116
2017-09-22 10:00:04 -07:00
Lisa Cawley
42f90b25e3
[DOCS] Format tokens API ( elastic/x-pack-elasticsearch#2578 )
...
* [DOCS] Format tokens API
* [DOCS] Cleaned up tokens API comment
Original commit: elastic/x-pack-elasticsearch@f818367c68
2017-09-22 09:56:32 -07:00
Lisa Cawley
5630ca6322
[DOCS] Formatted users API ( elastic/x-pack-elasticsearch#2579 )
...
Original commit: elastic/x-pack-elasticsearch@922ab6c279
2017-09-22 09:51:35 -07:00
Lisa Cawley
9c8b5fb98a
[DOCS] Formatted the privileges API ( elastic/x-pack-elasticsearch#2575 )
...
Original commit: elastic/x-pack-elasticsearch@9080eb9535
2017-09-22 09:46:09 -07:00
Tanguy Leroux
6957282b50
[Monitoring] Fix MonitoringIT on Windows
...
Original commit: elastic/x-pack-elasticsearch@7a835c179d
2017-09-22 18:21:44 +02:00
Lisa Cawley
ce7b473741
[DOCS] Added logstash_admin role ( elastic/x-pack-elasticsearch#2569 )
...
Original commit: elastic/x-pack-elasticsearch@259bbba6e5
2017-09-22 08:20:31 -07:00
Chris Earle
4cf8348209
[Monitoring] Remove Beats Support until wanted ( elastic/x-pack-elasticsearch#2592 )
...
This removes the creation and handling of the Beats monitoring template and its data until we actually expect to support it (most likely 6.2 - 6.3).
Original commit: elastic/x-pack-elasticsearch@2dc8abbb37
2017-09-22 11:12:44 -04:00
Tal Levy
d9554955f2
make tribe-node-license validation assume snapshot context ( elastic/x-pack-elasticsearch#2589 )
...
Release tests were introduced that sets the `build.snapshot`
system property to `false` to mimic release builds. This invalidates
the hardcoded license signatures that were signed against the
integration test pub/priv keys. This commit modifies the
license-validation assertions to assume the test is running against
those test keys, and will be skipped/ignored when these assertions
fail (which should only occur with `build.snapshot=true`)
Original commit: elastic/x-pack-elasticsearch@871704a3af
2017-09-21 14:39:01 -07:00
David Kyle
0c96db0a1c
Fix summary_count_field -> summary_count_field_name typo ( elastic/x-pack-elasticsearch#2588 )
...
Original commit: elastic/x-pack-elasticsearch@689be8c33a
2017-09-21 16:46:13 +01:00
David Kyle
ce77b076ad
[ML] Adapt memory limit thresholds in test ( elastic/x-pack-elasticsearch#2581 )
...
* Adapt memory limit thresholds in test. Caused by elastic/machine-learning-cpp#305
Original commit: elastic/x-pack-elasticsearch@2984f35b2c
2017-09-21 12:52:31 +01:00
Albert Zaharovits
f435145060
Fixes Javadoc generation for @SuppressForb adnot ( elastic/x-pack-elasticsearch#2583 )
...
Original commit: elastic/x-pack-elasticsearch@75ce6ac028
2017-09-21 14:28:57 +03:00
Albert Zaharovits
a8ea4f2d90
Authz FieldExtractor support for TermInSet query ( elastic/x-pack-elasticsearch#2539 )
...
FieldExtractor for TermInSet query.
Closes : elastic/x-pack-elasticsearch#1104
Original commit: elastic/x-pack-elasticsearch@7a46361c86
2017-09-21 11:35:34 +03:00
Albert Zaharovits
6b51f5e6ca
Update BouncyCastle version from 1.55 to 1.58 ( elastic/x-pack-elasticsearch#2548 )
...
Update BouncyCastle version from 1.55 to 1.58
Requires regeneration of .project and .classpath files, e.g.
gradle cleanEclipse & gradle eclipse
Closes : elastic/x-pack-elasticsearch#2332
Original commit: elastic/x-pack-elasticsearch@5806fd4204
2017-09-21 11:30:42 +03:00
Albert Zaharovits
c84c48fa01
Usability improvement for the password bootstrap tool (reserved users) ( elastic/x-pack-elasticsearch#2444 )
...
Generate or prompt for passwords of the reserved users, validating strength
and typos, then issue change requests, keeping elastic user change request last.
Closes : elastic/x-pack-elasticsearch#2424
Original commit: elastic/x-pack-elasticsearch@1f827d393c
2017-09-21 11:26:28 +03:00
Tanguy Leroux
70687fbef3
[Tests] Add packaging tests for SSL/TLS communication ( elastic/x-pack-elasticsearch#2556 )
...
This commit adds a packaging test that uses the certgen tool
to set up a two nodes cluster that uses encrypted communication.
relates elastic/x-pack-elasticsearch#2485
Original commit: elastic/x-pack-elasticsearch@6d2e3c5cd0
2017-09-21 10:12:07 +02:00
Tanguy Leroux
34bd72e69b
[Monitoring] Remove monitoring resolvers ( elastic/x-pack-elasticsearch#2566 )
...
Now all monitoring documents are indexed in timestamped indices dedicated
to each product, the old monitoring's resolvers and all the associated plumbing
can be removed from the Elasticsearch monitoring plugin.
This pull request merges the feature branch feature/monitoring-summer-cleanup
into master. All commits have been independently reviewed as part of elastic/x-pack-elasticsearch#2226 :
* [Monitoring] Clean up monitoring doc (elastic/x-pack-elasticsearch#2208 )
* [Monitoring] Remove ClusterStatsResolver (elastic/x-pack-elasticsearch#2209 )
* [Monitoring] Remove IndexRecoveryResolver (elastic/x-pack-elasticsearch#2229 )
* [Monitoring] Remove JobStatsResolver (elastic/x-pack-elasticsearch#2230 )
* [Monitoring] Remove ShardsResolver (elastic/x-pack-elasticsearch#2233 )
* [Monitoring] Fix missing instanceof in exporter bulks
* [Monitoring] Remove NodeStatsResolver (elastic/x-pack-elasticsearch#2244 )
* [Monitoring] Remove IndexStatsResolver & IndicesStatsResolver (elastic/x-pack-elasticsearch#2247 )
* [Monitoring] Remove source node attributes and add timestamp (elastic/x-pack-elasticsearch#2285 )
* [Monitoring] Remove last resolver (elastic/x-pack-elasticsearch#2330 )
* [Monitoring] Make MonitoringDoc an abstract class (elastic/x-pack-elasticsearch#2451 )
* [Monitoring] Fix TransportMonitoringBulkActionTests
* [Monitoring] Remove old resolver tests and add a single integration test (elastic/x-pack-elasticsearch#2453 )
It does not introduce any new feature, so it could also go in 6.0.
relates elastic/x-pack-elasticsearch#2226
Original commit: elastic/x-pack-elasticsearch@e3d5cec28c
2017-09-21 09:36:03 +02:00
Tim Sullivan
723d894753
[Monitoring/Cluster Alerts] Fix the email message when cluster license expiration is resolved ( elastic/x-pack-elasticsearch#2557 )
...
* [Monitoring/Cluster Alerts] Fix the email message for cluster license expiration resolved
* fix making payload.message show only when new
Original commit: elastic/x-pack-elasticsearch@6d54b02913
2017-09-20 15:44:14 -07:00
Igor Motov
4964239f4c
Tests: Remove AwaitsFix from TemplateUpgraderTests
...
I believe this problem should have been already fixed by elastic/elasticsearch#26698 .
Original commit: elastic/x-pack-elasticsearch@0ec93f2803
2017-09-20 14:12:24 -04:00
Dimitrios Athanasiou
a5e8589b38
[ML][TEST] Add integ test for elastic/x-pack-elasticsearch#2519
...
Relates elastic/x-pack-elasticsearch#2519
Original commit: elastic/x-pack-elasticsearch@91b38a62bb
2017-09-20 18:59:34 +01:00
lcawley
57f987b3b2
[DOCS] Added index-shared4 and index-shared5.asciidoc
...
Original commit: elastic/x-pack-elasticsearch@ef407e2677
2017-09-20 10:53:40 -07:00
lcawley
0ec98e0190
[DOCS] Fixed broken Kibana link
...
Original commit: elastic/x-pack-elasticsearch@10db543680
2017-09-20 09:30:02 -07:00
Lisa Cawley
8f1984a86e
[DOCS] Enable read-only access for kibana_system user ( elastic/x-pack-elasticsearch#2465 )
...
Original commit: elastic/x-pack-elasticsearch@a262acb1b0
2017-09-20 09:25:58 -07:00
Dimitris Athanasiou
fad98d784f
[ML] Align aggregated data extraction to histogram interval ( elastic/x-pack-elasticsearch#2553 )
...
When the datafeed uses aggregations and in order to accommodate
derivatives, an extra bucket is queried at the beginning of each
search. In order to avoid visiting the same bucket twice, we need
to search buckets aligned to the histogram interval. This allows
us to steer away from partial buckets, and thus avoid the problem
of dropping or duplicating data.
relates elastic/x-pack-elasticsearch#2519
Original commit: elastic/x-pack-elasticsearch@e03dde5fea
2017-09-20 16:45:06 +01:00
Hendrik Muhs
3c517902f2
re-enable categorization IT ( elastic/x-pack-elasticsearch#2534 )
...
re-enables categorization IT after fixing https://github.com/elastic/machine-learning-cpp/issues/279 upstream
Original commit: elastic/x-pack-elasticsearch@398a668125
2017-09-20 11:39:37 +02:00
Yannick Welsch
8648153f0e
Deguice ActionFilter ( elastic/x-pack-elasticsearch#2533 )
...
Companion PR to elastic/elasticsearch#26691
Original commit: elastic/x-pack-elasticsearch@3fceb54809
2017-09-20 10:30:23 +02:00
Tal Levy
8b1021ccad
blacklist two license rest tests when build.snapshot=false ( elastic/x-pack-elasticsearch#2559 )
...
There are two rest tests that rely on hardcoded license
signatures that use the dev public key. These tests fail
when tests are run with build.snapshot=false. This Commit
blacklists these two tests in that scenario
relates elastic/x-pack-elasticsearch#2527 .
Original commit: elastic/x-pack-elasticsearch@7581e8d699
2017-09-19 16:56:11 -07:00
lcawley
af2b2ca542
[DOCS] Add random default datafeed query delay
...
Original commit: elastic/x-pack-elasticsearch@d886f09192
2017-09-19 09:54:11 -07:00
Nik Everett
ea66433899
Mark periodically failing test as AwaitsFix
...
This should reduce our build failure emails. The failure is already
tracked at https://github.com/elastic/x-pack-elasticsearch/issues/2421 .
It isn't actively being worked but will be soon.
Original commit: elastic/x-pack-elasticsearch@6baf55de42
2017-09-19 09:59:26 -04:00
David Roberts
67055877a5
[ML] Avoid creating spurious 0 "actual" values for model plot documents ( elastic/x-pack-elasticsearch#2535 )
...
Some model plot documents should not have an "actual" value, for example
when no input events were seen for a meean/min/max detector in a particular
bucket. Prior to this change we would set the "actual" value to 0 for such
model plot documents. Following this change no "actual" value will be
present in these documents.
Only newly created model plot documents are affected. Model plot documents
that were incorrectly written in the past will remain wrong forever.
relates elastic/x-pack-elasticsearch#2528
Original commit: elastic/x-pack-elasticsearch@47a7365f59
2017-09-19 10:30:43 +01:00
Tanguy Leroux
0aef18333f
Add packaging test for bootstrap password setup ( elastic/x-pack-elasticsearch#2509 )
...
relates elastic/x-pack-elasticsearch#2388
Original commit: elastic/x-pack-elasticsearch@cc750155d0
2017-09-19 10:07:39 +02:00
Tim Vernum
aec2308228
Allow AD realm to perform 'run-as' lookups ( elastic/x-pack-elasticsearch#2531 )
...
- Marks the AD Session factory as supporting "lookup" (Refer: elastic/x-pack-elasticsearch@40b07b3 )
- Adds "pool.enabled" as a registered setting on AD realm (Refer: elastic/x-pack-elasticsearch@40b07b3 )
- Fixes LDAP user lookup that has been broken since 6.x (Refer: elastic/x-pack-elasticsearch@f796949 )
Original commit: elastic/x-pack-elasticsearch@62ff6129a1
2017-09-19 14:50:26 +10:00
Lisa Cawley
4ffaec5173
[DOCS] Remove redundant certgen info ( elastic/x-pack-elasticsearch#2542 )
...
Original commit: elastic/x-pack-elasticsearch@6147e32fd1
2017-09-18 14:22:34 -07:00
Lisa Cawley
679ef6a744
[DOCS] Added _xpack_security internal user ( elastic/x-pack-elasticsearch#2541 )
...
Original commit: elastic/x-pack-elasticsearch@d1c87af335
2017-09-18 13:32:11 -07:00
Tal Levy
5a090c14c1
convert more request objects to writeable ( elastic/x-pack-elasticsearch#2457 )
...
* convert more to writeable
* migrate streamable tests to writeable tests
Original commit: elastic/x-pack-elasticsearch@56794e5760
2017-09-18 13:20:02 -07:00
Suyog Rao
3a9aad5ece
[Logstash] Remove version field from config mgmt
...
relates elastic/x-pack-elasticsearch#2405
Original commit: elastic/x-pack-elasticsearch@5bfd1b7a6d
2017-09-18 12:35:21 -07:00
lcawley
3ff175b541
[DOCS] Remove old certgen examples
...
Original commit: elastic/x-pack-elasticsearch@f97d0ab00c
2017-09-18 12:22:45 -07:00
Lisa Cawley
f71dc549a5
[DOCS] Update X-Pack installation re TLS changes ( elastic/x-pack-elasticsearch#2523 )
...
* [DOCS] Update xpack installation re TLS changes
* [DOCS] Clarify multi-node TLS requirement
Original commit: elastic/x-pack-elasticsearch@a961488fa1
2017-09-18 11:20:18 -07:00
Simon Willnauer
47214426e9
Use InputStreamStreamInputs validation to limit size of tokens ( elastic/x-pack-elasticsearch#2537 )
...
Relates to elastic/elasticsearch#26692
relates elastic/x-pack-elasticsearch#2493
Original commit: elastic/x-pack-elasticsearch@8e23868743
2017-09-18 19:25:08 +02:00
Lisa Cawley
371953488b
[DOCS] Create certgen command reference ( elastic/x-pack-elasticsearch#2456 )
...
* [DOCS] Create certgen command reference
* [DOCS] Added missing certgen parameters
* [DOCS] Finalized certgen command reference
Original commit: elastic/x-pack-elasticsearch@6d0b795eb4
2017-09-18 08:36:13 -07:00
Dimitris Athanasiou
9b25d0edf7
[ML] Correctly ignore extra aggregation buckets ( elastic/x-pack-elasticsearch#2530 )
...
The problem here is that the code was ignoring buckets
whose start time was before the start time of the extractor.
However, this is not a good enough condition. For example,
when there are no data in the bucket extra bucket that is
being queried, the first bucket will be the one containing
the start time.
This commit fixes the issue by changing the condition to
ignore buckets before the first bucket that includes the
start time of the extraction.
relates elastic/x-pack-elasticsearch#2519
Original commit: elastic/x-pack-elasticsearch@15c7d2655f
2017-09-18 12:10:19 +01:00
Tim Vernum
dea82a07a2
Infer KeyStore type from pathname ( elastic/x-pack-elasticsearch#2514 )
...
If the keystore type is not explicitly specified, infer it from the filename.
Treats .p12, .pfx and .pkcs12 as being PKCS12, all others as jks.
This will allow certgen to produce PKCSelastic/x-pack-elasticsearch#12 files by default and make it easy to use them as x-pack keystores
Original commit: elastic/x-pack-elasticsearch@fc361f0d87
2017-09-18 14:21:19 +10:00
Chris Earle
24c2c62ca2
[Monitoring] Ignore .marvel* indices ( elastic/x-pack-elasticsearch#2520 )
...
Beginning with 7.0, the cleaner service will no longer automatically cleanup .marvel indices regardless of their age.
Original commit: elastic/x-pack-elasticsearch@5b90e6f62a
2017-09-15 13:35:45 -07:00