The log-stash is printing continuous errors
retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2018-07-31T12:57:21.076000+0530", :message=>"Got error to send bulk of actions: blocked by: [SERVICE_UNAVAILABLE/2/no master];", :level=>:error}
{:timestamp=>"2018-07-31T12:57:21.082000+0530", :message=>"Failed to flush outgoing items", :outgoing_count=>187, :exception=>"Java::OrgElasticsearchClusterBl
Please guide on this .Also Elastic search have no errors and running state.
Logstash version 1.7 and elastic 1.6
Cluster Health
status "red"
timed_out false
number_of_nodes 5
number_of_data_nodes 1
active_primary_shards 558
active_shards 558
relocating_shards 0
initializing_shards 0
unassigned_shards 483
Help me to resolve issue.