티스토리 뷰
ELK
ScriptException[scripts of type [inline], oper ation [update] and lang [groovy] are disabled] 오류
✨✨✨✨✨✨✨ 2021. 5. 2. 22:30반응형
1. 문제 :
url -X POST "localhost:9200/classes/class/1/_update?pretty" -d '{"script": "ctx._source.unit+=1"}' 위 명령문 입력 시 아래와 같은 오류
ScriptException[scripts of type [inline], oper ation [update] and lang [groovy] are disabled]
2. 원인 : elasticSearch 보안 문제 오류
3. 해결 :
#elasticSearch/config/elasticsearch.yml 생성
touch ~/config/elasticsearch.yml
# 해당 파일에 아래 내용 넣기
script.engine.groovy.inline.aggs: on
script.engine.groovy.inline.update : on docker 재시작
다시명령문 치면 깔끔하게 생성됨^^!
반응형
'ELK' 카테고리의 다른 글
| 엘라스틱서치 데이터 입력 조회 삭제 (GET, POST, PUT, DELETE) (1) | 2021.05.02 |
|---|
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Vue
- ApplicationContext
- 람다
- JPA
- Vuex
- 스트림
- NPM
- map
- elasticsearch
- BeanFactory
- nginx
- install
- MAC
- ngnix
- 차이
- container
- 중간연산
- lambda
- webpack
- mvn
- java
- 영속성 컨텍스트
- stream
- AnnotationConfigApplicationContext
- 최종연산
- Intellij
- docker
- 자바8
- vscode
- springboot
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함