简体   繁体   English

如何可视化AWS Elastic Beanstalk应用程序日志

[英]How to visualize AWS Elastic Beanstalk application logs

We are using AWS Elastic Beanstalk for deploying application. 我们正在使用AWS Elastic Beanstalk来部署应用程序。 Currently we have two Elastic Beanstalk applications and two worker processes (that pick message from AWS SQS Queue and process it). 当前,我们有两个Elastic Beanstalk应用程序和两个工作进程(用于从AWS SQS Queue中选择消息并对其进行处理)。

What can be the best tools to view the combine logs from the Elastic Beanstalk application and worker and a few more on-premise applications in future? 将来,最好的工具是什么,以查看来自Elastic Beanstalk应用程序和工作器以及更多内部部署应用程序的合并日志?

将日志放入AWS ElasticSearch中,并使用ElasticSearch随附的Kibana对其进行可视化。

I used the suggestion and configured Cloud watch logs, Elastic Search, and Kibana; 我使用了建议并配置了Cloud Watch日志,Elastic Search和Kibana; but i am not getting all logs and all insights. 但是我没有得到所有日志和所有见解。 I can see httpd access & error logs, ebs access & error logs. 我可以看到httpd访问和错误日​​志,ebs访问和错误日​​志。 It also seems lot of AWS services and configuration. 似乎还有许多AWS服务和配置。 Since I am very new to AWS; 由于我对AWS非常陌生; therefore, so I am facing trouble in setting things up 因此,所以我在设置方面面临麻烦

Alternatively as suggested by my boss, I tried "New relic" - It was very simple to configure and I can see lot of insights of my EBS application in "New Relic" console. 或者,按照老板的建议,我尝试了“ New relic”-配置非常简单,并且可以在“ New Relic”控制台中看到许多有关EBS应用程序的见解。 I can also configure my Browser, iOS app, Android app, AWS infrastructure (AWS Services) in one New Relic console. 我还可以在一个New Relic控制台中配置浏览器,iOS应用程序,Android应用程序,AWS基础设施(AWS服务)。 Some details are missing in New Relic console such error stack trace, request params in POST request, and so on; New Relic控制台中缺少一些详细信息,例如错误堆栈跟踪,POST请求中的请求参数等等。 But I also don't want to share such details with New Relic, so, that is ok. 但是我也不想与New Relic分享这些细节,所以没关系。

I will use "New Relic" and Cloudwatch logs (for real time investigation into failing HTTP REST services) right now; 我现在将立即使用“ New Relic”和Cloudwatch日志(用于实时调查失败的HTTP REST服务); but I will explore more options inside AWS: Elastic Search and Kibana 但我将在AWS内部探索更多选项:Elastic Search和Kibana

Many Thanks 非常感谢

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

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