Search::Elasticsearch::Client::6_0::Direct::XPack - Plugin providing XPack APIs for Search::Elasticsearch v6.x
version 6.80
use Search::Elasticsearch(); my $es = Search::Elasticsearch->new( nodes => \@nodes ); $es->xpack->graph; $es->xpack->license; $es->xpack->security; $es->xpack->watcher; $es->xpack->rollup; $es->xpack->sql; $es->xpack->ml;
This class extends the Search::Elasticsearch client to add support for the X-Pack commercial plugins for Elasticsearch 6.x.
It extends the Search::Elasticsearch client with a graph, license, migration, ml, security, and watcher namespace, to support the APIs for the X-Pack plugins: Graph, License, Shield, and Watcher.
graph
license
migration
ml
security
watcher
In other words, it can be used as follows:
use Search::Elasticsearch(); my $es = Search::Elasticsearch->new( nodes => \@nodes ); my $response = $es->xpack->watcher->start();
For details about the supported methods in each namespace, see:
"Search::Elasticsearch::Client::6_0::XPack::Graph" in graph()
"Search::Elasticsearch::Client::6_0::XPack::License" in license()
"Search::Elasticsearch::Client::6_0::XPack::Migration" in shield()
"Search::Elasticsearch::Client::6_0::XPack::ML" in shield()
"Search::Elasticsearch::Client::6_0::XPack::Rollup" in shield()
"Search::Elasticsearch::Client::6_0::XPack::Security" in shield()
"Search::Elasticsearch::Client::6_0::XPack::SQL" in shield()
"Search::Elasticsearch::Client::6_0::XPack::Watcher" in watcher()
Enrico Zimuel <enrico.zimuel@elastic.co>
This software is Copyright (c) 2020 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Search::Elasticsearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Elasticsearch
CPAN shell
perl -MCPAN -e shell install Search::Elasticsearch
For more information on module installation, please visit the detailed CPAN module installation guide.