onlybooks / elasticstack Goto Github PK
View Code? Open in Web Editor NEW엘라스틱 스택 개발부터 활용까지
엘라스틱 스택 개발부터 활용까지
https://www.elastic.co/guide/en/elasticsearch/reference/current/number.html
-32.768 ~ 32.767이 아니라
-32,768 ~ 32,767 입니다.
전문, 용어 수준 쿼리 예제로 "query" 가 빠져있습니다.
GET qindex/_search
{
"query": {
"match": {
"contents": "elastic world"
}
}
}
float과 double이 바뀐 것 같네요.
안녕하십니까
책 엘라스틱 개발부터 운영까지 구매하여 잘 보고 있는 독자입니다.
책을 통해 실습을 하던 중 오류가 있어서 문의드립니다.
p.98 - 2부 - 엘라스틱 스택 구성요소에서 bulk_index2 파일을 만든 후,
curl을 이용한 벌크 요청 명령어를 수행하면 오류가 납니다.
curl -H "Content-Type: application/x-ndjson" -XPOST localhost:9200/_bulk --data-binary "@./bulk_index2";
위처럼 해도 오류가 나고
curl -H "Content-Type: application/x-ndjson" -XPOST localhost:9200/_bulk --data-binary @./bulk_index2;
위처럼 @./bulk_index2에 ""를 제거해도 오류가 납니다.
Warning: Couldn't read data from file "./bulk_index2;", this makes an empty
Warning: POST.
{"error":{"root_cause":[{"type":"parse_exception","reason":"request body is required"}],"type":"parse_exception","reason":"request body is required"},"status":400}
이런 오류메세지가 뜹니다.
어떤 부분이 잘못된 건가요?
감사합니다.
73p 그림 2.9 → 그림 2.10
정말 별거 아니지만, 185page에 my_agg -> my_aggs 그냥 s가 하나 빠졌네요.
그리고 210page에 sum_backet -> sum_bucket 도 오타가 있어서 추후 사소한 오타 개정을 하시게 된다면 조금이라도 도움이 되고자 말씀드려봅니다ㅎㅎ;
github 코드를 그대로 복사해서 실행시켜도 _grokparsefailure 가 났습니다.
대괄호처리에 대한 부분을 넣었더니 정상적으로 나왔는데요.
해당부분의 누락이 수정되어야 하는 부분은 아닌지 다른 독자들을 위해 점검해주셨으면 합니다.
책 & github 코드
match => { "message" => "%{MY_TIMESTAMP:timestamp} * \[%{DATA:id}\] %{IP:ip} %{NUMBER:port:int} \[%{LOGLEVEL:level}\] \- %{DATA:msg}\."}
수정코드
match => { "message" => "\[%{MY_TIMESTAMP:timestamp}\] * \[%{DATA:id}\] %{IP:ip} %{NUMBER:port:int} \[%{LOGLEVEL:level}\] \- %{DATA:msg}\."}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.