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}"
}
}