We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ 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_path=>"/usr/local/Cellar/logstash/7.4.2/libexec/data/plugins/inputs/file/.sincedb_49f060dbb414f0ccfa3b1c28b4533a3b"
$ 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 생성
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
ex) $ curl -XGET http://localhost:9200/clasess?pretty
$ 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 생성
bulk ( 여러개의 document 를 한번의 엘라스틱 서치에 삽입 )
mapping ( 관계형 데이터 베이스에서 스키마와 동일 )
메트릭 어그리게이션 ( 엘라스틱안에 있는 도큐먼트 안에서 조합을 통해서 결과 도출 / 산술연산할때 )
버켓 어그리게이션 ( 엘라스틱안에 있는 도큐먼트 안에서 조합을 통해서 결과 도출 / Group By)
Practice
basic concepts
The text was updated successfully, but these errors were encountered: