logstash stopped
Posted: Sun May 08, 2016 9:54 pm
one of logstash was stopped and there are a lot of messages like this
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
after i restart logstash, the log is coming in again.
1. The logstash status is running. We cannot see two days log. That means we lost two days log?
2. how can we make sure logstash is receiving logs and working?
3. can we have a query in command line to query host log status? as one of host will keep to send log in every seconds and we want to check if the log is sending to logstash.
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.527000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
{:timestamp=>"2016-05-07T04:55:07.528000+0000", :message=>"retrying failed action with response code: 503", :level=>:warn}
after i restart logstash, the log is coming in again.
1. The logstash status is running. We cannot see two days log. That means we lost two days log?
2. how can we make sure logstash is receiving logs and working?
3. can we have a query in command line to query host log status? as one of host will keep to send log in every seconds and we want to check if the log is sending to logstash.