Search...Ingest(3pm)
π Search...Ingest(3pm) π
okay bestie, so this is the Search...Ingest(3pm) page β user-contributed Perl documentation, section 3pm, the whole thing. And the module it's actually about is Search::Elasticsearch::Client::7_0::Direct::Ingest, which is a client for accessing the Ingest API. slay. let's get into it π
π VERSION π
version 7.715 β¨
π¦ DESCRIPTION π¦
so this module is giving you the methods to hit up the Ingest API β creating pipelines, getting pipelines, deleting pipelines, and simulating them. that's the vibe. π
it does Search::Elasticsearch::Role::Client::Direct. iykyk. π
π METHODS π
put_pipeline()
$response = $e->ingest->put_pipeline(
id => $id, # required
body => { pipeline defn } # required
);
the put_pipeline() method creates or updates a pipeline with the ID you specified. main character behavior fr. π
Query string parameters:
error_tracehumanmaster_timeouttimeout
head over to the put pipeline docs at https://www.elastic.co/guide/en/elasticsearch/reference/current/put-pipeline-api.html if you want more. π
get_pipeline()
$response = $e->ingest->get_pipeline(
id => \@id, # optional
);
the get_pipeline() method hands you back the pipelines with the IDs you asked for β or literally all the pipelines if you don't specify any. πΈ
Query string parameters:
error_tracehumanmaster_timeouttimeout
more deets in the get pipeline docs at https://www.elastic.co/guide/en/elasticsearch/reference/current/get-pipeline-api.html β¨
delete_pipeline()
$response = $e->ingest->delete_pipeline(
id => $id, # required
);
the delete_pipeline() method deletes the pipeline with the ID you specified. gone. bye. not me being the villain era π
Query string parameters:
error_tracehumanmaster_timeouttimeout
the delete pipeline docs live at https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-pipeline-api.html π¦
simulate()
$response = $e->ingest->put_pipeline(
id => $id, # optional
body => { simulate args } # required
);
the simulate() method runs the pipeline β either the one named by ID or the inline one in the body β against the docs you put in the body, and then gives you debugging output of the whole execution process. it's giving test run, it's giving rehearsal. π₯
Query string parameters:
error_tracehumanverbose
simulate pipeline docs, right this way: https://www.elastic.co/guide/en/elasticsearch/reference/current/simulate-pipeline-api.html π
simulate()
$response = $e->ingest->put_pipeline(
id => $id, # optional
body => { simulate args } # required
);
yes bestie, it's listed again β same method, same energy. the simulate() method executes the pipeline specified by ID or inline in the body against the docs provided in the body, and provides debugging output of the execution process. π
Query string parameters:
error_tracehumanverbose
same simulate pipeline docs, same link: https://www.elastic.co/guide/en/elasticsearch/reference/current/simulate-pipeline-api.html π
processor_grok
$response = $e->inges->processor_grok()
the processor_grok method retrieves the configured patterns that go with the Grok processor. iconic honestly. π§
Query string parameters:
error_tracehuman
grok processor docs are at https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html β
π«Ά AUTHOR π«Ά
Enrico Zimuel <enrico.zimuel@elastic.co> β thank you for your service king π
β COPYRIGHT AND LICENSE β
This software is Copyright (c) 2021 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
and that's the whole page, no notes π
and finally, the lil sign-off from the footer: this page is for perl v5.32.1, dated 2021-10-23, and yes it's the Search...Ingest(3pm) page. periodt. πβ¨π
π¦ where this page comes from
- ubuntu jammy: libsearch-elasticsearch-perl 7.715-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms