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进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。