[root@localhost docker]# docker logs -f logstash
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/usr/share/logstash/logstash-core/lib/jars/jruby-complete-9.2.8.0.jar) to field java.io.FileDescriptor.fd
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Thread.exclusive is deprecated, use Thread::Mutex
Sending Logstash logs to /usr/share/logstash/logs which is now configured via log4j2.properties
[2021-12-26T15:58:29,328][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.queue", :path=>"/usr/share/logstash/data/queue"}
[2021-12-26T15:58:29,336][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.dead_letter_queue", :path=>"/usr/share/logstash/data/dead_letter_queue"}
[2021-12-26T15:58:29,495][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.5.1"}
[2021-12-26T15:58:29,507][INFO ][logstash.agent ] No persistent UUID file found. Generating new UUID {:uuid=>"250e82ed-3f29-44c2-975a-6eaa38c2ccc1", :path=>"/usr/share/logstash/data/uuid"}
[2021-12-26T15:58:30,113][INFO ][logstash.licensechecker.licensereader] Elasticsearch pool URLs updated {:changes=>{:removed=>[], :added=>[http://172.17.0.2:9200/]}}
[2021-12-26T15:58:30,222][WARN ][logstash.licensechecker.licensereader] Restored connection to ES instance {:url=>"http://172.17.0.2:9200/"}
[2021-12-26T15:58:30,252][INFO ][logstash.licensechecker.licensereader] ES Output version determined {:es_version=>7}
[2021-12-26T15:58:30,253][WARN ][logstash.licensechecker.licensereader] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=>7}
[2021-12-26T15:58:30,368][INFO ][logstash.monitoring.internalpipelinesource] Monitoring License OK
[2021-12-26T15:58:30,370][INFO ][logstash.monitoring.internalpipelinesource] Validated license for monitoring. Enabling monitoring pipeline.
[2021-12-26T15:58:30,979][INFO ][org.reflections.Reflections] Reflections took 17 ms to scan 1 urls, producing 20 keys and 40 values
[2021-12-26T15:58:31,171][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.RubyArray) has been create for key: cluster_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.
[2021-12-26T15:58:31,173][INFO ][logstash.javapipeline ] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>4, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>500, "pipeline.sources"=>["/usr/share/logstash/pipeline/logstash.conf"], :thread=>"#<Thread:0x4a84adf3 run>"}
[2021-12-26T15:58:31,413][INFO ][logstash.inputs.beats ] Beats inputs: Starting input listener {:address=>"0.0.0.0:5044"}
[2021-12-26T15:58:31,417][INFO ][logstash.javapipeline ] Pipeline started {"pipeline.id"=>"main"}
[2021-12-26T15:58:31,474][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[2021-12-26T15:58:31,511][INFO ][org.logstash.beats.Server] Starting server on port: 5044
[2021-12-26T15:58:32,096][WARN ][logstash.outputs.elasticsearch] You are using a deprecated config setting "document_type" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Document types are being deprecated in Elasticsearch 6.0, and removed entirely in 7.0. You should avoid this feature If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=>"document_type", :plugin=><LogStash::Outputs::ElasticSearch bulk_path=>"/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s", hosts=>[http://172.17.0.2:9200], sniffing=>false, manage_template=>false, id=>"6f7cd612fa4b5c07098d8a289188039c81ec60c0daaec2f3aa43b4924615e9c0", document_type=>"%{[@metadata][document_type]}", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_bfc197e9-4be2-4013-b63f-1614eb854c0a", enable_metric=>true, charset=>"UTF-8">, workers=>1, template_name=>"logstash", template_overwrite=>false, doc_as_upsert=>false, script_type=>"inline", script_lang=>"painless", script_var_name=>"event", scripted_upsert=>false, retry_initial_interval=>2, retry_max_interval=>64, retry_on_conflict=>1, ilm_enabled=>"auto", ilm_rollover_alias=>"logstash", ilm_pattern=>"{now/d}-000001", ilm_policy=>"logstash-policy", action=>"index", ssl_certificate_verification=>true, sniffing_delay=>5, timeout=>60, pool_max=>1000, pool_max_per_route=>100, resurrect_delay=>5, validate_after_inactivity=>10000, http_compression=>false>}
[2021-12-26T15:58:32,128][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=>{:removed=>[], :added=>[http://172.17.0.2:9200/]}}
[2021-12-26T15:58:32,141][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>"http://172.17.0.2:9200/"}
[2021-12-26T15:58:32,145][INFO ][logstash.outputs.elasticsearch] ES Output version determined {:es_version=>7}
[2021-12-26T15:58:32,145][WARN ][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=>7}
[2021-12-26T15:58:32,174][INFO ][logstash.outputs.elasticsearch] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["http://172.17.0.2:9200"]}
[2021-12-26T15:58:32,176][INFO ][logstash.javapipeline ] Starting pipeline {:pipeline_id=>".monitoring-logstash", "pipeline.workers"=>1, "pipeline.batch.size"=>2, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>2, "pipeline.sources"=>["monitoring pipeline"], :thread=>"#<Thread:0x565fd127 run>"}
[2021-12-26T15:58:32,217][INFO ][logstash.javapipeline ] Pipeline started {"pipeline.id"=>".monitoring-logstash"}
[2021-12-26T15:58:32,235][INFO ][logstash.agent ] Pipelines running {:count=>2, :running_pipelines=>[:main, :".monitoring-logstash"], :non_running_pipelines=>[]}
[2021-12-26T15:58:32,323][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
不知道为什么停住了,没有刷新了。