logstash_01 / json
ELK/elasticsearch2019. 10. 19. 13:36
input {
stdin {}
}
filter {
json {
source => "message"
}
mutate {
remove_field => ["path", "@version", "message", "host", "@timestamp"]
}
}
output {
stdout {
codec => rubydebug { }
}
elasticsearch {
hosts => "192.168.240.183:9200"
index => "kim"
document_type => "_doc"
}
}
'ELK > elasticsearch' 카테고리의 다른 글
python + elasticsearch : csv => bulk json 변환 (0) | 2019.10.23 |
---|---|
elasticsearch SSL 적용 connect code + python (0) | 2019.10.22 |
elasticsearch + java _api + match_all (0) | 2019.06.04 |
elasticsearch : count (0) | 2019.05.21 |
elasticsearch + shell01 (0) | 2019.05.11 |