logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Enrico Zimuel <enrico.zimuel@elastic.co>

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.

Name

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

Version

       version 8.12

See Also