Logstash failed to process cluster event (put-mapping) within 30s

logstash failed to process cluster event (put-mapping) within 30s

Thanks for the help in advance

This typically means that you cluster is overloaded or have a very large cluster state. A common cause for slowness is large number of indices and shards. How many do you have in your cluster?

we were generating the indices on daily basis,and shards we were having more than 4000

That is a lot of shards, especially if you have a small cluster and/or an old version. What is the specification of your cluster?

Issue resolved we re-configured the logstash configuration file again.

Thanks @Christian_Dahlqvist