Scroll to navigation

Search::Elasticsearch::Client::6_0::Direct::XPack(3pm) User Contributed Perl Documentation Search::Elasticsearch::Client::6_0::Direct::XPack(3pm)

NAME

Search::Elasticsearch::Client::6_0::Direct::XPack - Plugin providing XPack APIs for Search::Elasticsearch v6.x

VERSION

version 6.81

SYNOPSIS

    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;

DESCRIPTION

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.

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()

AUTHOR

Enrico Zimuel <enrico.zimuel@elastic.co>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
2020-06-29 perl v5.30.3