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 | 31 |
Tags
- 오블완
- isNotEmpty
- docker
- 명령어
- analytics4
- 호이스팅
- oracle
- PostgreSQL
- SQL
- iBatis
- Kibana
- Python
- IntelliJ
- java
- github
- spring
- DBMS
- 리눅스
- Javascript
- mssql
- Linux
- pandas
- MongoDB
- 자바
- mysql
- 티스토리챌린지
- isempty
- git
- MariaDB
- pem
Archives
- Today
- Total
hanker
Logstash - Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 1, column 1 (byte 1)", 본문
DATABASE/ElasticSearch
Logstash - Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 1, column 1 (byte 1)",
hanker 2025. 3. 24. 01:28반응형
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 1, column 1 (byte 1)",
Logstash를 이용하여 MariaDB to ElasticSearch를 동기화하던 중 오류가 발생했다.
오류 로그를 읽어보면 첫 줄부터 오류가 발생했다고 한다.
첫 시작은 input, filter, output 중 하나여야 하는데, 아니여서 오류가 발생했다.
원인 | 설명 |
첫 줄에 input 블록 없음 | input { ... }로 시작하지 않음 |
공백/빈 줄/인코딩 문제 | UTF-8 BOM 포함, 특수문자, 줄바꿈 오류 |
input 위에 주석도 없음 | Logstash는 주석(#) 외 어떤 것도 허용하지 않음 |
파일 인코딩 문제 | Windows에서 저장한 파일이 UTF-8 BOM 포함되어 있음 |
파일이 비어 있음 | 오타 없이 내용이 없음 (또는 잘못된 경로) |
나는 input으로 시작해야하는데, nput으로 오타가 나서 나오는 문제였다.
반응형
'DATABASE > ElasticSearch' 카테고리의 다른 글
Logstash - 멀티 파이프라인 설정 (여러 테이블 데이터 수집) (0) | 2025.03.27 |
---|---|
Logstash - CentOS7 설치 및 실행 (로그 확인) (0) | 2025.03.26 |
ElasticSearch - 엘라스틱서치 버전 확인하기 (0) | 2025.03.25 |
ElasticSearch - Kibana 설치 및 실행 (elasticsearch 모니터링 도구, 시각화) CentOS7 (0) | 2025.03.21 |
ElasticSearch - 7.x 버전 CentOS7 설치 (0) | 2025.03.20 |