본문 바로가기

Data/ELK41

[2022.04.28] How to set env ELK Stack on Ubuntu 20.04 ? (v7.x.x) [2022.04.28] How to set env ELK Stack on Ubuntu 20.04 ? (v7.x.x) elasticsearch.yml path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch network.host: 0.0.0.0 http.port: 9200 discovery.type: single-node xpack.security.enabled: true # 실행 안된다면 7번 line 주석처리 vmadmin@vmadmin-virtual-machine:/usr/share/elasticsearch/bin$ ./elasticsearch-setup-passwords auto Initiating the setup of passwo.. 2022. 4. 28.
[2022.04.27] How to install MySQL on ubuntu20.04? (+ Mount & mysql external connect) [2022.04.27] How to install MySQL on ubuntu20.04? (+ Mount & mysql external connect) MySQL 설치 (PASS) wget dev.mysql.com/get/mysql-apt-config_0.8.20-1_all.deb sudo dpkg -i mysql-apt-config_0.8.20-1_all.deb sudo apt-get update sudo apt-get install mysql-server sudo apt-get update 실행 시 발생하는 에러 1 Err:1 http://repo.mysql.com/apt/ubuntu focal InRelease The following signatures couldn't be verified bec.. 2022. 4. 27.
[2022.04.26] How to Install ELK Stack on Ubuntu 20.04 ? (v8.x.x) [2022.04.26] How to Install ELK Stack on Ubuntu 20.04 ? (v8.x.x) ELK 시스템 구축 * 2022-04-26 ELK (version:8.1.3) * Ubuntu_20.04_amd64 1. Linux(Ubuntu20.04)에서 JAVA 및 vim 설치 sudo apt-get update sudo apt-get upgrade sudo apt-get install openjdk-11-jdk java -version + 파일 편집기 sudo apt-get install vim sudo apt install curl 2. wget 으로 ELK 파일 가져오기 wget https://artifacts.elastic.co/downloads/elasticsearch/el.. 2022. 4. 26.
[2021.09.09] How to solve Error: Port 5601 is already in use. Another instance of Kibana may be running! [2021.09.09] How to solve Error: Port 5601 is already in use. Another instance of Kibana may be running! Port 5601 is already in use. Another instance of Kibana may be running! 해당 게시글은, kibana를 실행 하였을 때 위와 같은 에러를 해결하기 위해 작성하였다. 해결방법 1 * lsof -i :port번호 (실행중인 port번호 검색) ubuntu@ip-172-31-5-244:/usr/share/kibana/bin$ sudo lsof -i :5601 -> 위의 명령어로 5601 포트를 어떤 프로세스가 사용하고 있는지 확인할 수 있다. COMMAND PID USE.. 2021. 9. 9.
[2021.09.09] How to change the elastic cluster status from yellow to green? [2021.09.09] How to change the elastic cluster status from yellow to green? 해당 게시글은, elasticsearch를 실행한 상태에서, 상태 조회(아래 화면)를 하였을 때, yellow를 green으로 바꿔주기 위해 작성하였다. curl -XGET -u admin:admin12 http://localhost:9200/_cluster/health?pretty -> xpack을 사용하면 위와 같은 명령어를 사용해줘야 한다 curl -XGET http://localhost:9200/_cluster/health?pretty -> xpack을 사용하지 않을 때 사용하면 된다. ubuntu@ip-172-31-5-244:/usr/share/elasticse.. 2021. 9. 9.
[2021.08.17] 인턴 +169 How to run logstash conf files in the background? [2021.08.17] 인턴 +169 How to run logstash conf files in the background? https://injekim97.tistory.com/350 [2021.07.27] 인턴 +148 How to run elasticsearch and kibana in the background on Linux servers?(daemon run) :: 기초부터 injekim97.tistory.com -> 우리는 kibana 와 elastic을 백그라운드에서 실행하는 방법에 대해 알아봤다. https://injekim97.tistory.com/389 [2021.08.11] 인턴 +163 How to insert json data requested by Postman into AW.. 2021. 8. 17.