Can not to delete child document

logstash version: 6.4.2
elasticsearch version: 6.4.2

output {
  elasticsearch {
    host => [...]
    action => "delete"
    index => "test"
    document_id => "%{childId}"
    routing => "%{parentId}"
  }
}

or

output {
      elasticsearch {
        host => [...]
        action => "delete"
        index => "test"
        document_id => "%{childId}"
        parent => "%{parentId}"
      }
    }

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