# Managed - Processor definition based on attributes not existing in log

**URL:** <https://community.dynatrace.com/t/managed-processor-definition-based-on-attributes-not-existing-in-log/49619>\
**Category:** Dynatrace Managed\
**Tags:** log-processing, dynatrace-managed, vmware\
**Created:** [January 8, 2025, 3:20pm UTC](https://community.dynatrace.com/t/managed-processor-definition-based-on-attributes-not-existing-in-log/49619 "2025-01-08T15:20:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_loyen](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@chris\_loyen](https://community.dynatrace.com/u/chris_loyen)\
**Post date:** [January 8, 2025, 3:20pm UTC](https://community.dynatrace.com/t/managed-processor-definition-based-on-attributes-not-existing-in-log/49619/1 "2025-01-08T15:20:22Z")

</div>

I’m using the VMware (remote monitoring) extension in Dynatrace Managed, and I want to alert for vCenter alerts (esxi down, ha failover event, certificate status, NOT the appliance itself (cpu, diskspace, ram usage etc)

I haven’t found an obvious way to do this, but after analysis of all the logs coming from the vcenter.address I think that all logs I DON’T want have either a host.id or a vm.id attribute.

Is it possible to use processor definitions to create a field based on the non-existence of these fields?  
I tried something like this but it doesn’t work:

USING(IN host.id:STRING, IN vm.id:STRING)  
| FIELDS\_ADD(vmcenterevent:IF\_THEN(host.id == “” AND vm.id == “”, true))

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 9, 2025, 7:49am UTC](https://community.dynatrace.com/t/managed-processor-definition-based-on-attributes-not-existing-in-log/49619/2 "2025-01-09T07:49:30Z")

</div>

Hi,

I would create a [Log custom attribute](https://docs.dynatrace.com/docs/shortlink/lma-log-custom-attributes) in advance. And you can link it in your processing rule definition.

Best regards
