Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This page details various ways of getting the Logging ELK stack up in ONAP

OOM - Out of the Box

Recommended

Install OOM - via ONAP on Kubernetes

# in oneclick dir
./createAll -n onap -a log


Standalone ELK stack

Docker Compose

(will not work with OOM/Rancher because we need the 1.12 version of docker.

Manual Installation

WIP


248  cd /opt

  249  ls

  250  wget https://artifacts.elastic.co/downloads/logstash/logstash-5.4.3.deb

  251  curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.3.deb

  252  wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.3.deb

  253  wget https://artifacts.elastic.co/downloads/kibana/kibana-5.4.3-amd64.deb

  254  ls

  255  ls -la

  256  history

  257  sha1sum elasticsearch-5.5.2.deb

  258  ls

  259  sha1sum elasticsearch-5.4.3.deb

  260  sudo dpkg -i elasticsearch-5.4.3.deb

  261  vi /etc/elasticsearch/elasticsearch.yml 

  262  systemctl start elasticsearch

  263  systemctl status elasticsearch

  264  vi /etc/elasticsearch/elasticsearch.yml 

  265  ls /var/lib/elasticsearch/

  266  ls /var/log/elasticsearch/

  267  systemctl status elasticsearch

  268  systemctl stop elasticsearch

  269  systemctl start elasticsearch

  270  systemctl status elasticsearch

  271  systemctl status elasticsearch.service

  272  sudo journalctl -f

  273  java -version

  274  sudo apt-get install oracle-java8-installer

  275  sudo apt-get install default-jdk

  276  java -version

  277  systemctl start elasticsearch

  278  systemctl status elasticsearch

  279  curl localhost:9200

  280  history

  281  dir

  282  sha1sum logstash-5.4.3.deb

  283  sudo dpkg -i logstash-5.4.3.deb

  284  vi /etc/logstash/logstash.yml 

  285  ls /home/ubuntu/

  286  cp /home/ubuntu/sdc.conf 

  287  cp /home/ubuntu/sdc.conf .

  288  ls

  289  cd /etc/logstash/conf.d/

  290  cp /opt/sdc.conf .

  291  ls

  292  cd /opt

  293  systemclt start logstash

  294  systemctl start logstash

  295  systemctl status logstash

  296  curl localhost:9200/_cat/indices?v

  297  sha1sum kibana-5.4.3.deb

  298  ls

  299  sha1sum kibana-5.4.3-amd64.deb 

  300  sudo dpkg -i kibana-5.4.3-amd64.deb 

  301  vi /etc/kibana/kibana.yml 

  302  systemctl start kibana.service

  303  systemctl status kibana.service

  304  kubectl get pods --all-namespaces

  




  • No labels