Hi,
I don't know if this is still up to date but would something like this work for you? Monitoring dead letter queue (DLQ)
There is a LogStash REST API which exposes LogStash metrics and according to this post there is a field describing the dlq size in bytes.
Best regards
Wolfram