Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- DSL
- elasticsearch
- configure
- typescript
- venv
- airflow
- ELK
- devtools
- 7.7.1
- filebeat
- windows
- package.json
- elastic
- dense_vector
- json
- Crontab
- KoA
- PYTHON
- framework
- query
- node.js
- OPCUA
- Data Engineering
- kibana
- logstash
- ubuntu
- path.data
- CSV
- Tutorial
- grok
Archives
- Today
- Total
Gibbs Kim's playground
[ElasticStack-14] Logstash path.data setting 본문
로그스태시로 데이터를 인덱싱할때 주로 다음과 같은 명령어를 사용한다.
## If file name of .conf is test.conf, typing like below.
LOGSTASH_HOME/bin> ./logstash -f test.conf
이때 다음과 같은 에러가 발생할 수 있다.
> Logstash could not be started because there is already another instance using the configured data
directly. If you wish to run multiple instances, you must change the "path.data" setting.
의미는 대략, 데이터를 인덱싱하기에 이미 다른 instance가 사용중이라는 건데, '/config/logstash.yml'의 설정을 건드려주면 해결이 된다.
### logstash.yml에서 path.data: 항목을 찾으면 됩니다
#path.data: ### 초기 설정값
path.data: '인덱싱할 raw data가 있는 위치'
'Tech 기록지 > Elastic Stack' 카테고리의 다른 글
[ElasticStack-16] Terms query & Aggregation (sum, avg) (0) | 2020.06.12 |
---|---|
[ElasticStack-15] Logstash Grok filtering (0) | 2020.06.11 |
[ElasticStack-13] ELK operating on background (on Linux) (0) | 2020.06.09 |
[ElasticStack-12] jdk download with wget command on Linux (0) | 2020.06.05 |
[ElasticStack-11] Elasticsearch 외부 접속 on (Windows & Linux) (0) | 2020.06.04 |