# Fortinet module processor fail

**URL:** <https://discuss.elastic.co/t/fortinet-module-processor-fail/264003>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 11, 2021, 11:04am UTC](https://discuss.elastic.co/t/fortinet-module-processor-fail/264003 "2021-02-11T11:04:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas74](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@Thomas74](https://discuss.elastic.co/u/Thomas74)\
**Post date:** [February 11, 2021, 11:04am UTC](https://discuss.elastic.co/t/fortinet-module-processor-fail/264003/1 "2021-02-11T11:04:51Z")

</div>

Hi,

I'm configuring Fortinet module but processor condition added doesn't work and I don't understand why.

Here you have config module :

```auto
- module: fortinet    
  firewall:    
    enabled: true    
    var.input: udp    
    var.syslog_host: 0.0.0.0    
    var.syslog_port: 9999    
    input:                                                                                                                                                                                                                                       
      processors:    
      - add_tags:    
         when:    
            contains:    
               observer.name: "TEST"    
         tags: [test]   

```

If I remove `when` condition, the tag is created.

Do you have an idea on what I made wrong ?

Best regards,

Thomas

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 11, 2021, 1:05pm UTC](https://discuss.elastic.co/t/fortinet-module-processor-fail/264003/2 "2021-03-11T13:05:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
