How to know the logstash indexing rate?

I have implemented a pipeline like the below:
kafka--->logstash--->Elasticsearch

  1. How to find the indexing rate?
  2. Is there any mechanism via logstash to get the indexing rate?
  3. Also, how to find indexing rate from Elasticsearch side too?

@arunpmohan you can get elasticsearch indexing rate at monitoring.
Go to Kibana -> monitoring tab -> Indices -> click on Index rate
to get the rates sorted.
If you click on a index name should see a index rate with the time graph.

Additionally, you can turn logstash monitoring and see exactly what is going on. Then you would see how well the pipeline is performing. https://www.elastic.co/guide/en/logstash/current/logstash-pipeline-viewer.html