重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
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问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注创新互联行业资讯频道了解更多相关知识。