---
name: "Search::Elasticsearch::Client::8_0::Direct::Simulate"
section: "3pm"
platform: "linux"
package: "libsearch-elasticsearch-perl"
version: "8.12-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Search::Elasticsearch::Client::8_0::Direct::Simulate"
---

# Search::Elasticsearch::Client::8\_0::Direct::Simulate(3pm)

Executes ingest pipelines against a set of provided

## NAME

Search::Elasticsearch::Client::8\_0::Direct::Simulate - Executes ingest pipelines against a set of provided

## VERSION

version 8.12

### DESCRIPTION

The full documentation for Simulate ingest API is available here: \<https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-ingest-api.html\>

## FOLLOW METHODS

### follow()

```
    my $response = $es->simulate->ingest(
        'index' => 'test',
        'body'  => {
            'docs' => [
                {
                    '_id' => '123',
                    '_source' => {
                        'foo': 'bar'
                    }
                },
                {
                    '_id' => '456',
                    '_source' => {
                        'foo': 'baz'
                    }
                },
            ]
        }
    );
```

## AUTHOR

Enrico Zimuel \<enrico.zimuel@elastic.co\>

## 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
```
