• Home
  • About
    • Mayaul photo

      Mayaul

      hello woooooorld.

    • Learn More
    • Facebook
    • LinkedIn
    • Github
  • Posts
    • All Posts
    • All Tags
  • Projects

elastic stack 처음 사용 해볼 떄

25 May 2020

Reading time ~1 minute

설치하기

  • brew 설치
    brew tap elastic/tap
    brew install elastic/tap/elasticsearch-full
    brew install elastic/tap/kibana-full
    brew install elastic/tap/filebeat-full
    brew install elastic/tap/logstash-full
    

서비스 시작

ElasticSearch

vi ~/.profile
#.profile 파일 수정
... 
export $ES_HOME="/usr/local/var/homebrew/linked/elasticsearch-full"
...
#.profile 파일 수정
source ~/.profile
$ES_HOME/bin/elasticsearch -d -p pid
#-d 데몬모드, -p는 pid 를 저장하기 위해서 

http://localhost:9200 으로 확인

Kibana

brew services start elastic/tap/kibana-full

Logstash

brew services start elastic/tap/logstash-full

샘플 파일

  • elastic search sample 파일 다운로드 받기
    • https://www.elastic.co/guide/en/kibana/7.6/tutorial-build-dashboard.html#load-dataset

      참고 링크

  • https://www.elastic.co/guide/en/elasticsearch/reference/7.13/brew.html


elastic stackelastickibanafilebeatlogstash Share Tweet +1