엘라스틱검색
-
elasticsearch 2.3 - server ip 주소에 Connection refused 에러프로그래밍/검색 2016. 8. 3. 23:33
localhost:port에는 접속이 되면서 ip address:port로는 접속이 되지 않는 이슈 발생 # curl real_IP_Address:9200curl: (7) Failed to connect to real_IP_Address port 9200: Connection refused# curl localhost:9200{ "name" : "Wrath", "cluster_name" : "****", "version" : { "number" : "2.3.2", "build_hash" : "****", "build_timestamp" : "2016-04-21T16:03:47Z", "build_snapshot" : false, "lucene_version" : "5.5.0" }, "tagline" : "..
-
elasticsearch 시작하기 - slowlog 사용하기프로그래밍/검색 2016. 6. 26. 18:16
엘라스틱 검색에서 실제 쿼리로 들어온 질의를 보고 싶으면 아래와 같이 con/elasticsearch.yml에 slowlog설정을 한다. 로그 레벨 별로 로그를 남길 응답 속도의 기준을 설정할 수 있다. 로그 레벨은 warn, info, debug, trace로 정의 되어 있다. index.search.slowlog.threshold.query.warn: 10sindex.search.slowlog.threshold.query.info: 5sindex.search.slowlog.threshold.query.debug: 2sindex.search.slowlog.threshold.query.trace: 500ms index.search.slowlog.threshold.fetch.warn: 1sindex.sea..
-
리눅스에 kibana 4.1.2 설치하기프로그래밍/검색 2016. 1. 1. 20:02
elasticsearch도 설치했으니 이제 키바나 4.1.2을 설치하려고 한다. 키바나 4.1 버전은 elasticsearch 1.4.4 를 포함한 이 후 버전에서만 사용할 수 있으니 참고하자. 키바나 다운로드 사이트 바로가기 운영체제에 맞게 LINUX 64-BIT 나 32-BIT를 클릭한다. 연결된 다운로드 사이트에서 나오는 url을 wget으로 받은후 압축을 푼다. # wget https://download.elastic.co/kibana/kibana/kibana-4.1.2-linux-x64.tar.gz--2015-10-15 18:10:30-- https://download.elastic.co/kibana/kibana/kibana-4.1.2-linux-x64.tar.gzResolving downloa..