Index name with http input and es_bulk codec [Second try]

Hello,

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

Index name with http input and es_bulk codec

using logstash 6.5.2.

Is there a way to get the index submitted from es_bulk codec?

thanks
Yannis

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

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

I see all input as needed.

cheers
Yannis

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