Can't query by IDs using logstash-filter-elasticserach

Hey folks,

I’m using the logstash-filter-elasticsearch and I’d like to query using IDs (IDs | Elasticsearch Guide [8.2] | Elastic), and I find myself unable.

Does anyone have any idea on how to work around that? The problem I’m having is that I can’t interpolate an array into the query, you can only interpolate strings...

In the end, what gets sent in the HTTP request to Elasticsearch is a string, so the question is: what form is your data currently in, and what string to you want to convert that to so that you can interpolate it?