# How to avoid creating duplicate business events when using openpipeline?

**URL:** <https://community.dynatrace.com/t/how-to-avoid-creating-duplicate-business-events-when-using-openpipeline/50752>\
**Category:** Logs\
**Tags:** openpipeline, log-processing, business-events, logs\
**Created:** [March 17, 2025, 1:46pm UTC](https://community.dynatrace.com/t/how-to-avoid-creating-duplicate-business-events-when-using-openpipeline/50752 "2025-03-17T13:46:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![strudeau](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@strudeau](https://community.dynatrace.com/u/strudeau)\
**Post date:** [March 17, 2025, 1:46pm UTC](https://community.dynatrace.com/t/how-to-avoid-creating-duplicate-business-events-when-using-openpipeline/50752/1 "2025-03-17T13:46:21Z")

</div>

Hello, we have a system that runs an SQL query at interval and writes the result in a log file. The log file is ingested in dynatrace via openpipeline and bizevents are extracted from the logs. Unfortunately, the SQL query returns often the same information (it is not a tail but rather it reads the content of a table). This results in many duplicates log entries being created as well as multiple duplicate business events. How can we avoid ingesting duplicate business events when using openpipeline? Is there a way we can filter out the entry if it already exists? Each of our log entries contain an ID which uniquely identifies the entry, thus it would be easy to filter it out.

When attempting to do a lookup or fetch command in DQL in openpipeline it seems like this is not permitted.

Your help and recommandation is appreciated.

---

<div class="post-metadata">

**Author:** ![yanezza](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yanezza/32/5036_2.png) [@yanezza](https://community.dynatrace.com/u/yanezza)\
**Post date:** [April 5, 2025, 9:16pm UTC](https://community.dynatrace.com/t/how-to-avoid-creating-duplicate-business-events-when-using-openpipeline/50752/2 "2025-04-05T21:16:58Z")

</div>

Hi,  
this thread will help you&nbsp;  
[https://community.dynatrace.com/t5/Extensions/Log-Ingestion-From-a-Database-Table/td-p/231961](https://community.dynatrace.com/topic/231961)

TLDR: play with the ingestion system fetching rules or play with filtering option when reading the logs ([dedup](https://docs.dynatrace.com/docs/shortlink/filtering-commands#dedup) for example)
