最近,我尝试使用Metricbeat和collectd来收集每秒的网络I/O,但所有这些程序都会给我一个累积的数据。我也尝试过ntopng,它很好,给了我必要的数据,但它每5分钟发送一次数据,这是一个很大的周期。那么,对于如何使用ELK监控网络I/O,有什么建议吗?或者如何在ntopng中更改向ES发送数据的周期?
提前谢谢。
发布于 2016-12-22 16:31:37
kibana timelion不能用于从collectd或metricbeat获取网络吞吐量。
例如用于集合of的timelion查询:
.es(index=collectd*, q="plugin:\"interface\" AND if_octets", metric="avg:tx", timefield="@timestamp").divide(1000).fit(carry).derivative().fit(average)这将产生图形:Network output Mbytes per interval configured at collectd
同样的情况也适用于metricbeat:
.es(index=metricbeat*, q="network",metric="avg:system.network.out.bytes", timefield="@timestamp").divide(1000).fit(carry).derivative().fit(average)如果需要查询某个特定的接口或主机,只需更新查询即可。
有关timelion查询语法is here的更多信息。
https://stackoverflow.com/questions/39748561
复制相似问题