Hi my code works fine but i have small problem,i want show in kibana update number of connection in port 9080 put he don't let me to do that, cause of in visualize he want me to count or calculate average or sum when i really want message to be updated with real time connection on port 9080 in kibana, kindly advice me how to do that
input {
exec {
command => "netstat -antulp | grep 9080 | wc -l"
interval => 10
}
}
filter {
mutate {
convert => {
"message" => "integer"
}
}
}
output {
elasticsearch {
hosts => "localhost:9200"
index => "helloapache"
}
}