20 Jun 2024 11:00 AM - last edited on 18 Oct 2024 09:56 AM by MaciejNeumann
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?
Solved! Go to Solution.
20 Jun 2024 11:13 AM
you need to create processing rule to drop the unwanted logs
https://docs.dynatrace.com/managed/shortlink/log-monitoring-log-processing-examples
Regards,
20 Jun 2024 12:08 PM
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?
20 Jun 2024 01:19 PM
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
20 Jun 2024 04:09 PM
Still get this response in DQL Query
20 Jun 2024 05:24 PM
Try Without matchesvalues. Are you using classic logs?
20 Jun 2024 04:41 PM
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:
However, you can try other attribute that makes more sense to you. Hope it helps.