﻿---
title: Load ingest pipelines
description: The ingest pipelines used to parse log lines are set up automatically when you run Filebeat, assuming the Elasticsearch output is enabled. stack: ga 9.6...
url: https://docs-v3-preview.elastic.dev/elastic/beats/pull/52209/reference/filebeat/load-ingest-pipelines
products:
  - Beats
  - Filebeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Load ingest pipelines
The ingest pipelines used to parse log lines are set up automatically when you run Filebeat, assuming the Elasticsearch output is enabled.
<applies-to>Elastic Stack: Planned</applies-to> To turn off automatic pipeline loading during normal publishing, set:
```yaml
setup.pipelines.enabled: false
```

Use this setting only when the required pipelines have already been loaded or are managed separately. If you’re sending events to Logstash, you need to load the ingest pipelines manually. To do this, run the `setup` command with the `--pipelines` option specified. You also need to enable the modules and filesets using one of the following methods.
First you can use the `--modules` option to enable the module, and the `-M` option to enable the fileset.  For example, the following command loads the access pipeline from the nginx module.
**deb and rpm:**
```sh
filebeat setup --pipelines --modules nginx -M "nginx.access.enabled=true"
```

**mac:**
```sh
./filebeat setup --pipelines --modules nginx -M "nginx.access.enabled=true"
```

**linux:**
```sh
./filebeat setup --pipelines --modules nginx -M "nginx.access.enabled=true"
```

**win:**
```sh
PS > .\filebeat.exe setup --pipelines --modules nginx -M "nginx.access.enabled=true"
```

The second option is to use the `--modules` option to enable the module, and the `--force-enable-module-filesets` option to enable all the filesets in the module.  For example, the following command loads the access pipeline from the nginx module.
**deb and rpm:**
```sh
filebeat setup --pipelines --modules nginx --force-enable-module-filesets
```

**mac:**
```sh
./filebeat setup --pipelines --modules nginx --force-enable-module-filesets
```

**linux:**
```sh
./filebeat setup --pipelines --modules nginx --force-enable-module-filesets
```

**win:**
```sh
PS > .\filebeat.exe setup --pipelines --modules nginx --force-enable-module-filesets
```

The third option is to use the `--enable-all-filesets` option to enable all the modules and all the filesets so all of the ingest pipelines are loaded.  For example, the following command loads all the ingest pipelines.
**deb and rpm:**
```sh
filebeat setup --pipelines --enable-all-filesets
```

**mac:**
```sh
./filebeat setup --pipelines --enable-all-filesets
```

**linux:**
```sh
./filebeat setup --pipelines --enable-all-filesets
```

**win:**
```sh
PS > .\filebeat.exe setup --pipelines --enable-all-filesets
```

<tip>
  If you’re loading ingest pipelines manually because you want to send events to Logstash, also see [Working with Filebeat modules](https://docs-v3-preview.elastic.dev/elastic/logstash/tree/main/reference/working-with-filebeat-modules).
</tip>