키바나에서 검색 결과를 CSV로 익스포트 해보니 text 필드와 동일한 keyword 필드가 같이 생성되고 있는데요. (ex. csv 익스포트시 abcd 라는 text필드와 abcd 라는 keyword 필드가 같이 익스포트 됨) keyword 필드와 text 필드가 중복으로 익스포트 되지 않게 하는 옵션 설정이 있을까요?
Hi @Resso_J,
Welcome! I'm not sure which version of Kibana you are using, but you should be able to select the columns you want to include from the Discover page:
Hope that helps!
@carly.richmond Available fields 를 선택하지 않고 csv에서 제외되는 방법을 알고 싶습니다. 현재 사용중인 ELK의 버전은 8.18.2 입니다.
Ok, if you don't want to use available fields there are a couple of alternatives:
- Script it, specifying the fields you want to output using the
source
attribute as covered in this Stack Overflow thread. - You could also try using curl and jq as covered here
- I've not tried this, but you could see if a tool such as elasticsearch-dump can help you export to CSV with only the fields you need.
- Use the Logstash CSV output plugin, specifying the
fields
option.
Hope that helps!