# Configuration of transform data with custom pipeline

**URL:** <https://discuss.elastic.co/t/configuration-of-transform-data-with-custom-pipeline/335923>\
**Category:** APM\
**Tags:** ui\
**Created:** [June 14, 2023, 2:50am UTC](https://discuss.elastic.co/t/configuration-of-transform-data-with-custom-pipeline/335923 "2023-06-14T02:50:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JasonREC](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@JasonREC](https://discuss.elastic.co/u/JasonREC)\
**Post date:** [June 14, 2023, 8:14am UTC](https://discuss.elastic.co/t/configuration-of-transform-data-with-custom-pipeline/335923/3 "2023-06-14T08:14:49Z")

</div>

Hi, @bmorelli25 ,

Thanks for the reply!

I read both the document you provided and set up the pipeline for testing like below:

 ![pipeline2](https://us1.discourse-cdn.com/elastic/original/3X/3/7/37a964dbabeac44947a41b3029e1d70a55f4ecca.png)

The above Injest Pipeline with an append processor can sucessfully show the upcoming data with field "processor\_ test" and the value

but then, I try to use the enrich processor, but it does not work somehow

Here is my set up,  
source Index:

 ![source-index](https://us1.discourse-cdn.com/elastic/original/3X/5/5/55bd78f9ecce13925a3811b490450c3fbe0b4b40.png)

policy:

 ![policy](https://us1.discourse-cdn.com/elastic/original/3X/a/b/abb0ed7c1877a0c7335e8e9a67c50f1d324cd123.png)

enrich processor"

 ![injestpipeline](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3e46bdda11079b452507fbf6e87730c60c5722c6.png)

Lastly I have applied the injest pipeline to the APM custom pipeline

```auto
PUT _ingest/pipeline/traces-apm@custom
{
  "processors": [
    {
      "pipeline": {
        "name": "limit_lookup" 
      }
    }
  ]
}

```

Basically, as long as the upcoming document that contains the labels\_data\_name is matched the labels\_database\_name that in the source index. I would like it to add that couple fields into the document before it write into index.

Here is my apm index data looks like, the upcoming data have a field called labels\_database\_name like below

 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/d/4/d47137bd8f94200408c26f8eab7c090d47f90f51.png)

---

_[View the full topic](https://discuss.elastic.co/t/configuration-of-transform-data-with-custom-pipeline/335923)._
