Scroll to navigation

Search::Elasticsearch::Client::8_0::Direct::Connector(3) User Contributed Perl Documentation Search::Elasticsearch::Client::8_0::Direct::Connector(3)

NAME

Search::Elasticsearch::Client::8_0::Direct::Connector - A client for create and manage Elastic connectors

VERSION

version 8.12

DESCRIPTION

The connector and sync jobs API provides a convenient way to create and manage Elastic connectors and sync jobs in an internal index.

This API provides an alternative to relying solely on Kibana UI for connector and sync job management. The API comes with a set of validations and assertions to ensure that the state representation in the internal index remains valid.

The full documentation for Eql feature is available here: <https://www.elastic.co/guide/en/elasticsearch/reference/master/connector-apis.html>

It does Search::Elasticsearch::Role::Client::Direct.

METHODS

put()

    $response = $e->connector->put(
        connector_id => "my-connector",
        body => {
            index_name => "search-google-drive",
            name => "My Connector",
            service_type => "google_drive"
        }
    );

The put() method create a connector.

AUTHOR

Enrico Zimuel <enrico.zimuel@elastic.co>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
2024-03-08 perl v5.38.2