# Inrepolation logstash 7.11.1

**URL:** <https://discuss.elastic.co/t/inrepolation-logstash-7-11-1/277571>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [July 1, 2021, 3:08pm UTC](https://discuss.elastic.co/t/inrepolation-logstash-7-11-1/277571 "2021-07-01T15:08:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakabluk](https://avatars.discourse-cdn.com/v4/letter/z/8baadc/32.png) [@zakabluk](https://discuss.elastic.co/u/zakabluk)\
**Post date:** [July 1, 2021, 3:08pm UTC](https://discuss.elastic.co/t/inrepolation-logstash-7-11-1/277571/1 "2021-07-01T15:08:18Z")

</div>

I haw been logstash version 6.X and my logstash output S3 worked. I use prefix at output:

```auto
prefix => “dillinger-stat-message/%{+YYYY.MM.dd}/%{host[name]}/%{source}”

```

when I migrate to logstash version 7.11.1(docker, filebeat left the same ) I become get error:

```auto
[ERROR][logstash.javapipeline][main] Pipeline worker error, the pipeline will be stopped {:pipeline_id=>"main", :error=>"Invalid FieldReference: `host[name]`", 

```

when I use

```auto
prefix => “dillinger-stat-message/%{+YYYY.MM.dd}/%{host}/%{source}”

```

I get prefixe with path where is %{host} equile

```auto
{'name':'my-host-name'}

```

I tryed a lof of wariants but don't fix my pain. Pls help me and maybe claryfi for me ho it's work? how I am able get list all variable, maybe.

---

<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:** [July 1, 2021, 4:28pm UTC](https://discuss.elastic.co/t/inrepolation-logstash-7-11-1/277571/2 "2021-07-01T16:28:09Z")

</div>

> [@zakabluk](#):
>
> `:error=>"Invalid FieldReference: `host[name]`",`

logstash stopped supporting ambiguous field references. Change it to  
`%{[host][name]}`

---

<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 29, 2021, 4:28pm UTC](https://discuss.elastic.co/t/inrepolation-logstash-7-11-1/277571/3 "2021-07-29T16:28:11Z")

</div>

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