ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Kibana 4.x beta Build and Run
    기록./2015 2016. 1. 28. 22:13
    반응형

    프롤로그 Prologue

    현재 저의 경우 ELK(kibana 3.x)를 구축하여 실시간 모니터링 서비스로 사용하고 있습니다. 설치 및 사용 가이드는 추후 올릴 예정입니다.
    위 문서는 kibana 4.x beta버전을 빌드 하고 설치 및 관련 후기를 적어 놓은 문서입니다.
    틀린 점 및 부족한 점이 있다면 코멘트 달아주시길 바랍니다.

    Kibana 4.x Build하기

    1. git clone

    1
    git clone https://github.com/elasticsearch/kibana.git

    2. kibana 폴더로 이동

    1
    cd kibana

    3. npm command install, 의존성 있는 모듈 설치

    1
    2
    yum install npm
    npm install

    4. grunt command install

    1
    npm install grunt-cli  /npm install -g grunt-cli

    5. grunt build

    1
    grunt build



    TroubleShooting-1
    build를 하면 다음과 같은 에러가 나오는경우 6번 명령어를 실행하여 해당 모듈을 설치합니다.

    1
    2
    3
    4
    5
    6
    Running "get_build_props" task
    Running "clean:target" (clean) task
    Running "clean:build" (clean) task
    Running "require_css_deps:copy" task
    Warning: Unable to read "/<;YourPath>;/kibana/src/kibana/bower_components/require-css/css-builder.js" file (Error code: ENOENT). Use --force to continue.
    Aborted due to warnings.


    6. bower install

    1
    2
    npm install bower
    bower install


    TroubleShooting-2
    다음과 같은 메시지가 나올 경우 7번을 실행후 명령어를 실행합니다.

    1
    2
    3
    Additional error details:
    fatal: unable to connect to github.com:
    github.com[0: IP Address]: errno=Connection refused

    7. git 설정

    1
    git config --global url."https://".insteadOf git://

    8. grunt build

    Kibana 실행(Running)하기

    1. kibana.yml 설정파일 세팅

    1
    vim /yourpath/kibana/build/dist/kibana/config/kibana.yml

    2. kibana실행

    1
    2
    cd /yourpath/kibana/build/dist/kibana/bin
    ./kibana



    반응형

    댓글

Designed by Tistory.