Logstash upsert not working

Hy all,

I've some problem with the upsert .

Example:

if I have two index like

logstash-2018.06.20
logstash-2018.06.21

and I use in Logstash's output section:

        action => "update"

        doc_as_upsert => "true"

        document_id => "%{monitor_id}"

when there is same %{monitor_id}, the upsert doesn't work fine.

It creates same %{monitor_id} on either index and it's not correct.

Can you help me?

Thanks,

Salvatore

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