Apache NiFi 연습 - PutElasticsearchHttp(2) 로그파일 넣기


Apache NiFi 연습 - PutElasticsearchHttp(2) 로그파일 넣기

PutElasticsearchHttp 에 로그파일 넣기이번에는 Fake-Apache_Log-Generator-master로 생성한 로그파일을 TailFile 프로세서로 읽어서 elasticsearch에 넣는 Flow를 실습해본다.....1. Fake-Apache_Log-Generator-master로 로그생성2. TailFile Processor 생성 및 configuration File(s) to Tail 필드값에 log파일경로를 적어준다 3. AttributeToJSON Processor 생성 및 configuration putElasticsearchHttp할때 계속 에러가 났었는데...여기서 Destination을 'flowfile-content'로 해주는게 핵심이었다 저 값을 'flowfile-attribute'가 아닌 'flowfile-content'로 바꿔..........



원문링크 : Apache NiFi 연습 - PutElasticsearchHttp(2) 로그파일 넣기