Search::Elasticsearch::Plugin::XPack::5_0 - Plugin providing XPack APIs for Search::Elasticsearch v5.x
version 5.00
use Search::Elasticsearch(); my $es = Search::Elasticsearch->new( nodes => \@nodes, plugins => ['XPack'] ); $es->graph; $es->license; $es->shield; $es->watcher;
This class extends the Search::Elasticsearch client to add support for the X-Pack commercial plugins for Elasticsearch 5.x.
It extends the Search::Elasticsearch client with a graph, license, shield, and watcher namespace, to support the APIs for the X-Pack plugins: Graph, License, Shield, and Watcher.
graph
license
shield
watcher
In other words, it can be used as follows:
use Search::Elasticsearch(); my $es = Search::Elasticsearch->new( nodes => \@nodes, plugins => ['XPack'] ); my $response = $es->watcher->info();
For details about the supported methods in each namespace, see:
"Search::Elasticsearch::Plugin::XPack::5_0::Graph" in graph()
"Search::Elasticsearch::Plugin::XPack::5_0::License" in license()
"Search::Elasticsearch::Plugin::XPack::5_0::Shield" in shield()
"Search::Elasticsearch::Plugin::XPack::5_0::Watcher" in watcher()
Clinton Gormley <drtech@cpan.org>
This software is Copyright (c) 2016 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Search::Elasticsearch::Plugin::XPack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Elasticsearch::Plugin::XPack
CPAN shell
perl -MCPAN -e shell install Search::Elasticsearch::Plugin::XPack
For more information on module installation, please visit the detailed CPAN module installation guide.