Hi all
I have design this structure for my enterprise network with more than 280 server :
Logstash(1)===>Docker (Redis)=====>Logstash(2)=======>Elasticsearch(Clustre)
my config is as follow :
logstash1 :
input {
beats {
port => "5044"
type => "win-log-test"
}
syslogt {
port => "5514"
type => "syslog"
}
}
output {
redis{
host => "172.24.36.20"
data_type =>"list"
key => "sadra"
}
}
Logstash2
input {
redis {
host => "172.24.36.20"
type => "redis-input"
data_type => "list"
key => "sadra"
}
}
output {
elasticsearch {
hosts => [ "172.24.36.27" ]
index => "dnswinlog-%{+YYYY.MM.dd}"
}
}
now I collect log from more than 200 windows but I need to send each window's Log to separate shard ( or anything like shard maybe I am mistake in shard ) in elastic
now This system collect log from all windows and store them in one daily shard but I want to put them in seperate shard and seperate day.
thanks