# OpenPipeline best practices

**URL:** <https://community.dynatrace.com/t/openpipeline-best-practices/53112>\
**Category:** Open Q&A\
**Tags:** openpipeline, spans, logs\
**Created:** [August 26, 2025, 7:14pm UTC](https://community.dynatrace.com/t/openpipeline-best-practices/53112 "2025-08-26T19:14:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![calfanonerey](https://avatars.discourse-cdn.com/v4/letter/c/e19b73/32.png) [@calfanonerey](https://community.dynatrace.com/u/calfanonerey)\
**Post date:** [August 26, 2025, 7:14pm UTC](https://community.dynatrace.com/t/openpipeline-best-practices/53112/1 "2025-08-26T19:14:24Z")

</div>

Hey Everyone, looking for some advice here.

I want to build out OpenPipeline for logs and spans and wondering what the best practice is.&nbsp;  
The end goal is to have buckets on a per service level as well as extract metrics from spans/logs and process logs as needed.

To organize things would it be best to do

a. 1 dynamic route per service → 1 pipeline per service

b. 1 dynamic route for stackenv → 1 pipeline per stackenv

I like option a because it gives us more control but option b seems easier to manage? Looking for advice thanks in advance!

---

<div class="post-metadata">

**Author:** ![JeanBlanc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jeanblanc/32/25897_2.png) [@JeanBlanc](https://community.dynatrace.com/u/JeanBlanc)\
**Post date:** [October 24, 2025, 10:00am UTC](https://community.dynatrace.com/t/openpipeline-best-practices/53112/2 "2025-10-24T10:00:49Z")

</div>

Hi [@calfanonerey](https://community.dynatrace.com/user/91250),

From what I’ve seen in the docs and setups I’ve worked with, the choice really depends on how similar your services are in terms of log and span processing:

- **Option (a)** – one dynamic route and one pipeline per service – gives you fine-grained control (different extraction rules, retention, metrics, etc.) but can quickly become hard to maintain at scale.
- **Option (b)** – grouping by stackenv – is easier to manage and works well if the services in a stack share similar characteristics.

Personally, I’d probably go for a **hybrid** approach: start with stackenv-level pipelines and split out only the services that need specific processing logic. Automating pipeline creation via the Settings API can help a lot here.

That said, this is just my take based on current documentation and experience — I’d be very interested to hear how others have structured their OpenPipeline deployments and if they found a cleaner pattern!

Warm regards,

Jean
