- elasticsearch version : 6.5.4
- database : oracle
- MSG : 000154190612홍길동
input {
jdbc {
jdbc_connect_string => "jdbc:oracle:thin:@xx.xx.xxx.xx:xxxxx/TEST"
jdbc_driver_class => "Java::oracle:jdbc.driver.OracleDriver"
jdbc_user => "xxxx"
jdbc_password => "xxxx"
statement => "select MSG from tb_test"
columns_charset => { "MSG" => "CP949" }
}
}
filter {
grok {
match => {
"MSG" => "(?< len:len:int >.{6})(?< date >.{6})(?< name >.{20})" ]
}
}
}
output {
stdout{
codec => "rubydebug"
}
elasticsearch {
index => "ilog_test_01"
document_type => "_doc"
}
}
위와같이 설정하였는데,
filter가 적용되지 않고, 통 string으로 입력되었습니다.
한글이 깨져서 filter 적용이 되지 않는건지,
한글 filtering을 위해
추가적으로 어떤 셋팅을 해야 되는지 궁금합니다
I have set up as above,
The filter is not applied and is entered as a string.If the Hangul is broken and the filter is not applied,
For Hangul filtering
I wonder what settings I need to add.