0% found this document useful (0 votes)
6 views1 page

Elk Documet

Uploaded by

pappu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Elk Documet

Uploaded by

pappu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

yum install java-1.8.0-openjdk java-1.8.

0-openjdk-devel -y

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

vi /etc/yum.repos.d/elasticsearch.repo

[elasticsearch]
name=Elasticsearch repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=0
autorefresh=1
type=rpm-md

sudo yum install --enablerepo=elasticsearch elasticsearch

sudo systemctl status elasticsearch

vi /etc/elasticsearch/elasticsearch.yml

sudo systemctl restart elasticsearch

vi /etc/kibana/kibana.yml

vi /etc/logstash/logstash.yml

sudo systemctl restart logstash

/etc/logstash/conf.d/logstash.conf

cd /usr/share/logstash/bin/
./logstash -f logstash.conf

/var/log/logstash/

curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.5.3-
x86_64.rpm

sudo rpm -vi filebeat-8.5.3-x86_64.rpm


vi /etc/filebeat/filebeat.yml
sudo filebeat modules enable logstash
sudo filebeat setup
sudo service filebeat start

You might also like