166 Commits

Author SHA1 Message Date
uboness
075707e12c cleanup for local exporter
Original commit: elastic/x-pack-elasticsearch@b715ab7ca1
2015-09-26 04:30:34 +02:00
Tanguy Leroux
e2719ab213 Add tests for LocalExporter
Original commit: elastic/x-pack-elasticsearch@a1866a9c39
2015-09-26 04:30:34 +02:00
Tanguy Leroux
da4b259c48 Remove start/stop in Exporter(s)
Original commit: elastic/x-pack-elasticsearch@9ddcb8119b
2015-09-26 04:30:34 +02:00
Tanguy Leroux
415f6eda79 Add LocalExporter implementation
Original commit: elastic/x-pack-elasticsearch@36a683294c
2015-09-26 04:30:34 +02:00
uboness
1c5e03a239 fixed tests
Original commit: elastic/x-pack-elasticsearch@bea8d61278
2015-09-26 04:30:34 +02:00
uboness
57561f9a03 cleaned up HttpExporterUtils
Original commit: elastic/x-pack-elasticsearch@2db95799ea
2015-09-26 04:30:34 +02:00
uboness
c85f0f4564 Fixed the integration tests
- prepared the ground for shield integration tests.
- for now, `shield` is disabled for all integration tests (once we have the `local` exporter we'll be able to turn shield on.

Original commit: elastic/x-pack-elasticsearch@cf5d660f58
2015-09-26 04:30:34 +02:00
uboness
345efb38d6 Cleaned up warnings in SecuredClient
Original commit: elastic/x-pack-elasticsearch@b8f52f1518
2015-09-26 04:30:34 +02:00
uboness
53b2fb9826 cleaned up Exporters
- also added additional unit tests for this class

Original commit: elastic/x-pack-elasticsearch@c16891a50a
2015-09-26 04:30:33 +02:00
uboness
7206de9c2a Adding multiple exporter types
- an exporter is no longer fixed construct. Instead, this commit creates an `Exporter` abstraction. An exporter has a type and is responsible for exporting marvel documents.
- multiple exporters can be configured, each can be of a different type.
- an exporter can be of a "singleton" type, indicating that there can only be one exporter of that type at any point in time.
- exporters are configured in the settings. Each exporters is identified by a unique name/id and has its own settings (the type of the exporter defines what settings that exporter expects)
- exporters are loaded at start up time, but it is also possible to update the exporter settings at runtime (all exporter settings are registered as dynamic cluster settings). When updated, all the exporters will be rebuild & reloaded.
- there are two types of exporters: `http` and `local`
- `http` exporter exports documents to external elasticsearch clusters using the REST API
- the new `http` exporter doesn't support user info as part of the URL (it's pron to security info leak). Instead a new `auth.username` and `auth.password` settings were added that can be set per `http` exporter (when shield is installed, the passwords are filtered out from the node info API)
- `local` exporter exports documents to the same cluster the agent is installed on, using the internal node client.
- when no exporter is configured, a default `local` exporter is created (for best ootb experience)

Original commit: elastic/x-pack-elasticsearch@d1d7c8aefd
2015-09-26 04:30:33 +02:00
uboness
334e090902 Shield Integration
- Adds internal `__marvel_user`
- Adds a `SecuredClient` that binds the internal marvel user to all requests it sends

Original commit: elastic/x-pack-elasticsearch@77c4716261
2015-09-26 04:30:33 +02:00
javanna
22edda4044 [TEST] fix method clashes due to randomTimeValue addition to ESTestCase
Original commit: elastic/x-pack-elasticsearch@74bd522bf8
2015-09-25 16:45:11 +02:00
Nik Everett
974ae21899 Remove eclipse configuration files
These files are generated automatically with eclipse:eclipse so they shouldn't
be tracked in the repository.

Original commit: elastic/x-pack-elasticsearch@3869ddebfa
2015-09-24 14:08:49 -04:00
jaymode
6a7462be3e update the IPFilter to always allow traffic from a bound address
This change updates the IPFilter to always allow traffic from the bound addresses of the node
even if they have been explicitly disabled. This behavior can be disabled through a setting but
that could be dangerous if the blocking rule is added via a persistent setting stored in the cluster
state.

Closes elastic/elasticsearch#487

Original commit: elastic/x-pack-elasticsearch@4c1cf9455f
2015-09-23 10:30:43 -04:00
Robert Muir
f610a347f0 Fix all doclint errors and warnings (so compile does not break with https://github.com/elastic/elasticsearch/pull/13702)
Original commit: elastic/x-pack-elasticsearch@6a05dcd6a2
2015-09-22 00:09:11 -04:00
Tanguy Leroux
a5dcb52ba8 Marvel: Add Fielddata stats to index_stats
Closes elastic/elasticsearch#671

Original commit: elastic/x-pack-elasticsearch@eabd7eab20
2015-09-21 16:27:02 +02:00
Tanguy Leroux
34937604e1 Marvel: Remove marvel_ prefix from Marvel document types
Closes elastic/elasticsearch#669

Original commit: elastic/x-pack-elasticsearch@2e04ce186a
2015-09-21 15:58:39 +02:00
Tanguy Leroux
4d829951b4 Marvel: Disable indexing for nodes attribute in cluster state documents
Closes elastic/elasticsearch#658

Original commit: elastic/x-pack-elasticsearch@bb501aa5b8
2015-09-18 14:24:52 +02:00
Tanguy Leroux
db13d99cdf Marvel: Mute IndexStatsCollectorTests
Original commit: elastic/x-pack-elasticsearch@c8746d7ea2
2015-09-18 14:24:28 +02:00
Tanguy Leroux
fdae10ff74 Marvel: Additional metrics for marvel_node_stats
indices.indexing.index_total
indices.indexing.index_time_in_millis
indices.search.query_total
indices.search.query_time_in_millis

closes elastic/elasticsearch#661

Original commit: elastic/x-pack-elasticsearch@f9892e5b85
2015-09-18 10:25:56 +02:00
Tanguy Leroux
a640ab6bec Marvel: Store shards as individual documents in marvel_shards
Closes elastic/elasticsearch#581

Original commit: elastic/x-pack-elasticsearch@059ad5f09f
2015-09-18 10:16:32 +02:00
Tanguy Leroux
81dc0ee210 Marvel: Use Version in index template
Original commit: elastic/x-pack-elasticsearch@6ee3300773
2015-09-18 10:05:33 +02:00
Tanguy Leroux
e08e587eb9 Marvel: Add heap to ClusterStats
Closes elastic/elasticsearch#593

Original commit: elastic/x-pack-elasticsearch@87a467ff13
2015-09-17 09:51:20 +02:00
Ryan Ernst
018dd53ffc Move rest-api-spec tests to resources dirs
See elastic/elasticsearchelastic/elasticsearch#13611

Original commit: elastic/x-pack-elasticsearch@cc26a1a9db
2015-09-16 11:09:46 -07:00
Simon Willnauer
d1c2698595 Fix forbidden API usage from upstream
Original commit: elastic/x-pack-elasticsearch@2bfcc83477
2015-09-15 15:51:22 +02:00
Tanguy Leroux
4ac8b87f3b Marvel: Update release notes
Original commit: elastic/x-pack-elasticsearch@31b17e5115
2015-09-14 11:17:34 +02:00
Simon Willnauer
6fb4f7817c Use method references rather than Class instances to register transport handler.
This is caused by upstream changes in core.

Original commit: elastic/x-pack-elasticsearch@67f602abd1
2015-09-14 10:07:35 +02:00
Lee Hinman
4a8df4f328 Update eclipse files for Java 1.8 move
Original commit: elastic/x-pack-elasticsearch@a2dd77ccf3
2015-09-10 10:04:31 -06:00
Martijn van Groningen
cdc3a142e5 fixed compile error
Original commit: elastic/x-pack-elasticsearch@73d853b077
2015-09-10 17:36:06 +02:00
Ryan Ernst
fbbd3f6c2d Add warning suppressions
I fixed a couple more warnings and added suppressions, so that when
 elastic/elasticsearchelastic/elasticsearch#13410 lands, x-plugins will not break.

Original commit: elastic/x-pack-elasticsearch@8a19b2b71b
2015-09-09 12:45:20 -07:00
Ryan Ernst
5dd5f525b5 Remove some warnings caught by -Xlint
Original commit: elastic/x-pack-elasticsearch@50bea927cf
2015-09-09 00:16:13 -07:00
Ryan Ernst
2ab0db4373 Fix compile issues after removal of loadConfigSettings from transport
client

Original commit: elastic/x-pack-elasticsearch@2efe4f2980
2015-09-08 17:22:54 -07:00
uboness
533c14242f Bumped the version to 3.0.0-SNAPSHOT
Original commit: elastic/x-pack-elasticsearch@0771b3e589
2015-09-04 16:30:11 +02:00
Alexander Reelsen
8934f3436b Marvel: Ensure marvel is not deployed
In order to not accidentally release marvel in its current state
this removes marvel in the S3 upload as well as not deploying
marvel to artifactory.

Original commit: elastic/x-pack-elasticsearch@cb6088e18b
2015-09-04 11:00:37 +02:00
Tanguy Leroux
93f6b705e4 Marvel: Fix various tests inconsistencies
Original commit: elastic/x-pack-elasticsearch@1b122ecd40
2015-09-02 16:24:59 +02:00
Tanguy Leroux
892eeaf845 Marvel: Fix test issue in ClusterInfoIT
Original commit: elastic/x-pack-elasticsearch@b6cb867d52
2015-09-02 11:13:53 +02:00
Tanguy Leroux
8c6b0d03d4 Marvel: Rename cluster_licenses to cluster_info and add additional stats
Closes elastic/elasticsearch#490

Original commit: elastic/x-pack-elasticsearch@6dceb5b20c
2015-09-02 10:06:38 +02:00
Tanguy Leroux
47ba724498 Marvel: Update .marvel indices naming
Closes elastic/elasticsearch#527, elastic/elasticsearch#458

Original commit: elastic/x-pack-elasticsearch@f3fb15f88c
2015-09-02 09:36:41 +02:00
Tanguy Leroux
7a59749392 Marvel: Add Indices Stats collector
Closes elastic/elasticsearch#555

Original commit: elastic/x-pack-elasticsearch@63a0e02258
2015-09-02 09:04:33 +02:00
Tanguy Leroux
9e5053a5c0 Marvel: Prints settings values in MarvelSettingsTests and remove smallest random time values
Original commit: elastic/x-pack-elasticsearch@488306ba63
2015-09-01 15:01:46 +02:00
Tanguy Leroux
794b2e0089 Marvel: Remove AwaitFix on NodeStatsRendererTests
Now thread pools are sorted by names in elasticsearch core (see elastic/elasticsearchelastic/elasticsearch#13121)

Closes elastic/elasticsearch#367

Original commit: elastic/x-pack-elasticsearch@d2fab327c0
2015-09-01 14:15:22 +02:00
Tanguy Leroux
37fc05dc4c Marvel: Ad IT tests for Cluster State, Cluster Stats and Node Stats collectors
Closes elastic/elasticsearch#445, elastic/elasticsearch#444

Original commit: elastic/x-pack-elasticsearch@cd82064098
2015-09-01 11:06:27 +02:00
Tanguy Leroux
541644fbb2 Marvel: Remove usages of Guava's ImmutableMap and Predicate
Original commit: elastic/x-pack-elasticsearch@71d0a7f436
2015-09-01 09:44:43 +02:00
Martijn van Groningen
593fc30669 Fix main class runners
Original commit: elastic/x-pack-elasticsearch@28a90a19b8
2015-08-31 22:45:56 +02:00
Jason Tedor
473e0af11f Remove use of com.google.common.collect.ImmutableList in Marvel
Original commit: elastic/x-pack-elasticsearch@1e1a6223fd
2015-08-31 15:51:14 -04:00
Tanguy Leroux
0dbd13b67c Marvel: Update tests due to changes in elasticsearch core
Original commit: elastic/x-pack-elasticsearch@7224989d22
2015-08-31 11:46:58 +02:00
Jason Tedor
8cc9531bcb Update for API changes in 5e2efcfe091c62ef215016e2981d05339ea945a3
Original commit: elastic/x-pack-elasticsearch@5cf5f71ba6
2015-08-30 12:42:29 -04:00
Tanguy Leroux
a14a11ebdb Marvel: Mute IndexStatsCollectorTests
Original commit: elastic/x-pack-elasticsearch@aaea8e8715
2015-08-28 16:24:56 +02:00
Tanguy Leroux
0e365a7670 Marvel: Add indices.count in Cluster Stats
Closes elastic/elasticsearch#517

Original commit: elastic/x-pack-elasticsearch@6ecbf3d1ee
2015-08-28 13:50:09 +02:00
debadair
6da0a38ebf Set up Marvel 2.0 docs structure.
Original commit: elastic/x-pack-elasticsearch@344c7c2458
2015-08-27 10:31:37 -07:00