# Index name with http input and es\_bulk codec \[Second try\]

**URL:** <https://discuss.elastic.co/t/index-name-with-http-input-and-es-bulk-codec-second-try/185825>\
**Category:** Logstash\
**Created:** [June 14, 2019, 9:45am UTC](https://discuss.elastic.co/t/index-name-with-http-input-and-es-bulk-codec-second-try/185825 "2019-06-14T09:45:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yannis\_despotopoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yannis_despotopoulos/32/48141_2.png) [@yannis\_despotopoulos](https://discuss.elastic.co/u/yannis_despotopoulos)\
**Post date:** [June 14, 2019, 9:45am UTC](https://discuss.elastic.co/t/index-name-with-http-input-and-es-bulk-codec-second-try/185825/1 "2019-06-14T09:45:45Z")

</div>

Hello,

I am facing exactly the same issue as in hte following (not anwered) topic:

# [Index name with http input and es\_bulk codec](https://discuss.elastic.co/t/index-name-with-http-input-and-es-bulk-codec/152650)

using logstash 6.5.2.

Is there a way to get the index submitted from es\_bulk codec?

thanks  
Yannis

---

<div class="post-metadata">

**Author:** ![yannis\_despotopoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yannis_despotopoulos/32/48141_2.png) [@yannis\_despotopoulos](https://discuss.elastic.co/u/yannis_despotopoulos)\
**Post date:** [June 14, 2019, 10:10am UTC](https://discuss.elastic.co/t/index-name-with-http-input-and-es-bulk-codec-second-try/185825/2 "2019-06-14T10:10:01Z")

</div>

I found the answer, the index is in metadata...  
Setting:

```
stdout { 
	codec => rubydebug {
        metadata => true
    }
}

```

I see all input as needed.

cheers  
Yannis

---

<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 12, 2019, 10:10am UTC](https://discuss.elastic.co/t/index-name-with-http-input-and-es-bulk-codec-second-try/185825/3 "2019-07-12T10:10:06Z")

</div>

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