# ECS compatibility target info message

**URL:** <https://discuss.elastic.co/t/ecs-compatibility-target-info-message/304244>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [May 9, 2022, 11:26am UTC](https://discuss.elastic.co/t/ecs-compatibility-target-info-message/304244 "2022-05-09T11:26:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thibveni](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@thibveni](https://discuss.elastic.co/u/thibveni)\
**Post date:** [May 9, 2022, 11:26am UTC](https://discuss.elastic.co/t/ecs-compatibility-target-info-message/304244/1 "2022-05-09T11:26:54Z")

</div>

Hello, i'm using logstash in v8.1.3 and since the upgrade in v8 i have this info message:

```auto
logstash_1 | [2022-05-09T09:57:59,861][INFO][logstash.codecs.jsonlines] ECS compatibility is enabled but `target` option was not specified. This may cause fields to be set at the top-level of the event where they are likely to clash with the Elastic Common Schema. It is recommended to set the `target` option to avoid potential schema conflicts (if your data is ECS compliant or non-conflicting, feel free to ignore this message)
logstash_1 | [2022-05-09T09:58:02,427][INFO][logstash.codecs.json][main] ECS compatibility is enabled but `target` option was not specified. This may cause fields to be set at the top-level of the event where they are likely to clash with the Elastic Common Schema. It is recommended to set the `target` option to avoid potential schema conflicts (if your data is ECS compliant or non-conflicting, feel free to ignore this message)

```

i don't want to disable esc\_compatibility, but i'm searching a way to configure all properly to don't have this message.  
Here is one of my pipeline containing json codec:

```auto
 input {
   http {
     host => "${LS_INPUT_HTTP_HOST:0.0.0.0}" # default: 0.0.0.0
     port => "${LS_INPUT_HTTP_PORT:8080}" # default: 8080
     additional_codecs =>{"application/json-seq"=>"json_lines" }
   }
 }

```

i checked the documentation

> **[Json\_lines codec plugin | Logstash Reference \[8.2\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-json_lines.html#plugins-codecs-json_lines-target)**

i don't want to specify other target than root/toplevel. What should i do ?  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 9, 2022, 1:28pm UTC](https://discuss.elastic.co/t/ecs-compatibility-target-info-message/304244/2 "2022-05-09T13:28:46Z")

</div>

> [@thibveni](#):
>
> `feel free to ignore this message`

You can ignore that message. Also, see [this](https://discuss.elastic.co/t/json-codec-plugin-target-option-http-input/304217/2).

---

<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:** [June 6, 2022, 1:28pm UTC](https://discuss.elastic.co/t/ecs-compatibility-target-info-message/304244/3 "2022-06-06T13:28:48Z")

</div>

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