Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting #2

Open
WonYong-Jang opened this issue May 1, 2019 · 0 comments
Open

Setting #2

WonYong-Jang opened this issue May 1, 2019 · 0 comments

Comments

@WonYong-Jang
Copy link
Owner

WonYong-Jang commented May 1, 2019

Setting

$ brew install elasticsearch

$ brew install kibana

$ elasticsearch // start
=> localhost:9200 // if you can access it, you complete download.

$ kibana // start
=> localhost:5601
( /usr/local/etc/kibana/kibana.yml ) // 설정 경로

$ brew install logstash

( / usr / local / Cellar / logstash / {version} / bin / logstash ) // 설치 경로!
/usr/local/Cellar/logstash/{version}/libexec/bin // syslog.conf

bin/logstash-plugin update 꼭해주기!!

$ brew tap elastic/tap
$ brew install elastic/tap/filebeat-full

sincedb 경로

sincedb_path=>"/usr/local/Cellar/logstash/7.4.2/libexec/data/plugins/inputs/file/.sincedb_49f060dbb414f0ccfa3b1c28b4533a3b"

CRUD

$ curl -XGET http://localhost:9200/clasess ==> index 확인 ( 주소 / index name(clasess) )
$ curl -XPUT http://localhost:9200/clasess ==> index 생성
$ curl -XDELETE http://localhost:9200/clasess ==> index 삭제

$ curl -XPOST http://localhost:9200/classes/class/1/ - d ' // ( 주소 / index 명/ 타입명/ id)
{"title": "algorithm", "professor" : "john"}' -H 'Content-Type: application/json'

==> document 생성

  • update ( document 업데이트 )

bulk ( 여러개의 document 를 한번의 엘라스틱 서치에 삽입 )

mapping ( 관계형 데이터 베이스에서 스키마와 동일 )

메트릭 어그리게이션 ( 엘라스틱안에 있는 도큐먼트 안에서 조합을 통해서 결과 도출 / 산술연산할때 )

  • 최대, 최소, 평균...

버켓 어그리게이션 ( 엘라스틱안에 있는 도큐먼트 안에서 조합을 통해서 결과 도출 / Group By)

  • Group 지어서 결과값 도출

Practice

  • Click the dev Tools menu of kibana

basic concepts

@WonYong-Jang WonYong-Jang changed the title SVN 서버 Setting Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant