# Comment are interpreted?

**URL:** <https://discuss.elastic.co/t/comment-are-interpreted/54853>\
**Category:** Logstash\
**Created:** [July 6, 2016, 5:02pm UTC](https://discuss.elastic.co/t/comment-are-interpreted/54853 "2016-07-06T17:02:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonin42](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@antonin42](https://discuss.elastic.co/u/antonin42)\
**Post date:** [July 6, 2016, 5:02pm UTC](https://discuss.elastic.co/t/comment-are-interpreted/54853/1 "2016-07-06T17:02:44Z")

</div>

Hello, just found out that this :

```
filter {
  mutate {
    add_field => {
    # some comment
    "[@metadata][uuid]" => "%{NUM_TEL}_%{DATE_APPEL}"
    "[@metadata][es]" => "true"
    }
  }
}

```

works just fine,

and this :

```
filter {
  mutate {
    add_field => {
    # some comment
    "[@metadata][uuid]" => "%{NUM_TEL}_%{DATE_APPEL}"
    # some other comment
    "[@metadata][es]" => "true"
    }
  }
}  

```

Does not work because there is a comment between two fields ( # some other comment ). Is this a wanted behavior ?

Thanks for your answer.

Best,  
Anto

---

<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:** [July 6, 2017, 4:49am UTC](https://discuss.elastic.co/t/comment-are-interpreted/54853/2 "2017-07-06T04:49:17Z")

</div>


