# Ingest node pipeline error

**URL:** <https://discuss.elastic.co/t/ingest-node-pipeline-error/255694>\
**Category:** Elasticsearch\
**Created:** [November 17, 2020, 12:34pm UTC](https://discuss.elastic.co/t/ingest-node-pipeline-error/255694 "2020-11-17T12:34:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adriann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriann/32/77780_2.png) [@Adriann](https://discuss.elastic.co/u/Adriann)\
**Post date:** [November 17, 2020, 12:34pm UTC](https://discuss.elastic.co/t/ingest-node-pipeline-error/255694/1 "2020-11-17T12:34:20Z")

</div>

I want to set up an ingest node pipeline that will add new field based on host.hostname that is all lower cased.

I made something like this

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b95e475644617cf900cedf1fb3ac376fe188861.png)

But I got this error that I don't understand.

`2020-11-17T13:31:41.473+0100 WARN [elasticsearch] elasticsearch/client.go:407 Cannot index event publisher.Event{Content:beat.Event{[...] Flags:0x0, Cache:publisher.EventCache{m:common.MapStr(nil)}} (status=400): {"type":"illegal_argument_exception","reason":"cannot set [lowerr] with parent object of type [java.lang.String] as part of path [host.hostname.lowerr]"`

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [November 17, 2020, 12:42pm UTC](https://discuss.elastic.co/t/ingest-node-pipeline-error/255694/2 "2020-11-17T12:42:46Z")

</div>

```auto
host.hostname

```

Is already exist as part of the ECS and i guess it's mapped as keywork  
so you need to use something like

```auto
host.hostname_lowerr

```

---

<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:** [December 15, 2020, 12:42pm UTC](https://discuss.elastic.co/t/ingest-node-pipeline-error/255694/3 "2020-12-15T12:42:53Z")

</div>

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