使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

LogStash2.3.4 worker_states sleep

匿名 | 发布于2017年07月11日 | 阅读数:3174

最近不知道为什么,LogStash2.3.4执行一段时间以后就抓不到日志了,也可能是某条日志内容导致线程休眠了,然后只能重启logstash

下面是logstash日志
{
: timestamp=>"2017-07-11T08:32:15.739000+0800",
: message=>#<LogStash: : PipelineReporter: : Snapshot: 0x7ad42070@data={
: events_filtered=>151372,
: events_consumed=>151372,
: worker_count=>8,
: inflight_count=>68,
: worker_states=>[
{
: status=>"sleep",
: alive=>true,
: index=>0,
: inflight_count=>4
},
{
: status=>"sleep",
: alive=>true,
: index=>1,
: inflight_count=>7
},
{
: status=>"sleep",
: alive=>true,
: index=>2,
: inflight_count=>2
},
{
: status=>"sleep",
: alive=>true,
: index=>3,
: inflight_count=>7
},
{
: status=>"sleep",
: alive=>true,
: index=>4,
: inflight_count=>6
},
{
: status=>"run",
: alive=>true,
: index=>5,
: inflight_count=>24
},
{
: status=>"sleep",
: alive=>true,
: index=>6,
: inflight_count=>13
},
{
: status=>"sleep",
: alive=>true,
: index=>7,
: inflight_count=>5
}
],
: output_info=>[
{
: type=>"elasticsearch",
: config=>{
"hosts"=>[
"192.168.1.114:9200"
],
"__ALLOW_ENV__"=>false
},
: is_multi_worker=>false,
: events_received=>151372,
: workers=><Java: : JavaUtilConcurrent: : CopyOnWriteArrayList: -749197425[
<LogStash: : Outputs: : ElasticSearchhosts=>[
"192.168.1.114:9200"
],
codec=><LogStash: : Codecs: : Plaincharset=>"UTF-8">,
workers=>1,
index=>"logstash-%{+YYYY.MM.dd}",
manage_template=>true,
template_name=>"logstash",
template_overwrite=>false,
flush_size=>500,
idle_flush_time=>1,
doc_as_upsert=>false,
max_retries=>3,
script_type=>"inline",
script_var_name=>"event",
scripted_upsert=>false,
retry_max_interval=>2,
retry_max_items=>500,
retry_on_conflict=>1,
action=>"index",
ssl_certificate_verification=>true,
sniffing=>false,
sniffing_delay=>5>
]>,
: busy_workers=>1
}
],
: thread_info=>[
{
"thread_id"=>17,
"name"=>"[main]<rabbitmq",
"plugin"=>nil,
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/util/wrapped_synchronous_queue.rb:17:in `push'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:256:in `internal_queue_consume!'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-codec-json-2.1.4/lib/logstash/codecs/json.rb:61:in `legacy_parse'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-codec-json-2.1.4/lib/logstash/codecs/json.rb:38:in `decode'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:250:in `internal_queue_consume!'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:230:in `consume!'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:190:in `run'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:342:in `inputworker'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:336:in `start_input'"
],
"blocked_on"=>"blocked_on_push",
"status"=>"run",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/util/wrapped_synchronous_queue.rb:17:in `push'"
},
{
"thread_id"=>20,
"name"=>"[main]<rabbitmq",
"plugin"=>nil,
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/util/wrapped_synchronous_queue.rb:17:in `push'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:256:in `internal_queue_consume!'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-codec-json-2.1.4/lib/logstash/codecs/json.rb:61:in `legacy_parse'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-codec-json-2.1.4/lib/logstash/codecs/json.rb:38:in `decode'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:250:in `internal_queue_consume!'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:230:in `consume!'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-rabbitmq-4.1.0/lib/logstash/inputs/rabbitmq.rb:190:in `run'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:342:in `inputworker'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:336:in `start_input'"
],
"blocked_on"=>"blocked_on_push",
"status"=>"run",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/util/wrapped_synchronous_queue.rb:17:in `push'"
},
{
"thread_id"=>29,
"name"=>"[main]>worker0",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>30,
"name"=>"[main]>worker1",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>31,
"name"=>"[main]>worker2",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>32,
"name"=>"[main]>worker3",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>33,
"name"=>"[main]>worker4",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>34,
"name"=>"[main]>worker5",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/response.rb:50:in `call'",
"[...]/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/response.rb:256:in `call_once'",
"[...]/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/response.rb:153:in `code'",
"[...]/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.18/lib/elasticsearch/transport/transport/http/manticore.rb:84:in `perform_request'",
"[...]/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.18/lib/elasticsearch/transport/transport/base.rb:257:in `call'",
"[...]/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.18/lib/elasticsearch/transport/transport/base.rb:257:in `perform_request'",
"[...]/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.18/lib/elasticsearch/transport/transport/http/manticore.rb:67:in `perform_request'",
"[...]/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.18/lib/elasticsearch/transport/client.rb:128:in `perform_request'",
"[...]/vendor/bundle/jruby/1.9/gems/elasticsearch-api-1.0.18/lib/elasticsearch/api/actions/bulk.rb:90:in `bulk'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:53:in `non_threadsafe_bulk'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:38:in `bulk'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:38:in `synchronize'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:38:in `bulk'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/common.rb:172:in `safe_bulk'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/common.rb:101:in `submit'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/common.rb:86:in `retrying_submit'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/common.rb:29:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/common.rb:28:in `each_slice'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.7.1-java/lib/logstash/outputs/elasticsearch/common.rb:28:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:130:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:129:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"run",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/response.rb:50:in `call'"
},
{
"thread_id"=>35,
"name"=>"[main]>worker6",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>36,
"name"=>"[main]>worker7",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"backtrace"=>[
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `worker_multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:114:in `multi_receive'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `each'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:301:in `output_batch'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:232:in `worker_loop'",
"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201:in `start_workers'"
],
"blocked_on"=>nil,
"status"=>"sleep",
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
}
],
: stalling_threads_info=>[
{
"thread_id"=>29,
"name"=>"[main]>worker0",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>30,
"name"=>"[main]>worker1",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>31,
"name"=>"[main]>worker2",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>32,
"name"=>"[main]>worker3",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>33,
"name"=>"[main]>worker4",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>34,
"name"=>"[main]>worker5",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/response.rb:50:in `call'"
},
{
"thread_id"=>35,
"name"=>"[main]>worker6",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
},
{
"thread_id"=>36,
"name"=>"[main]>worker7",
"plugin"=>[
"LogStash::Filters::Date",
{
"match"=>[
"LogTime",
"YYYY-MM-dd'T'HH:mm:ss.SSSSSSSS'+08:00'"
],
"timezone"=>"UTC"
}
],
"current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:128:in `pop'"
}
]
}>,
: level=>: warn
}
{
: timestamp=>"2017-07-11T08:32:15.764000+0800",
: message=>"The shutdown process appears to be stalled due to busy or blocked plugins. Check the logs for more information.",
: level=>: error
}
已邀请:
匿名用户

匿名用户

赞同来自:

问题已解决
以前插入elasticsearch时索引是根据日志自动创建的,然后就导致logstash停止,现在改成提前一天创建日志索引就解决了

要回复问题请先登录注册