I need a query to find out and pin point the index queue got congested and which slow down the indexing process.
The Monitoring Console can do that for you.
If you want to roll your own, start with
index=_internal component=Metrics blocked=true