Get the App
SLTechnology News&Howtos  ›  Servers  › 

Ubuntu14 install logstash5.3.1

Shulou Source: shulou.com Published: 2022-06-02 16:39:30 09月22日 Update

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

Tags: File configuration version business path build run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker MariaDB OPPO Reno Linux