Search...nnector(3pm)
π NAME π
Okay bestie, welcome to the Search...nnector(3pm) page β yes, the name got a lil truncated, we don't talk about it π β this is your client for creating and managing Elastic connectors, no cap.
β¨ VERSION β¨
version 8.12 β that's the one, that's the vibe π
π¦ DESCRIPTION π¦
So the connector and sync jobs API is literally your bestie for creating and managing Elastic connectors and sync jobs inside an internal index. Iconic behaviour honestly. π«Ά
This API is the alternative to just... relying solely on the Kibana UI for connector and sync job management. It comes with a whole set of validations and assertions to make sure the state representation in the internal index stays valid. She's got boundaries, and honestly? Respect. π―
The full documentation for the Eql feature lives here, go be nosy:
https://www.elastic.co/guide/en/elasticsearch/reference/master/connector-apis.html
Also, and this is important: 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 creates a connector. That's it, that's the whole job. Main character energy, minimal effort, ate. β¨
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co> β the author, the moment, the legend. π
π 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
And that's a wrap, bestie π¬ β this lil masterpiece was brought to you by perl v5.38.2, dated 2024-02-04, and lives in the Search...nnector(3pm) manual. Go forth and connect some connectors. Slay π¦πβ¨
π¦ where this page comes from
- debian trixie: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu noble: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu resolute: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu stonking: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms