Elasticsearch takes time to update simple index

Hi,
I have installed ES and Logstash 7.2.0 in 2 servers and I tried pushing a simple text file from Logstash to ES.
The Logstash seems to send the data quickly, however, the ES takes about 5 mins (everytime) to update this data in its index.

Please help me out with this.