Hi guys
I configured my logstash to input plugin from file and send to elasticsearch. my file directory is recursive and number of file is about 500k in recursive directories and each file is average 2 MB.
logstash startup is very slow and after start it dose not send any data to Elasticsearch.
where i made mistake?
config file:
input {
file {
path => "/home/test/data/main/**/**/**/**/*"
start_position => "beginning"
codec => "json"
sincedb_path => "/opt/elastic/.sincedb_tg_comp_1"
close_older => 10
}
}
output {
elasticsearch {
hosts => ["192.168.20.110:9200"]
index => "test_logstash"
}
}
in path section for input plugin i used /home/test/data/main/**/* too. but no diffrence