# Pipeline Probe

## Pipeline Probe

### Description

![probe](/files/KaJhuPWwqfqMhysDatQE)

The Pipeline Probe metadata type allows to stream output rows of a pipeline to another pipeline.

This receiving pipeline can then process this data for e.g. data quality, data profiling, data lineage etc.

The Pipeline Probe metadata type works by specifying a receiving pipeline (`Pipeline executed to capture logging`). This receiving pipeline is "just another pipeline" that takes a [Pipeline Data Probe](/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/pipeline-data-probe.md) as the input transform.

The receiving pipeline can then continue to process the probe data with all the functionality Apache Hop pipelines have to offer.

### Related Plugins

* Pipeline Probe

### Options

| Option                                     | Default | Description                                              |
| ------------------------------------------ | ------- | -------------------------------------------------------- |
| Name                                       |         | The name to be used for this pipeline probe              |
| Enabled                                    | true    |                                                          |
| Pipeline executed to capture logging       |         | the pipeline to process the data for this pipeline probe |
| Capture output of the following transforms |         | list of pipelines and transforms to capture logging for  |

### Samples

The samples project comes with a preconfigured data probe metadata item, a probing (receiving) pipeline and a source pipeline.

* pipeline probe: metadata perspective -→ pipeline probes -→ pipeline-probe-example
* probing (receiving) pipeline: `${PROJECT_HOME}/pipeline-probe/pipeline-probe-example.hpl`
* source pipeline: `${PROJECT_HOME}/pipeline-probe/pipeline-probe-generate-fake-books.hpl`

To run this sample and see the pipeline probe in action, all it takes is to run the source pipeline `${PROJECT_HOME}/pipeline-probe/pipeline-probe-generate-fake-books.hpl`.

This pipeline will generate 10.000 lines of fake books data. The pipeline probe will read the last transform in the pipeline (`dummy`) and pass the data that flows through this transform to the receiving (probing) transform.

The receiving (probing) pipeline (`${PROJECT_HOME}/pipeline-probe/pipeline-probe-example.hpl`) has a [Pipeline Data Probe](https://github.com/mbertazz/hop-docs-md/blob/main/modules/ROOT/pages/metadata-types/pipeline/transforms/pipeline-data-probe.sHibC98Xzg) as input. This pipeline will then denormalize the received data to field, count the number of books per genre, sort the results and writes the final data out to a file (`${PROJECT_HOME}/books-per-genre/probe-data.csv`).

After `pipeline-probe-generate-fake-books.hpl` finished, check the `pipeline-probe/output` folder in your samples project for the csv file that contains these results. You’ll find the data that was generated in `${PROJECT_HOME}/pipeline-probe/pipeline-probe-generate-fake-books.hpl`, aggregated by book genre.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/index-2/pipeline-probe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
