简体   繁体   English

将Cloudwatch EC2服务器运行状况监控纳入ElasticSearch

[英]Getting Cloudwatch EC2 server health monitoring into ElasticSearch

I have an AWS account, and have several EC2 servers and an ElasticSearch domain set up to take the syslogs from these servers. 我有一个AWS帐户,并有几台EC2服务器和一个ElasticSearch域,该域设置为从这些服务器获取系统日志。 However, in Cloudwatch and when investigating a specific server instance in the EC2 control panel, I see specific metrics and graphs for things like CPU, memory load, storage use, etc. Is there some way I can pipe this information into my ElasticSearch as well? 但是,在Cloudwatch中,当在EC2控制面板中调查特定的服务器实例时,我看到了诸如CPU,内存负载,存储使用等情况的特定指标和图表。是否有某种方法可以将这些信息也传递到我的ElasticSearch中?

Set up Logstash and use this plugin https://github.com/EagerELK/logstash-input-cloudwatch 设置Logstash并使用此插件https://github.com/EagerELK/logstash-input-cloudwatch

Or go the other way and use AWS Logs agent to put your syslogs into Cloudwatch and stop using ElasticSearch 或者以其他方式使用AWS Logs代理将您的系统日志放入Cloudwatch中并停止使用ElasticSearch

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM