The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Search::Elasticsearch::Plugin::XPack::5_0 - Plugin providing XPack APIs for Search::Elasticsearch v5.x

VERSION

version 6.00

SYNOPSIS

    use Search::Elasticsearch();

    my $es = Search::Elasticsearch->new(
        nodes   => \@nodes,
        plugins => ['XPack']
    );

    $es->xpack->graph;
    $es->xpack->license;
    $es->xpack->migration;
    $es->xpack->security;
    $es->xpack->watcher;

DESCRIPTION

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, migration, ml, security, and watcher namespace, to support the APIs for the X-Pack plugins: Graph, License, Shield, and 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->xpack->watcher->start();

For details about the supported methods in each namespace, see:

AUTHOR

Clinton Gormley <drtech@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Elasticsearch BV.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004