您好,登錄后才能下訂單哦!
ubuntu16.04系統中怎么安裝logstash,針對這個問題,這篇文章詳細介紹了相對應的分析和解答,希望可以幫助更多想解決這個問題的小伙伴找到更簡單易行的方法。
下載
cd /app wget https://artifacts.elastic.co/downloads/logstash/logstash-7.3.1.tar.gz tar zxvf logstash-7.3.1.tar.gz
測試
bin/logstash -e 'input { stdin { } } output { stdout {} }' root@localhost:/app/logstash-7.3.1# bin/logstash -e 'input { stdin { } } output { stdout {} }' Thread.exclusive is deprecated, use Thread::Mutex Sending Logstash logs to /app/logstash-7.3.1/logs which is now configured via log4j2.properties [2019-09-11T14:46:01,604][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified [2019-09-11T14:46:05,986][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. The stdin plugin is now waiting for input: 1 /app/logstash-7.3.1/vendor/bundle/jruby/2.5.0/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated { "@version" => "1", "@timestamp" => 2019-09-11T06:46:33.337Z, "message" => "1", "host" => "localhost" } 2 { "@version" => "1", "@timestamp" => 2019-09-11T06:46:43.956Z, "message" => "2", "host" => "localhost" }
關于ubuntu16.04系統中怎么安裝logstash問題的解答就分享到這里了,希望以上內容可以對大家有一定的幫助,如果你還有很多疑惑沒有解開,可以關注億速云行業資訊頻道了解更多相關知識。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。