분류 전체보기136 Electron - File Handling Electron - File Handling Electron - File Handlingmain.jsviews.jsindex.htmlbower_components (BootStrap) main.jsxconst {app, BrowserWindow } = require('electron')const url = require('url')const path = require('path')let winfunction createWindow() { win = new BrowserWindow({ width : 1200, height : 800 }) win.loadURL(url.format ( { pathname : path.join(__dirname, 'index.html'), protocol : 'file:'.. 2018. 9. 7. logstash - Windows환경에서 logstash - Windows환경에서 logstash - Windows환경에서x./bin/logstash.bat -f simple-logstash.conf `simple-logstash.conf``xxxxxxxxxxinput { stdin { } }output { elasticsearch { hosts => ["localhost:9200"] } stdout { codec => rubydebug }}Configuring Logstash apply라고 입력하니"message"에서 "apply\r"이 나오는 것을 확인할 수 있다.xxxxxxxxxx[2018-09-06T22:36:56,819][INFO ][logstash.agent ] Successfully started Logstash API endpo.. 2018. 9. 7. Kibana - Visualization ELASTIC KIBANA ERROR curl's manpage explicitly describes one difference between curl's --data/--data-ascii and --data-binary options; namely, that when the @filename syntax is used to make curl read data from a file, --data will strip newlines from the file but --data-binary will not. --data-binary can only be reasonably interpreted to mean that there are certain 'conversions' besides newline re.. 2018. 9. 5. Elastic Search - Bucket Aggregation Elastic Search - Bucket Aggregation Elastic Search - Bucket Aggregation Aggregation은 Elastic Search에서갖고있는 Document들 중에서 어떠한 값을 조합해서 나타내는 것 Bucket Aggregation은 Group by와 같다고 보면된다. xxxxxxxxxxcurl -XGET localhost:9200/record/_mapping?pretty --data-binary @basketball_mapping.json -H "Content-Type:application/json" basketball_mapping.jsonxxxxxxxxxx{ "record" : { "properties" : { "team" : { "type" : ".. 2018. 9. 1. 이전 1 ··· 16 17 18 19 20 21 22 ··· 34 다음 반응형