Hi,
For some reason that i dont get the follow input creates twice less the size(27KB) on the created index in elastic:
output {
if "ArpTable" in [tags] {
elasticsearch {
hosts => ["x"]
action => "index"
index => "arp-table"
}
}
stdout {codec => rubydebug}
}
While if i delete the if statement the size of the index will increase twice (62KB):
output {
elasticsearch {
hosts => ["x"]
action => "index"
index => "arp-table"
}
stdout {codec => rubydebug}
}
what is the reason for it?
Edit: Solved - larger index had more shards
