-
-
28 Jul 2022 11:44:05 UTC
- Distribution: Search-Elasticsearch-Client-6_0
- Module version: 7.717
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (110 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: apache_2_0
- Activity
24 month- Tools
- Download (66.45KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Enrico Zimuel
- Dependencies
- Devel::GlobalDestruction
- Moo
- Moo::Role
- Search::Elasticsearch
- Search::Elasticsearch::Role::API
- Search::Elasticsearch::Role::Client::Direct
- Search::Elasticsearch::Role::Is_Sync
- Search::Elasticsearch::Util
- Try::Tiny
- namespace::clean
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Search::Elasticsearch::Client::6_0::Direct::Ingest - A client for accessing the Ingest API
VERSION
version 7.717
DESCRIPTION
This module provides methods to access the Ingest API, such as creating, getting, deleting and simulating ingest pipelines.
It does Search::Elasticsearch::Role::Client::Direct.
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 specified ID.Query string parameters:
error_trace
,human
,master_timeout
,timeout
See the put pipeline docs for more information.
get_pipeline()
$response = $e->ingest->get_pipeline( id => \@id, # optional );
The
get_pipeline()
method returns pipelines with the specified IDs (or all pipelines).Query string parameters:
error_trace
,human
,master_timeout
,timeout
See the get pipeline docs for more information.
delete_pipeline()
$response = $e->ingest->delete_pipeline( id => $id, # required );
The
delete_pipeline()
method deletes the pipeline with the specified ID.Query string parameters:
error_trace
,human
,master_timeout
,timeout
See the delete pipeline docs for more information.
simulate()
$response = $e->ingest->put_pipeline( id => $id, # optional body => { simulate args } # required );
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_trace
,human
,verbose
See the simulate pipeline docs for more information.
simulate()
$response = $e->ingest->put_pipeline( id => $id, # optional body => { simulate args } # required );
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_trace
,human
,verbose
See the simulate pipeline docs for more information.
processor_grok
$response = $e->inges->processor_grok()
Retrieves the configured patterns associated with the Grok processor.
Query string parameters:
error_trace
,human
See the grok processor docs for more information.
AUTHOR
Enrico Zimuel <enrico.zimuel@elastic.co>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2022 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
Module Install Instructions
To install Search::Elasticsearch::Client::6_0, copy and paste the appropriate command in to your terminal.
cpanm Search::Elasticsearch::Client::6_0
perl -MCPAN -e shell install Search::Elasticsearch::Client::6_0
For more information on module installation, please visit the detailed CPAN module installation guide.