Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ubuntu14 install logstash5.3.1

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

View version

Lsb_release-a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 14.04.5 LTS

Release: 14.04

Codename: trusty

Uninstall the deb version of logstashcp / etc/logstash/conf.d/*.conf / bakservice stop logstash dpkg-P logstashrm / usr/share/logstashrm / etc/logstashrm / var/lib/logstashrm / var/log/logstash download the corresponding version of logstashwget https://artifacts.elastic.co/downloads/logstash/logstash-5.3.1.zipunzip logstash-5.3.1.zip-d / data/software/ln-sv logstash-5.3.1 logstashcd logstash edit configuration file vim config/logstash .yml pipeline.workers: 8pipeline.output.workers: 8pipeline.batch.size: 10000pipeline.batch.delay: 10vim config/jvm.options-Xms2g-Xmx2g create configuration file mkdir conf.dtouch conf.d/index.conf # business profile mkdir data/data {1meme2 3 mkdir logs/log 4 elk.elk data/chown 5} useradd elk chown-R elk.elk data/chown-R elk.elk logs/ install supervisor

Pip install supervisor

Mkdir / etc/supervisor

Create the main configuration file cat > > supervisord.conf logstash2.conf

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report