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

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