# Log Ingest

**URL:** <https://community.dynatrace.com/t/log-ingest/46222>\
**Category:** Logs\
**Tags:** log-configuration, log-monitoring-class\
**Created:** [June 20, 2024, 10:00am UTC](https://community.dynatrace.com/t/log-ingest/46222 "2024-06-20T10:00:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pabloabad](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@Pabloabad](https://community.dynatrace.com/u/Pabloabad)\
**Post date:** [June 20, 2024, 10:00am UTC](https://community.dynatrace.com/t/log-ingest/46222/1 "2024-06-20T10:00:15Z")

</div>

Good morning,  
I have activated the option to ingest the logs from the wiondows event viewer, but I would like to ingest only the logs that come from a specific “winlog.provider”.  
Is it possible to do this and not ingest the rest? or should I always filter from logs and events to be able to see it?

 ![image.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/c/bc6aead3748aacb25be76b11a62da69b8c6ddc7e.png)

---

<div class="post-metadata">

**Author:** ![Esam\_Eid](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/esam_eid/32/167_2.png) [@Esam\_Eid](https://community.dynatrace.com/u/Esam_Eid)\
**Post date:** [June 20, 2024, 10:13am UTC](https://community.dynatrace.com/t/log-ingest/46222/2 "2024-06-20T10:13:27Z")

</div>

you need to create processing rule to drop the unwanted logs

[https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/log-processing/log-processing-examples#lpexample12](https://docs.dynatrace.com/managed/observe-and-explore/log-monitoring/log-processing/log-processing-examples#lpexample12)

[https://docs.dynatrace.com/managed/shortlink/log-monitoring-log-processing-examples](https://docs.dynatrace.com/managed/shortlink/log-monitoring-log-processing-examples)

Regards,

---

<div class="post-metadata">

**Author:** ![Pabloabad](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@Pabloabad](https://community.dynatrace.com/u/Pabloabad)\
**Post date:** [June 20, 2024, 11:08am UTC](https://community.dynatrace.com/t/log-ingest/46222/3 "2024-06-20T11:08:00Z")

</div>

Thanks for the answer.

But actually is harder for us to filter out all the logs that we don’t want than filter in the ones that we want.

Is it posible to make a rule to filter only the logs we want?

---

<div class="post-metadata">

**Author:** ![Esam\_Eid](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/esam_eid/32/167_2.png) [@Esam\_Eid](https://community.dynatrace.com/u/Esam_Eid)\
**Post date:** [June 20, 2024, 12:19pm UTC](https://community.dynatrace.com/t/log-ingest/46222/4 "2024-06-20T12:19:04Z")

</div>

Create a processing rule like

**matcher**

log.source=“Windows Application Log” AND winlog.provider\*\*!=\*\*“.Net Runtime” AND dt.entity.process\_group\_instance=“XXXXXXX”

**process definition**

FILTER\_OUT(true)

move it to the last rule

Hopefully it will work for you

---

<div class="post-metadata">

**Author:** ![Pabloabad](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@Pabloabad](https://community.dynatrace.com/u/Pabloabad)\
**Post date:** [June 20, 2024, 3:09pm UTC](https://community.dynatrace.com/t/log-ingest/46222/5 "2024-06-20T15:09:41Z")

</div>

Still get this response in DQL Query

 ![image.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/9/e9e1295c89fe6c61b5fc4623f4c0546eca103ff0.png)

---

<div class="post-metadata">

**Author:** ![Eric\_Yu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/eric_yu/32/20360_2.png) [@Eric\_Yu](https://community.dynatrace.com/u/Eric_Yu)\
**Post date:** [June 20, 2024, 3:41pm UTC](https://community.dynatrace.com/t/log-ingest/46222/6 "2024-06-20T15:41:11Z")

</div>

Seems like there isn’t a filter for winlog.provider, but a workaround could be to use another property that you’ve identified that only comes with logs that come from that provider.

My first thought would be to use the log content with wildcards for matching:

 ![Eric_Yu_0-1718898015131.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/1/91c4c83504503583ac5a77b711f3e84cfbe61c9b.png)

However, you can try other attribute that makes more sense to you. Hope it helps.

---

<div class="post-metadata">

**Author:** ![Esam\_Eid](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/esam_eid/32/167_2.png) [@Esam\_Eid](https://community.dynatrace.com/u/Esam_Eid)\
**Post date:** [June 20, 2024, 4:24pm UTC](https://community.dynatrace.com/t/log-ingest/46222/7 "2024-06-20T16:24:29Z")

</div>

Try Without matchesvalues. Are you using classic logs?
