

[[Elasticsearch_Namespaces_IngestNamespace]]
=== Elasticsearch\Namespaces\IngestNamespace



Class IngestNamespace
Generated running $ php util/GenerateEndpoints.php 7.9


*Methods*

The class defines the following methods:

* <<Elasticsearch_Namespaces_IngestNamespacedeletePipeline_deletePipeline,`deletePipeline()`>>
* <<Elasticsearch_Namespaces_IngestNamespacegetPipeline_getPipeline,`getPipeline()`>>
* <<Elasticsearch_Namespaces_IngestNamespaceprocessorGrok_processorGrok,`processorGrok()`>>
* <<Elasticsearch_Namespaces_IngestNamespaceputPipeline_putPipeline,`putPipeline()`>>
* <<Elasticsearch_Namespaces_IngestNamespacesimulate_simulate,`simulate()`>>



[[Elasticsearch_Namespaces_IngestNamespacedeletePipeline_deletePipeline]]
.`deletePipeline()`
****
[source,php]
----
/*
$params['id']             = (string) Pipeline ID
$params['master_timeout'] = (time) Explicit operation timeout for connection to master node
$params['timeout']        = (time) Explicit operation timeout
*/

$params = [
    // ...
];

$client = ClientBuilder::create()->build();
$response = $client->ingest()->deletePipeline($params);
----
****



[[Elasticsearch_Namespaces_IngestNamespacegetPipeline_getPipeline]]
.`getPipeline()`
****
[source,php]
----
/*
$params['id']             = (string) Comma separated list of pipeline ids. Wildcards supported
$params['master_timeout'] = (time) Explicit operation timeout for connection to master node
*/

$params = [
    // ...
];

$client = ClientBuilder::create()->build();
$response = $client->ingest()->getPipeline($params);
----
****



[[Elasticsearch_Namespaces_IngestNamespaceprocessorGrok_processorGrok]]
.`processorGrok()`
****
[source,php]
----
/*
*/

$params = [
    // ...
];

$client = ClientBuilder::create()->build();
$response = $client->ingest()->processorGrok($params);
----
****



[[Elasticsearch_Namespaces_IngestNamespaceputPipeline_putPipeline]]
.`putPipeline()`
****
[source,php]
----
/*
$params['id']             = (string) Pipeline ID
$params['master_timeout'] = (time) Explicit operation timeout for connection to master node
$params['timeout']        = (time) Explicit operation timeout
$params['body']           = (array) The ingest definition (Required)
*/

$params = [
    // ...
];

$client = ClientBuilder::create()->build();
$response = $client->ingest()->putPipeline($params);
----
****



[[Elasticsearch_Namespaces_IngestNamespacesimulate_simulate]]
.`simulate()`
****
[source,php]
----
/*
$params['id']      = (string) Pipeline ID
$params['verbose'] = (boolean) Verbose mode. Display data output for each processor in executed pipeline (Default = false)
$params['body']    = (array) The simulate definition (Required)
*/

$params = [
    // ...
];

$client = ClientBuilder::create()->build();
$response = $client->ingest()->simulate($params);
----
****


