# Licensed to Elasticsearch B.V under one or more agreements. # Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information package Search::Elasticsearch::Client::8_0::Direct::Ingest; $Search::Elasticsearch::Client::8_0::Direct::Ingest::VERSION = '8.12'; use Moo; with 'Search::Elasticsearch::Client::8_0::Role::API'; with 'Search::Elasticsearch::Role::Client::Direct'; __PACKAGE__->_install_api('ingest'); 1; =pod =encoding UTF-8 =head1 NAME Search::Elasticsearch::Client::8_0::Direct::Ingest - A client for accessing the Ingest API =head1 VERSION version 8.12 =head1 DESCRIPTION This module provides methods to access the Ingest API, such as creating, getting, deleting and simulating ingest pipelines. It does L. =head1 METHODS =head2 C $response = $e->ingest->put_pipeline( id => $id, # required body => { pipeline defn } # required ); The C method creates or updates a pipeline with the specified ID. Query string parameters: C, C, C, C See the L for more information. =head2 C $response = $e->ingest->get_pipeline( id => \@id, # optional ); The C method returns pipelines with the specified IDs (or all pipelines). Query string parameters: C, C, C, C See the L for more information. =head2 C $response = $e->ingest->delete_pipeline( id => $id, # required ); The C method deletes the pipeline with the specified ID. Query string parameters: C, C, C, C See the L for more information. =head2 C $response = $e->ingest->put_pipeline( id => $id, # optional body => { simulate args } # required ); The C 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: C, C, C See the L for more information. =head2 C $response = $e->ingest->put_pipeline( id => $id, # optional body => { simulate args } # required ); The C 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: C, C, C See the L for more information. =head2 C $response = $e->inges->processor_grok() Retrieves the configured patterns associated with the Grok processor. Query string parameters: C, C See the L for more information. =head1 AUTHOR Enrico Zimuel =head1 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 =cut __END__ # ABSTRACT: A client for accessing the Ingest API